# HG changeset patch # User rosfran # Date 1159477521 -3600 # Node ID 2ee2974c72c16fe22dfa9ad34b508cc8534aaa4c # Parent 084148043ccf129faae2477ed5d4d8875c45a08d [svn r26] Sets the gstreamer pipeline to locked, just before get the EOS message from plug-in. diff -r 084148043ccf -r 2ee2974c72c1 maemo-ui/src/mmyth_tvplayer.c --- a/maemo-ui/src/mmyth_tvplayer.c Thu Sep 28 22:04:16 2006 +0100 +++ b/maemo-ui/src/mmyth_tvplayer.c Thu Sep 28 22:05:21 2006 +0100 @@ -498,7 +498,7 @@ printf ("End of stream\n"); //g_idle_add ((GSourceFunc) idle_eos, data); gst_element_set_state ( GST_ELEMENT (GST_MESSAGE_SRC (msg)), GST_STATE_NULL ); - gst_element_set_locked_state ( GST_ELEMENT (GST_MESSAGE_SRC (msg)), FALSE ); + gst_element_set_locked_state ( GST_ELEMENT (GST_MESSAGE_SRC (msg)), TRUE ); break; case GST_MESSAGE_ERROR: {