mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
subtitle: don't use GST_CAPS_NONE macro
This macro returns a singleton.
This commit is contained in:
parent
7505b7a55c
commit
db4d5af9b6
1 changed files with 1 additions and 1 deletions
|
@ -1928,7 +1928,7 @@ gst_subtitle_overlay_subtitle_sink_getcaps (GstPad * pad, GstCaps * filter)
|
|||
|
||||
g_mutex_lock (self->factories_lock);
|
||||
if (G_UNLIKELY (!gst_subtitle_overlay_update_factory_list (self)))
|
||||
ret = GST_CAPS_NONE;
|
||||
ret = gst_caps_new_empty ();
|
||||
else if (filter)
|
||||
ret =
|
||||
gst_caps_intersect_full (filter, self->factory_caps,
|
||||
|
|
Loading…
Reference in a new issue