[brasero] Have audio2cue set the size of the image



commit 1c0ddcf39759dc31db699180b73dedf05288ca0c
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Nov 25 12:37:43 2009 +0100

    Have audio2cue set the size of the image

 plugins/audio2cue/burn-audio2cue.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/audio2cue/burn-audio2cue.c b/plugins/audio2cue/burn-audio2cue.c
index b8cfaff..e078e3b 100644
--- a/plugins/audio2cue/burn-audio2cue.c
+++ b/plugins/audio2cue/burn-audio2cue.c
@@ -131,10 +131,14 @@ static gboolean
 brasero_audio2cue_create_finished (gpointer user_data)
 {
 	gchar *toc = NULL;
+	goffset blocks = 0;
 	gchar *image = NULL;
 	BraseroTrackImage *track;
 
 	track = brasero_track_image_new ();
+
+	brasero_job_get_session_output_size (user_data, &blocks, NULL);
+	brasero_track_image_set_block_num (track, blocks);
 	brasero_job_get_image_output (user_data,
 				      &image,
 				      &toc);



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