Commit ab0e37c3 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

subtitleoverlay: Don't block on non-serialized events

https://bugzilla.gnome.org/show_bug.cgi?id=729321
parent ffdf87b1
......@@ -1004,6 +1004,12 @@ _pad_blocked_cb (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
GstCaps *subcaps;
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_SUBTITLE_OVERLAY_LOCK (self);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment