[brasero] If brasero_burn_session_can_* are set not to check flags, don't check BRASERO_BURN_FLAG_NO_TMP_FILE
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] If brasero_burn_session_can_* are set not to check flags, don't check BRASERO_BURN_FLAG_NO_TMP_FILE
- Date: Sun, 1 Nov 2009 21:01:27 +0000 (UTC)
commit 406c7753f38b3d1b2bf9418dbc227db75e69a021
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun Nov 1 20:48:03 2009 +0100
If brasero_burn_session_can_* are set not to check flags, don't check BRASERO_BURN_FLAG_NO_TMP_FILE
libbrasero-burn/brasero-caps-session.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/libbrasero-burn/brasero-caps-session.c b/libbrasero-burn/brasero-caps-session.c
index 2eb7adb..37b2120 100644
--- a/libbrasero-burn/brasero-caps-session.c
+++ b/libbrasero-burn/brasero-caps-session.c
@@ -541,13 +541,17 @@ brasero_caps_find_link_set_ctx (BraseroBurnSession *session,
{
ctx->input = input;
- if (ctx->check_session_flags)
+ if (ctx->check_session_flags) {
ctx->session_flags = brasero_burn_session_get_flags (session);
- if (BRASERO_BURN_SESSION_NO_TMP_FILE (session))
- ctx->io_flags = BRASERO_PLUGIN_IO_ACCEPT_PIPE;
+ if (BRASERO_BURN_SESSION_NO_TMP_FILE (session))
+ ctx->io_flags = BRASERO_PLUGIN_IO_ACCEPT_PIPE;
+ else
+ ctx->io_flags = BRASERO_PLUGIN_IO_ACCEPT_FILE;
+ }
else
- ctx->io_flags = BRASERO_PLUGIN_IO_ACCEPT_FILE;
+ ctx->io_flags = BRASERO_PLUGIN_IO_ACCEPT_FILE|
+ BRASERO_PLUGIN_IO_ACCEPT_PIPE;
if (!ctx->callback)
ctx->ignore_plugin_errors = (brasero_burn_session_get_strict_support (session) == FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]