brasero r1427 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1427 - in trunk: . src
- Date: Mon, 27 Oct 2008 12:30:41 +0000 (UTC)
Author: philippr
Date: Mon Oct 27 12:30:41 2008
New Revision: 1427
URL: http://svn.gnome.org/viewvc/brasero?rev=1427&view=rev
Log:
Fix a problem where metadata object didn\'t always return a snapshot
because it was stopped by a state change event
* src/brasero-metadata.c (brasero_metadata_bus_messages):
* src/brasero-src-image.c (brasero_src_image_save):
Modified:
trunk/ChangeLog
trunk/src/brasero-metadata.c
trunk/src/brasero-src-image.c
Modified: trunk/src/brasero-metadata.c
==============================================================================
--- trunk/src/brasero-metadata.c (original)
+++ trunk/src/brasero-metadata.c Mon Oct 27 12:30:41 2008
@@ -960,7 +960,7 @@
case GST_MESSAGE_ERROR:
/* save the error message */
gst_message_parse_error (msg, &error, &debug_string);
- BRASERO_BURN_LOG (debug_string);
+ BRASERO_BURN_LOG ("Gstreamer error (%s)", debug_string);
g_free (debug_string);
if (!priv->error && error)
priv->error = error;
@@ -1030,7 +1030,11 @@
break;
}
- brasero_metadata_success (self);
+ BRASERO_BURN_LOG ("State changed to PAUSED or PLAYING");
+
+ if (!priv->snapshot_started)
+ brasero_metadata_success (self);
+
break;
default:
Modified: trunk/src/brasero-src-image.c
==============================================================================
--- trunk/src/brasero-src-image.c (original)
+++ trunk/src/brasero-src-image.c Mon Oct 27 12:30:41 2008
@@ -123,7 +123,7 @@
break;
default:
- break;
+ return;
}
if (!uri)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]