brasero r1003 - in trunk: . src



Author: philippr
Date: Wed Jul 16 14:05:10 2008
New Revision: 1003
URL: http://svn.gnome.org/viewvc/brasero?rev=1003&view=rev

Log:
	Removed a warning dialog for video projects

	* src/burn.c (brasero_burn_lock_dest_media):

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

Modified: trunk/src/burn.c
==============================================================================
--- trunk/src/burn.c	(original)
+++ trunk/src/burn.c	Wed Jul 16 14:05:10 2008
@@ -877,7 +877,10 @@
 		/* NOTE: no need to error out here since the only thing
 		 * we are interested in is if it is AUDIO or not or if
 		 * the disc we are copying has audio tracks only or not */
-		if (input.type == BRASERO_TRACK_TYPE_AUDIO) {
+		if (input.type == BRASERO_TRACK_TYPE_AUDIO
+		&& !(input.subtype.audio_format & (BRASERO_VIDEO_FORMAT_UNDEFINED|
+						   BRASERO_VIDEO_FORMAT_VCD|
+						   BRASERO_VIDEO_FORMAT_VIDEO_DVD))) {
 			result = brasero_burn_emit_signal (burn, WARN_REWRITABLE_SIGNAL, BRASERO_BURN_CANCEL);
 			if (result != BRASERO_BURN_OK)
 				goto end;



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