[brasero] Fix the track type returned by brasero_burn_session_get_output_type () when it's an image



commit e6d4ebe42f8ac207f6d8e01d38800ab78c825b5e
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sat Oct 17 15:14:12 2009 +0200

    Fix the track type returned by brasero_burn_session_get_output_type () when it's an image

 libbrasero-burn/brasero-session.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libbrasero-burn/brasero-session.c b/libbrasero-burn/brasero-session.c
index 7c366c1..bd5799b 100644
--- a/libbrasero-burn/brasero-session.c
+++ b/libbrasero-burn/brasero-session.c
@@ -808,8 +808,8 @@ brasero_burn_session_get_output_type (BraseroBurnSession *self,
 		return BRASERO_BURN_NOT_READY;
 
 	if (brasero_drive_is_fake (priv->settings->burner)) {
-		output->type = priv->settings->output.type;
-		output->subtype.img_format = priv->settings->output.subtype.img_format;
+		output->type = BRASERO_TRACK_TYPE_IMAGE;
+		output->subtype.img_format = brasero_burn_session_get_output_format (self);
 	}
 	else {
 		output->type = BRASERO_TRACK_TYPE_DISC;



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