summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2020-06-06 00:43:02 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2020-06-06 00:43:02 +0200
commit1c436201ce4af5bcb73555d6e0bcde167d57989c (patch)
tree11634497b4bd9b726be7dde7b8353f88fa8ac3cd
parentf1cb5bf471db405c4ac5611387275bb0b760f908 (diff)
plugins: uddate gst_type_mark_as_plugin_api() calls
-rw-r--r--ext/libav/gstavcfg.c4
-rw-r--r--ext/libav/gstavdeinterlace.c2
-rw-r--r--ext/libav/gstavviddec.c6
-rw-r--r--ext/libav/gstavvidenc.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/ext/libav/gstavcfg.c b/ext/libav/gstavcfg.c
index 21ab961..7f289d7 100644
--- a/ext/libav/gstavcfg.c
+++ b/ext/libav/gstavcfg.c
@@ -154,7 +154,7 @@ register_enum (const AVClass ** obj, const AVOption * top_opt)
g_enum_register_static (enum_name, &g_array_index (values, GEnumValue,
0));
- gst_type_mark_as_plugin_api (res);
+ gst_type_mark_as_plugin_api (res, 0);
}
done:
@@ -214,7 +214,7 @@ register_flags (const AVClass ** obj, const AVOption * top_opt)
g_flags_register_static (flags_name, &g_array_index (values,
GFlagsValue, 0));
- gst_type_mark_as_plugin_api (res);
+ gst_type_mark_as_plugin_api (res, 0);
}
done:
diff --git a/ext/libav/gstavdeinterlace.c b/ext/libav/gstavdeinterlace.c
index 9b57cd5..15159dd 100644
--- a/ext/libav/gstavdeinterlace.c
+++ b/ext/libav/gstavdeinterlace.c
@@ -182,7 +182,7 @@ gst_ffmpegdeinterlace_class_init (GstFFMpegDeinterlaceClass * klass)
gobject_class->dispose = gst_ffmpegdeinterlace_dispose;
- gst_type_mark_as_plugin_api (GST_TYPE_FFMPEGDEINTERLACE_MODES);
+ gst_type_mark_as_plugin_api (GST_TYPE_FFMPEGDEINTERLACE_MODES, 0);
}
static void
diff --git a/ext/libav/gstavviddec.c b/ext/libav/gstavviddec.c
index e97aa58..9f784f4 100644
--- a/ext/libav/gstavviddec.c
+++ b/ext/libav/gstavviddec.c
@@ -282,9 +282,9 @@ gst_ffmpegviddec_class_init (GstFFMpegVidDecClass * klass)
GST_DEBUG_CATEGORY_GET (GST_CAT_PERFORMANCE, "GST_PERFORMANCE");
- gst_type_mark_as_plugin_api (GST_FFMPEGVIDDEC_TYPE_LOWRES);
- gst_type_mark_as_plugin_api (GST_FFMPEGVIDDEC_TYPE_SKIPFRAME);
- gst_type_mark_as_plugin_api (GST_FFMPEGVIDDEC_TYPE_THREAD_TYPE);
+ gst_type_mark_as_plugin_api (GST_FFMPEGVIDDEC_TYPE_LOWRES, 0);
+ gst_type_mark_as_plugin_api (GST_FFMPEGVIDDEC_TYPE_SKIPFRAME, 0);
+ gst_type_mark_as_plugin_api (GST_FFMPEGVIDDEC_TYPE_THREAD_TYPE, 0);
}
static void
diff --git a/ext/libav/gstavvidenc.c b/ext/libav/gstavvidenc.c
index 2aecf15..f454de1 100644
--- a/ext/libav/gstavvidenc.c
+++ b/ext/libav/gstavvidenc.c
@@ -197,7 +197,7 @@ gst_ffmpegvidenc_class_init (GstFFMpegVidEncClass * klass)
gobject_class->finalize = gst_ffmpegvidenc_finalize;
- gst_type_mark_as_plugin_api (GST_TYPE_FFMPEG_PASS);
+ gst_type_mark_as_plugin_api (GST_TYPE_FFMPEG_PASS, 0);
}
static void