mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
subparse: properly group caps
No semantic change, but the way caps and macros were grouped was confusing. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6937>
This commit is contained in:
parent
fe737fc274
commit
9e3b1cfc49
1 changed files with 2 additions and 2 deletions
|
@ -261,14 +261,14 @@ gst_sub_parse_detect_encoding (const gchar * str, gsize len)
|
|||
* also, give different subtitle formats really different types */
|
||||
static GstStaticCaps mpl2_caps =
|
||||
GST_STATIC_CAPS ("application/x-subtitle-mpl2");
|
||||
#define SUB_CAPS (gst_static_caps_get (&sub_caps))
|
||||
#define MPL2_CAPS (gst_static_caps_get (&mpl2_caps))
|
||||
|
||||
static GstStaticCaps tmp_caps =
|
||||
GST_STATIC_CAPS ("application/x-subtitle-tmplayer");
|
||||
#define TMP_CAPS (gst_static_caps_get (&tmp_caps))
|
||||
|
||||
static GstStaticCaps sub_caps = GST_STATIC_CAPS ("application/x-subtitle");
|
||||
#define MPL2_CAPS (gst_static_caps_get (&mpl2_caps))
|
||||
#define SUB_CAPS (gst_static_caps_get (&sub_caps))
|
||||
|
||||
static GstStaticCaps smi_caps = GST_STATIC_CAPS ("application/x-subtitle-sami");
|
||||
#define SAMI_CAPS (gst_static_caps_get (&smi_caps))
|
||||
|
|
Loading…
Reference in a new issue