[brasero] Make sure CD-TEXT from .cue files gets properly written



commit 60113a125acf87d84c15a833a49b10e04e9e16da
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sat Nov 21 21:31:27 2009 +0100

    Make sure CD-TEXT from .cue files gets properly written

 plugins/cdrkit/burn-wodim.c      |    3 +++
 plugins/cdrtools/burn-cdrecord.c |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/plugins/cdrkit/burn-wodim.c b/plugins/cdrkit/burn-wodim.c
index cb914da..9a22351 100644
--- a/plugins/cdrkit/burn-wodim.c
+++ b/plugins/cdrkit/burn-wodim.c
@@ -977,6 +977,9 @@ brasero_wodim_set_argv_record (BraseroWodim *wodim,
 
 			g_ptr_array_add (argv, g_strdup ("fs=16m"));
 
+			/* This is to make sure the CD-TEXT stuff gets written */
+			g_ptr_array_add (argv, g_strdup ("-text"));
+
 			cue_str = g_strdup_printf ("cuefile=%s", cuepath);
 			g_ptr_array_add (argv, cue_str);
 			g_free (cuepath);
diff --git a/plugins/cdrtools/burn-cdrecord.c b/plugins/cdrtools/burn-cdrecord.c
index 62f4fb4..c28c93c 100644
--- a/plugins/cdrtools/burn-cdrecord.c
+++ b/plugins/cdrtools/burn-cdrecord.c
@@ -973,6 +973,9 @@ brasero_cdrecord_set_argv_record (BraseroCDRecord *cdrecord,
 
 			g_ptr_array_add (argv, g_strdup ("fs=16m"));
 
+			/* This is to make sure the CD-TEXT stuff gets written */
+			g_ptr_array_add (argv, g_strdup ("-text"));
+
 			cue_str = g_strdup_printf ("cuefile=%s", cuepath);
 			g_ptr_array_add (argv, cue_str);
 			g_free (cuepath);
@@ -1366,6 +1369,7 @@ brasero_cdrecord_export_caps (BraseroPlugin *plugin)
 					BRASERO_BURN_FLAG_NOGRACE|
 					BRASERO_BURN_FLAG_FAST_BLANK,
 					BRASERO_BURN_FLAG_NONE);
+
 	/* again DVD+RW don't support dummy */
 	brasero_plugin_set_blank_flags (plugin,
 					BRASERO_MEDIUM_DVDRW_PLUS|



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