brasero r903 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r903 - in trunk: . src
- Date: Fri, 20 Jun 2008 16:02:20 +0000 (UTC)
Author: philippr
Date: Fri Jun 20 16:02:20 2008
New Revision: 903
URL: http://svn.gnome.org/viewvc/brasero?rev=903&view=rev
Log:
Fix a problem with freshly formatted DVD+RW
* src/burn-medium.c (brasero_medium_get_sessions_info):
Modified:
trunk/ChangeLog
trunk/src/burn-medium.c
Modified: trunk/src/burn-medium.c
==============================================================================
--- trunk/src/burn-medium.c (original)
+++ trunk/src/burn-medium.c Fri Jun 20 16:02:20 2008
@@ -1886,7 +1886,8 @@
g_free (track);
priv->info |= BRASERO_MEDIUM_BLANK;
- priv->info &= ~BRASERO_MEDIUM_CLOSED;
+ priv->info &= ~BRASERO_MEDIUM_CLOSED|
+ BRASERO_MEDIUM_HAS_DATA;
}
else
priv->next_wr_add = 0;
@@ -1897,8 +1898,17 @@
priv->tracks = g_slist_reverse (priv->tracks);
if (BRASERO_MEDIUM_IS (priv->info, BRASERO_MEDIUM_DVDRW_PLUS)
- || BRASERO_MEDIUM_IS (priv->info, BRASERO_MEDIUM_DVDRW_RESTRICTED))
- brasero_medium_add_DVD_plus_RW_leadout (self, BRASERO_GET_32 (desc->track_start));
+ || BRASERO_MEDIUM_IS (priv->info, BRASERO_MEDIUM_DVDRW_RESTRICTED)) {
+ gint32 start;
+
+ /* It starts where the other one finishes */
+ if (priv->tracks)
+ start = BRASERO_GET_32 (desc->track_start);
+ else
+ start = 0;
+
+ brasero_medium_add_DVD_plus_RW_leadout (self, start);
+ }
else if (!(priv->info & BRASERO_MEDIUM_CLOSED)) {
BraseroMediumTrack *track;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]