brasero r1833 - in trunk: . src/plugins/transcode



Author: philippr
Date: Tue Jan 27 20:26:20 2009
New Revision: 1833
URL: http://svn.gnome.org/viewvc/brasero?rev=1833&view=rev

Log:
2009-01-27  Philippe Rouquier  <ykw localhost localdomain>

	Add some more errors strings to catch #564169 â Brasero can't burn a video DVD from file or project

	* src/plugins/transcode/burn-vob.c (brasero_vob_export_caps):


Modified:
   trunk/ChangeLog
   trunk/src/plugins/transcode/burn-vob.c

Modified: trunk/src/plugins/transcode/burn-vob.c
==============================================================================
--- trunk/src/plugins/transcode/burn-vob.c	(original)
+++ trunk/src/plugins/transcode/burn-vob.c	Tue Jan 27 20:26:20 2009
@@ -1180,23 +1180,35 @@
 
 	/* Let's see if we've got the plugins we need */
 	element = gst_element_factory_make ("ffenc_mpeg2video", NULL);
-	if (!element)
+	if (!element) {
+		*error = g_strdup_printf (_("%s element could not be created"),
+					  "\"ffenc_mpeg2video\"");
 		return BRASERO_BURN_ERR;
+	}
 	gst_object_unref (element);
 
 	element = gst_element_factory_make ("ffenc_ac3", NULL);
-	if (!element)
+	if (!element) {
+		*error = g_strdup_printf (_("%s element could not be created"),
+					  "\"ffenc_ac3\"");
 		return BRASERO_BURN_ERR;
+	}
 	gst_object_unref (element);
 
 	element = gst_element_factory_make ("ffenc_mp2", NULL);
-	if (!element)
+	if (!element) {
+		*error = g_strdup_printf (_("%s element could not be created"),
+					  "\"ffenc_mp2\"");
 		return BRASERO_BURN_ERR;
+	}
 	gst_object_unref (element);
 
 	element = gst_element_factory_make ("mplex", NULL);
-	if (!element)
+	if (!element) {
+		*error = g_strdup_printf (_("%s element could not be created"),
+					  "\"mplex\"");
 		return BRASERO_BURN_ERR;
+	}
 	gst_object_unref (element);
 
 	brasero_plugin_define (plugin,



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