summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-06-06 11:13:00 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-06-06 11:13:00 +0300
commita40ecc11689e20cf4a9145903beb3c8c0a1490a8 (patch)
tree3ce5a82bfa2c6f466791395448afc40e7265e42e /gst-libs
parentbac5c4c5d2721a03e401417e175d73a4c0377aa3 (diff)
downloadgstreamer-plugins-bad-a40ecc11689e20cf4a9145903beb3c8c0a1490a8.tar.gz
player: pause() should not inhibit signals but work exactly like play()
https://bugzilla.gnome.org/show_bug.cgi?id=766607#c23
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/player/gstplayer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c
index 56368e573..15d7d3459 100644
--- a/gst-libs/gst/player/gstplayer.c
+++ b/gst-libs/gst/player/gstplayer.c
@@ -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);