brasero r1183 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1183 - in trunk: . src
- Date: Wed, 27 Aug 2008 08:40:04 +0000 (UTC)
Author: philippr
Date: Wed Aug 27 08:40:03 2008
New Revision: 1183
URL: http://svn.gnome.org/viewvc/brasero?rev=1183&view=rev
Log:
Fix #548547 â Can\'t burn/erase unformatted DVD-RW
* src/burn-caps.c (brasero_caps_disc_new_status):
Modified:
trunk/ChangeLog
trunk/src/burn-caps.c
Modified: trunk/src/burn-caps.c
==============================================================================
--- trunk/src/burn-caps.c (original)
+++ trunk/src/burn-caps.c Wed Aug 27 08:40:03 2008
@@ -3135,9 +3135,14 @@
{
if ((type & BRASERO_MEDIUM_BLANK)
&& !(media & BRASERO_MEDIUM_ROM)) {
- /* if media is blank there is no other possible property */
+ /* If media is blank there is no other possible property.
+ * BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_RESTRICTED)
+ * condition is checked but in fact it's never valid since
+ * such a medium cannot exist if it hasn't been formatted before
+ * which is in contradiction with the fact is unformatted. */
if (BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_PLUS)
|| BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_RESTRICTED)
+ || BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW)
|| BRASERO_MEDIUM_IS (media, BRASERO_MEDIUM_DVDRW_PLUS_DL)) {
/* This is only for above types */
retval = brasero_caps_disc_lookup_or_create (retval,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]