brasero r1820 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1820 - in trunk: . src
- Date: Fri, 23 Jan 2009 20:13:29 +0000 (UTC)
Author: philippr
Date: Fri Jan 23 20:13:29 2009
New Revision: 1820
URL: http://svn.gnome.org/viewvc/brasero?rev=1820&view=rev
Log:
2009-01-23 Philippe Rouquier <ykw localhost localdomain>
Corrected a bug introduced by earlier patch:
brasero set BRASERO_BURN_FLAG_BURNPROOF almost unconditionnally which
blocked DVD+/-RW since these don't support burnproof.
* src/brasero-session-cfg.c
(brasero_session_cfg_add_drive_properties_flags),
(brasero_session_cfg_set_drive_properties):
Modified:
trunk/ChangeLog
trunk/src/brasero-session-cfg.c
Modified: trunk/src/brasero-session-cfg.c
==============================================================================
--- trunk/src/brasero-session-cfg.c (original)
+++ trunk/src/brasero-session-cfg.c Fri Jan 23 20:13:29 2009
@@ -297,21 +297,23 @@
&priv->supported,
&priv->compulsory);
}
- else if (BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_PLUS)
- || BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_RESTRICTED)
- || BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_PLUS_DL)) {
- /* This is a special case to favour libburn/growisofs
- * wodim/cdrecord for these types of media. */
- if (priv->supported & BRASERO_BURN_FLAG_MULTI) {
- brasero_burn_session_add_flag (BRASERO_BURN_SESSION (self), flag);
-
- priv->supported = BRASERO_BURN_FLAG_NONE;
- priv->compulsory = BRASERO_BURN_FLAG_NONE;
- brasero_burn_caps_get_flags (priv->caps,
- BRASERO_BURN_SESSION (self),
- &priv->supported,
- &priv->compulsory);
- }
+ }
+
+ if (BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_PLUS)
+ || BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_RESTRICTED)
+ || BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_PLUS_DL)) {
+ /* This is a special case to favour libburn/growisofs
+ * wodim/cdrecord for these types of media. */
+ if (priv->supported & BRASERO_BURN_FLAG_MULTI) {
+ brasero_burn_session_add_flag (BRASERO_BURN_SESSION (self),
+ BRASERO_BURN_FLAG_MULTI);
+
+ priv->supported = BRASERO_BURN_FLAG_NONE;
+ priv->compulsory = BRASERO_BURN_FLAG_NONE;
+ brasero_burn_caps_get_flags (priv->caps,
+ BRASERO_BURN_SESSION (self),
+ &priv->supported,
+ &priv->compulsory);
}
}
@@ -430,7 +432,7 @@
BRASERO_BURN_FLAG_FAST_BLANK;
}
else if (!value) {
- /* Set sound defaults */
+ /* Set sound defaults. */
flags = BRASERO_BURN_FLAG_EJECT|
BRASERO_BURN_FLAG_BURNPROOF;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]