From 9e3b1cfc49df91080c8df106e6021140eee41ce4 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 27 May 2024 15:56:37 +0200 Subject: [PATCH] subparse: properly group caps No semantic change, but the way caps and macros were grouped was confusing. Part-of: --- .../gst-plugins-base/gst/subparse/gstsubparseelement.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-base/gst/subparse/gstsubparseelement.c b/subprojects/gst-plugins-base/gst/subparse/gstsubparseelement.c index 81dc4e1989..9c03ee10b8 100644 --- a/subprojects/gst-plugins-base/gst/subparse/gstsubparseelement.c +++ b/subprojects/gst-plugins-base/gst/subparse/gstsubparseelement.c @@ -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))