mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
API: fix missing drop of signals inhibit
This commit is contained in:
7
lib/gst/clapper/gstclapper.c
vendored
7
lib/gst/clapper/gstclapper.c
vendored
@@ -565,6 +565,7 @@ gst_clapper_set_uri_internal (gpointer user_data)
|
|||||||
(GDestroyNotify) uri_loaded_signal_data_free);
|
(GDestroyNotify) uri_loaded_signal_data_free);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self->inhibit_sigs = FALSE;
|
||||||
g_mutex_unlock (&self->lock);
|
g_mutex_unlock (&self->lock);
|
||||||
|
|
||||||
gst_clapper_play_internal (self);
|
gst_clapper_play_internal (self);
|
||||||
@@ -3219,10 +3220,8 @@ gst_clapper_stop_internal (GstClapper * self, gboolean transient)
|
|||||||
gst_bus_set_flushing (self->bus, TRUE);
|
gst_bus_set_flushing (self->bus, TRUE);
|
||||||
gst_element_set_state (self->playbin, GST_STATE_READY);
|
gst_element_set_state (self->playbin, GST_STATE_READY);
|
||||||
gst_bus_set_flushing (self->bus, FALSE);
|
gst_bus_set_flushing (self->bus, FALSE);
|
||||||
change_state (self, transient
|
change_state (self, transient && self->app_state != GST_CLAPPER_STATE_STOPPED
|
||||||
&& self->app_state !=
|
? GST_CLAPPER_STATE_BUFFERING : GST_CLAPPER_STATE_STOPPED);
|
||||||
GST_CLAPPER_STATE_STOPPED ? GST_CLAPPER_STATE_BUFFERING :
|
|
||||||
GST_CLAPPER_STATE_STOPPED);
|
|
||||||
self->buffering = 100;
|
self->buffering = 100;
|
||||||
self->cached_duration = GST_CLOCK_TIME_NONE;
|
self->cached_duration = GST_CLOCK_TIME_NONE;
|
||||||
g_mutex_lock (&self->lock);
|
g_mutex_lock (&self->lock);
|
||||||
|
Reference in New Issue
Block a user