brasero r770 - in trunk: . src



Author: philippr
Date: Thu Apr 24 08:15:20 2008
New Revision: 770
URL: http://svn.gnome.org/viewvc/brasero?rev=770&view=rev

Log:
	Fix for #518583 â Incorretcly adding .bin to wav filename listed in toc
	we were using URIs instead of paths
	(backportable)

	* src/burn-track.c (brasero_track_get_image_source):

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

Modified: trunk/src/burn-track.c
==============================================================================
--- trunk/src/burn-track.c	(original)
+++ trunk/src/burn-track.c	Thu Apr 24 08:15:20 2008
@@ -852,14 +852,17 @@
 	if (!image->image) {
 		gchar *complement;
 		gchar *retval;
+		gchar *toc;
 
 		if (!image->toc) {
 			BRASERO_BURN_LOG ("Image nor toc were set");
 			return NULL;
 		}
 
-		complement = brasero_image_format_get_complement (track->type.subtype.img_format, 
-								  image->toc);
+		toc = brasero_track_get_localpath (image->toc);
+		complement = brasero_image_format_get_complement (track->type.subtype.img_format, toc);
+		g_free (toc);
+
 		if (!complement) {
 			BRASERO_BURN_LOG ("No complement could be retrieved");
 			return NULL;



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