brasero r1657 - in trunk: . src



Author: philippr
Date: Fri Dec 26 19:49:01 2008
New Revision: 1657
URL: http://svn.gnome.org/viewvc/brasero?rev=1657&view=rev

Log:
2008-12-26  Philippe Rouquier  <ykw localhost localdomain>

	Some plugin like vcdimager advertize an output of 0 (they can't determine
	the size in advance) so create a temporary file for them too ...

	* src/burn-job.c (brasero_job_set_output_file):

Modified:
   trunk/ChangeLog
   trunk/src/burn-job.c

Modified: trunk/src/burn-job.c
==============================================================================
--- trunk/src/burn-job.c	(original)
+++ trunk/src/burn-job.c	Fri Dec 26 19:49:01 2008
@@ -574,8 +574,12 @@
 
 	/* If the plugin is not supposed to output anything, then don't test */
 	brasero_job_get_session_output_size (BRASERO_JOB (self), NULL, &output_size);
-	if (!output_size)
-		return BRASERO_BURN_OK;
+
+	/* This should be re-enabled when we make sure all plugins (like vcd)
+	 * don't advertize an output of 0 whereas it's not true. Maybe we could
+	 * use -1 for plugins that don't output. */
+	/* if (!output_size)
+		return BRASERO_BURN_OK; */
 
 	flags = brasero_burn_session_get_flags (session);
 	if (priv->type.type == BRASERO_TRACK_TYPE_IMAGE) {



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