rhythmbox r6068 - in trunk: . backends/gstreamer



Author: jmatthew
Date: Tue Nov 18 12:15:06 2008
New Revision: 6068
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6068&view=rev

Log:
2008-11-18  Jonathan Matthew  <jonathan d14n org>

	* backends/gstreamer/rb-encoder-gst.c: (attach_output_pipeline):
	The stream sink needs the stream object when we're replacing an
	existing output file, not just when it doesn't already exist.


Modified:
   trunk/ChangeLog
   trunk/backends/gstreamer/rb-encoder-gst.c

Modified: trunk/backends/gstreamer/rb-encoder-gst.c
==============================================================================
--- trunk/backends/gstreamer/rb-encoder-gst.c	(original)
+++ trunk/backends/gstreamer/rb-encoder-gst.c	Tue Nov 18 12:15:06 2008
@@ -639,7 +639,9 @@
 				g_propagate_error (error, local_error);
 				return FALSE;
 			}
-		} else {
+		}
+
+		if (stream != NULL) {
 			g_object_set (sink, "stream", stream, NULL);
 		}
 	} else {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]