subtitle: don't use GST_CAPS_NONE macro

This macro returns a singleton.
This commit is contained in:
Wim Taymans 2011-12-20 12:53:16 +01:00
parent 7505b7a55c
commit db4d5af9b6

View file

@ -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,