brasero r756 - in trunk: . src/plugins/cdrkit



Author: philippr
Date: Tue Apr 22 12:35:00 2008
New Revision: 756
URL: http://svn.gnome.org/viewvc/brasero?rev=756&view=rev

Log:
	Don\'t error out for clone image types when DAO is set simply ignore it

	* src/plugins/cdrkit/burn-wodim.c (brasero_wodim_set_argv_record):

Modified:
   trunk/ChangeLog
   trunk/src/plugins/cdrkit/burn-wodim.c

Modified: trunk/src/plugins/cdrkit/burn-wodim.c
==============================================================================
--- trunk/src/plugins/cdrkit/burn-wodim.c	(original)
+++ trunk/src/plugins/cdrkit/burn-wodim.c	Tue Apr 22 12:35:00 2008
@@ -715,7 +715,7 @@
 				g_ptr_array_add (argv, g_strdup ("-"));
 			}
 			else
-				BRASERO_JOB_NOT_SUPPORTED (wodim);;
+				BRASERO_JOB_NOT_SUPPORTED (wodim);
 		}
 		else if (type.type == BRASERO_TRACK_TYPE_AUDIO) {
 			/* now set the rest of the arguments */
@@ -818,8 +818,10 @@
 			if (!rawpath)
 				BRASERO_JOB_NOT_READY (wodim);
 
-			if (flags & BRASERO_BURN_FLAG_DAO)
-				return BRASERO_BURN_ERR;
+			/* NOTE: we ignore DAO flag on purpose since it isn't
+			 * implemented yet. Don't error out since there is no
+			 * way for us to tell that we don't support this flag
+			 * for this specific input. */
 
 			g_ptr_array_add (argv, g_strdup ("fs=16m"));
 			g_ptr_array_add (argv, g_strdup ("-raw96r"));



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