diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-05-01 13:06:53 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-05-10 15:46:14 +0200 |
commit | bf9fc440723eb45bec92406ddd4f7219a644d414 (patch) | |
tree | 3a1643bad0f7473a9a0eed02e7597d12fc93a814 | |
parent | 7c07e32b90d6a70d733bdb8619b55f886892a963 (diff) | |
download | gstreamer-plugins-base-bf9fc440723eb45bec92406ddd4f7219a644d414.tar.gz |
playsinkconvertbin: Don't block on non-serialized events
https://bugzilla.gnome.org/show_bug.cgi?id=729321
-rw-r--r-- | gst/playback/gstplaysinkconvertbin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/playback/gstplaysinkconvertbin.c b/gst/playback/gstplaysinkconvertbin.c index d4f299cd4..885ebfe0b 100644 --- a/gst/playback/gstplaysinkconvertbin.c +++ b/gst/playback/gstplaysinkconvertbin.c @@ -188,6 +188,12 @@ pad_blocked_cb (GstPad * pad, GstPadProbeInfo * info, gpointer user_data) GstCaps *caps; gboolean raw; + if (GST_IS_EVENT (info->data) && !GST_EVENT_IS_SERIALIZED (info->data)) { + GST_DEBUG_OBJECT (self, "Letting non-serialized event %s pass", + GST_EVENT_TYPE_NAME (info->data)); + return GST_PAD_PROBE_PASS; + } + GST_PLAY_SINK_CONVERT_BIN_LOCK (self); GST_DEBUG_OBJECT (self, "Pad blocked"); |