totem r5768 - in branches/gnome-2-24: . src/backend
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5768 - in branches/gnome-2-24: . src/backend
- Date: Tue, 21 Oct 2008 13:06:54 +0000 (UTC)
Author: hadess
Date: Tue Oct 21 13:06:54 2008
New Revision: 5768
URL: http://svn.gnome.org/viewvc/totem?rev=5768&view=rev
Log:
2008-10-21 Bastien Nocera <hadess hadess net>
* src/backend/bacon-video-widget-gst-0.10.c (bvw_bus_message_cb):
Fix playing property being wrong when an error occurs
(Closes: #556039)
Modified:
branches/gnome-2-24/ChangeLog
branches/gnome-2-24/src/backend/bacon-video-widget-gst-0.10.c
Modified: branches/gnome-2-24/src/backend/bacon-video-widget-gst-0.10.c
==============================================================================
--- branches/gnome-2-24/src/backend/bacon-video-widget-gst-0.10.c (original)
+++ branches/gnome-2-24/src/backend/bacon-video-widget-gst-0.10.c Tue Oct 21 13:06:54 2008
@@ -1398,14 +1398,15 @@
error = bvw_error_from_gst_error (bvw, message);
- g_signal_emit (bvw, bvw_signals[SIGNAL_ERROR], 0,
- error->message, TRUE, FALSE);
-
+ bvw->priv->target_state = GST_STATE_NULL;
if (bvw->priv->play)
gst_element_set_state (bvw->priv->play, GST_STATE_NULL);
- bvw->priv->target_state = GST_STATE_NULL;
bvw->priv->buffering = FALSE;
+
+ g_signal_emit (bvw, bvw_signals[SIGNAL_ERROR], 0,
+ error->message, TRUE, FALSE);
+
g_error_free (error);
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]