[brasero] Fix a problem preventing burning video DVD properly (introduced by late changes)



commit a8a7ff9ec0411737f2a96466e6ba5ffd5711e2e7
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sun Dec 6 13:09:18 2009 +0100

    Fix a problem preventing burning video DVD properly (introduced by late changes)

 libbrasero-burn/brasero-caps-session.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-burn/brasero-caps-session.c b/libbrasero-burn/brasero-caps-session.c
index 76ac4c6..14db2e7 100644
--- a/libbrasero-burn/brasero-caps-session.c
+++ b/libbrasero-burn/brasero-caps-session.c
@@ -1604,7 +1604,11 @@ brasero_caps_get_flags_for_disc (BraseroBurnCaps *self,
 			supported_flags &= ~BRASERO_BURN_FLAG_RAW;
 	}
 	else if (brasero_track_type_get_has_stream (input)) {
-		if (brasero_track_type_get_stream_format (input) & BRASERO_METADATA_INFO) {
+		BraseroStreamFormat format;
+
+		format = brasero_track_type_get_stream_format (input);
+		if (!(format & BRASERO_METADATA_INFO)
+		&&   BRASERO_STREAM_FORMAT_VIDEO (format)) {
 			/* In this case, DAO is compulsory if we want to write CD-TEXT */
 			if (supported_flags & BRASERO_BURN_FLAG_DAO)
 				compulsory_flags |= BRASERO_BURN_FLAG_DAO;



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