mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
subtitleoverlay: Don't block on non-serialized events
https://bugzilla.gnome.org/show_bug.cgi?id=729321
This commit is contained in:
parent
ffdf87b121
commit
ab0e37c320
1 changed files with 6 additions and 0 deletions
|
@ -1004,6 +1004,12 @@ _pad_blocked_cb (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
|
||||||
GstCaps *subcaps;
|
GstCaps *subcaps;
|
||||||
GList *l, *factories = NULL;
|
GList *l, *factories = NULL;
|
||||||
|
|
||||||
|
if (GST_IS_EVENT (info->data) && !GST_EVENT_IS_SERIALIZED (info->data)) {
|
||||||
|
GST_DEBUG_OBJECT (pad, "Letting non-serialized event %s pass",
|
||||||
|
GST_EVENT_TYPE_NAME (info->data));
|
||||||
|
return GST_PAD_PROBE_PASS;
|
||||||
|
}
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (pad, "Pad blocked");
|
GST_DEBUG_OBJECT (pad, "Pad blocked");
|
||||||
|
|
||||||
GST_SUBTITLE_OVERLAY_LOCK (self);
|
GST_SUBTITLE_OVERLAY_LOCK (self);
|
||||||
|
|
Loading…
Reference in a new issue