diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/vaapi/gstvaapiencode.h | 2 | ||||
-rw-r--r-- | gst/vaapi/gstvaapipluginutil.c | 4 | ||||
-rw-r--r-- | gst/vaapi/gstvaapipluginutil.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gst/vaapi/gstvaapiencode.h b/gst/vaapi/gstvaapiencode.h index 0e76bded..4bbea848 100644 --- a/gst/vaapi/gstvaapiencode.h +++ b/gst/vaapi/gstvaapiencode.h @@ -87,7 +87,7 @@ G_BEGIN_DECLS for (i = 0; i < n; i++) \ g_array_append_val (extra_fmts, ext_video_fmts[i]); \ } \ - caps = gst_vaapi_build_template_caps_by_codec (display, \ + caps = gst_vaapi_build_template_raw_caps_by_codec (display, \ GST_VAAPI_CONTEXT_USAGE_ENCODE, \ GST_VAAPI_CODEC_##CODEC, extra_fmts); \ g_clear_pointer (&extra_fmts, g_array_unref); \ diff --git a/gst/vaapi/gstvaapipluginutil.c b/gst/vaapi/gstvaapipluginutil.c index ece8a683..027a288e 100644 --- a/gst/vaapi/gstvaapipluginutil.c +++ b/gst/vaapi/gstvaapipluginutil.c @@ -1141,7 +1141,7 @@ gst_vaapi_build_caps_from_formats (GArray * formats, gint min_width, } /** - * gst_vaapi_build_template_caps_by_codec: + * gst_vaapi_build_template_raw_caps_by_codec: * @display: a #GstVaapiDisplay * @usage: used for encode, decode or postproc * @codec: a #GstVaapiCodec specify the codec to detect @@ -1155,7 +1155,7 @@ gst_vaapi_build_caps_from_formats (GArray * formats, gint min_width, * Returns: a built #GstCaps if succeeds, or %NULL if error. **/ GstCaps * -gst_vaapi_build_template_caps_by_codec (GstVaapiDisplay * display, +gst_vaapi_build_template_raw_caps_by_codec (GstVaapiDisplay * display, GstVaapiContextUsage usage, GstVaapiCodec codec, GArray * extra_fmts) { GArray *profiles = NULL; diff --git a/gst/vaapi/gstvaapipluginutil.h b/gst/vaapi/gstvaapipluginutil.h index cad6b871..f5814d34 100644 --- a/gst/vaapi/gstvaapipluginutil.h +++ b/gst/vaapi/gstvaapipluginutil.h @@ -168,7 +168,7 @@ gst_vaapi_build_caps_from_formats (GArray * formats, gint min_width, G_GNUC_INTERNAL GstCaps * -gst_vaapi_build_template_caps_by_codec (GstVaapiDisplay * display, +gst_vaapi_build_template_raw_caps_by_codec (GstVaapiDisplay * display, GstVaapiContextUsage usage, GstVaapiCodec codec, GArray * extra_fmts); G_GNUC_INTERNAL |