brasero r1267 - in trunk: . src/plugins/libburnia
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1267 - in trunk: . src/plugins/libburnia
- Date: Thu, 11 Sep 2008 16:09:28 +0000 (UTC)
Author: philippr
Date: Thu Sep 11 16:09:27 2008
New Revision: 1267
URL: http://svn.gnome.org/viewvc/brasero?rev=1267&view=rev
Log:
Fix #551678 â Writing on-the-fly stops at ~390MB instead of full size
and possibly #544665 â Brasero burns 139MiB into the dvd when the project has 4GB
Used an int instead of an int64 in libburn
* src/plugins/libburnia/burn-libburn.c
(brasero_libburn_create_fd_source),
(brasero_libburn_setup_session_fd):
Modified:
trunk/ChangeLog
trunk/src/plugins/libburnia/burn-libburn.c
Modified: trunk/src/plugins/libburnia/burn-libburn.c
==============================================================================
--- trunk/src/plugins/libburnia/burn-libburn.c (original)
+++ trunk/src/plugins/libburnia/burn-libburn.c Thu Sep 11 16:09:27 2008
@@ -189,7 +189,7 @@
static struct burn_source *
brasero_libburn_create_fd_source (int fd,
- int size,
+ gint64 size,
unsigned char *pvd)
{
struct burn_source *src;
@@ -292,7 +292,7 @@
GError **error)
{
int fd;
- gint64 size;
+ gint64 size = 0;
BraseroTrackType type;
BraseroLibburnPrivate *priv;
BraseroBurnResult result = BRASERO_BURN_OK;
@@ -308,6 +308,7 @@
{
gint mode;
+ /* FIXME: implement other IMAGE types */
if (type.subtype.img_format == BRASERO_IMAGE_FORMAT_BIN)
mode = BURN_MODE1;
else
@@ -316,6 +317,7 @@
brasero_job_get_session_output_size (BRASERO_JOB (self),
NULL,
&size);
+
result = brasero_libburn_add_fd_track (session,
fd,
mode,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]