player: pause() should not inhibit signals but work exactly like play()

https://bugzilla.gnome.org/show_bug.cgi?id=766607#c23
This commit is contained in:
Sebastian Dröge 2016-06-06 11:13:00 +03:00
parent bac5c4c5d2
commit a40ecc1168

View file

@ -2812,7 +2812,7 @@ gst_player_pause (GstPlayer * self)
g_return_if_fail (GST_IS_PLAYER (self));
g_mutex_lock (&self->lock);
self->inhibit_sigs = TRUE;
self->inhibit_sigs = FALSE;
g_mutex_unlock (&self->lock);
g_main_context_invoke_full (self->context, G_PRIORITY_DEFAULT,
@ -3827,8 +3827,7 @@ gst_player_get_multiview_mode (GstPlayer * self)
{
GstVideoMultiviewMode val = GST_VIDEO_MULTIVIEW_MODE_NONE;
g_return_val_if_fail (GST_IS_PLAYER (self),
GST_VIDEO_MULTIVIEW_MODE_NONE);
g_return_val_if_fail (GST_IS_PLAYER (self), GST_VIDEO_MULTIVIEW_MODE_NONE);
g_object_get (self, "video-multiview-mode", &val, NULL);