brasero r1396 - in trunk: . src



Author: philippr
Date: Sat Oct 18 19:03:06 2008
New Revision: 1396
URL: http://svn.gnome.org/viewvc/brasero?rev=1396&view=rev

Log:
	Fix for #556449 â Session error : Insufficient space on media when copying an audio CD (same problem with trunk)

	* src/burn-medium.c (brasero_medium_track_set_leadout):
	* src/scsi-mode-select.c (brasero_spc1_mode_select):


Modified:
   trunk/ChangeLog
   trunk/src/burn-medium.c
   trunk/src/scsi-mode-select.c

Modified: trunk/src/burn-medium.c
==============================================================================
--- trunk/src/burn-medium.c	(original)
+++ trunk/src/burn-medium.c	Sat Oct 18 19:03:06 2008
@@ -1537,14 +1537,16 @@
 
 		if (result != BRASERO_SCSI_OK) {
 			BRASERO_BURN_LOG ("MODE SELECT failed");
-			return BRASERO_BURN_ERR;
+
+			/* This isn't necessarily a problem! we better try */
+			//	return BRASERO_BURN_ERR;
 		}
 	}
 	else {
 		BRASERO_BURN_LOG ("MODE SENSE failed");
 
-		/* This isn't necessarily a problem we better try the rest */
-		//		return BRASERO_BURN_ERR;
+		/* This isn't necessarily a problem we better! try the rest */
+		//	return BRASERO_BURN_ERR;
 	}
 
 	/* at this point we know the type of the disc that's why we set the 

Modified: trunk/src/scsi-mode-select.c
==============================================================================
--- trunk/src/scsi-mode-select.c	(original)
+++ trunk/src/scsi-mode-select.c	Sat Oct 18 19:03:06 2008
@@ -91,8 +91,8 @@
 	cdb->SP = 0;
 
 	/* Header pages lengths should be 0 */
-	BRASERO_SET_16 (data->hdr.len, 0);
-	BRASERO_SET_16 (data->hdr.bdlen, 0);
+//	BRASERO_SET_16 (data->hdr.len, 0);
+//	BRASERO_SET_16 (data->hdr.bdlen, 0);
 
 	BRASERO_SET_16 (cdb->alloc_len, size);
 	res = brasero_scsi_command_issue_sync (cdb, data, size, error);



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