mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
playsinkconvertbin: Don't block on non-serialized events
https://bugzilla.gnome.org/show_bug.cgi?id=729321
This commit is contained in:
parent
ab0e37c320
commit
67289fd184
1 changed files with 6 additions and 0 deletions
|
@ -188,6 +188,12 @@ pad_blocked_cb (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
gboolean raw;
|
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_PLAY_SINK_CONVERT_BIN_LOCK (self);
|
||||||
GST_DEBUG_OBJECT (self, "Pad blocked");
|
GST_DEBUG_OBJECT (self, "Pad blocked");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue