summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapiprofilecaps.c
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-01-02 18:00:21 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-01-02 18:01:52 +0100
commitb3570febf7d6a1374d1f516a729861ce39458c66 (patch)
tree28035319855586c90df0d4cd1a16d9cedc721865 /gst-libs/gst/vaapi/gstvaapiprofilecaps.c
parenta6cf75e8c65542409841a1a45661556c78dcba79 (diff)
libs: utils: delete useless gst_vaapi_profile_caps_append_encoder.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiprofilecaps.c')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiprofilecaps.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiprofilecaps.c b/gst-libs/gst/vaapi/gstvaapiprofilecaps.c
index 7efa6a32..a98d0e0d 100644
--- a/gst-libs/gst/vaapi/gstvaapiprofilecaps.c
+++ b/gst-libs/gst/vaapi/gstvaapiprofilecaps.c
@@ -117,32 +117,3 @@ gst_vaapi_profile_caps_append_decoder (GstVaapiDisplay * display,
return append_caps_with_context_info (display, &cip, structure);
}
-
-/**
- * gst_vaapi_profile_caps_append_encoder:
- * @display: a #GstVaapiDisplay
- * @profile: a #GstVaapiProfile
- * @entrypoint: a #GstVaapiEntryPoint
- * @structure: a #GstStructure
- *
- * Extracts the config's surface attributes, from @profile and
- * @entrypoint, in an encoder context, and transforms it into a caps
- * formats and appended into @structure.
- *
- * Returns: %TRUE if the capabilities could be extracted and appended
- * into @structure; otherwise %FALSE
- **/
-gboolean
-gst_vaapi_profile_caps_append_encoder (GstVaapiDisplay * display,
- GstVaapiProfile profile, GstVaapiEntrypoint entrypoint,
- GstStructure * structure)
-{
- GstVaapiContextInfo cip = {
- GST_VAAPI_CONTEXT_USAGE_ENCODE, profile, entrypoint, 0,
- };
-
- g_return_val_if_fail (display != NULL, FALSE);
- g_return_val_if_fail (structure != NULL, FALSE);
-
- return append_caps_with_context_info (display, &cip, structure);
-}