[brasero] Small fix for previous change



commit 7e5a5f94405b1e6a1852bc74458e550c65ccbaf4
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Fri Oct 9 21:03:26 2009 +0200

    Small fix for previous change
    We forgot to initialize one variable

 libbrasero-burn/brasero-caps-burn.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libbrasero-burn/brasero-caps-burn.c b/libbrasero-burn/brasero-caps-burn.c
index d2094c5..af7573f 100644
--- a/libbrasero-burn/brasero-caps-burn.c
+++ b/libbrasero-burn/brasero-caps-burn.c
@@ -508,6 +508,10 @@ brasero_burn_caps_new_task (BraseroBurnCaps *self,
 
 	/* determine the output and the flags for this task */
 	brasero_burn_session_get_output_type (session, &output);
+	if (brasero_track_type_get_has_medium (&output))
+		media = brasero_track_type_get_medium_type (&output);
+	else
+		media = BRASERO_MEDIUM_FILE;
 
 	if (BRASERO_BURN_SESSION_NO_TMP_FILE (session))
 		flags = BRASERO_PLUGIN_IO_ACCEPT_PIPE;



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