brasero r1866 - in trunk: . src



Author: philippr
Date: Wed Feb  4 14:56:42 2009
New Revision: 1866
URL: http://svn.gnome.org/viewvc/brasero?rev=1866&view=rev

Log:
2009-02-04  Philippe Rouquier  <ykw localhost localdomain>

	* src/brasero-metadata.c (brasero_metadata_create_mp3_pipeline): Code cleanup


Modified:
   trunk/ChangeLog
   trunk/src/brasero-metadata.c

Modified: trunk/src/brasero-metadata.c
==============================================================================
--- trunk/src/brasero-metadata.c	(original)
+++ trunk/src/brasero-metadata.c	Wed Feb  4 14:56:42 2009
@@ -776,13 +776,7 @@
 	gst_bin_add (GST_BIN (priv->pipeline_mp3), sink);
 
 	/* Link */
-	if (!gst_element_link (source, parse)) {
-		g_object_unref (priv->pipeline_mp3);
-		priv->pipeline_mp3 = NULL;
-		return FALSE;
-	}
-
-	if (!gst_element_link (parse, sink)) {
+	if (!gst_element_link_many (source, parse, sink, NULL)) {
 		g_object_unref (priv->pipeline_mp3);
 		priv->pipeline_mp3 = NULL;
 		return FALSE;



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