brasero r1203 - in trunk: . src



Author: philippr
Date: Thu Aug 28 16:37:24 2008
New Revision: 1203
URL: http://svn.gnome.org/viewvc/brasero?rev=1203&view=rev

Log:
	Fix for #549570 â Can\'t burn audio CD when saving to disk first

	* src/burn-caps.c (brasero_caps_is_compatible_type):


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

Modified: trunk/src/burn-caps.c
==============================================================================
--- trunk/src/burn-caps.c	(original)
+++ trunk/src/burn-caps.c	Thu Aug 28 16:37:24 2008
@@ -294,6 +294,15 @@
 		break;
 
 	case BRASERO_TRACK_TYPE_AUDIO:
+		/* There is one small special case here with video. */
+		if ((caps->type.subtype.audio_format & (BRASERO_VIDEO_FORMAT_UNDEFINED|
+							BRASERO_VIDEO_FORMAT_VCD|
+							BRASERO_VIDEO_FORMAT_VIDEO_DVD))
+		&& !(type->subtype.audio_format & (BRASERO_VIDEO_FORMAT_UNDEFINED|
+						   BRASERO_VIDEO_FORMAT_VCD|
+						   BRASERO_VIDEO_FORMAT_VIDEO_DVD)))
+			return FALSE;
+
 		if ((caps->type.subtype.audio_format & type->subtype.audio_format) != type->subtype.audio_format)
 			return FALSE;
 		break;



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