summaryrefslogtreecommitdiff
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
parenta6cf75e8c65542409841a1a45661556c78dcba79 (diff)
libs: utils: delete useless gst_vaapi_profile_caps_append_encoder.
-rw-r--r--gst-libs/gst/vaapi/gstvaapiprofilecaps.c29
-rw-r--r--gst-libs/gst/vaapi/gstvaapiprofilecaps.h5
2 files changed, 0 insertions, 34 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);
-}
diff --git a/gst-libs/gst/vaapi/gstvaapiprofilecaps.h b/gst-libs/gst/vaapi/gstvaapiprofilecaps.h
index 4333bed9..24eb82ce 100644
--- a/gst-libs/gst/vaapi/gstvaapiprofilecaps.h
+++ b/gst-libs/gst/vaapi/gstvaapiprofilecaps.h
@@ -33,11 +33,6 @@ gboolean
gst_vaapi_profile_caps_append_decoder (GstVaapiDisplay * display,
GstVaapiProfile profile, GstStructure * structure);
-gboolean
-gst_vaapi_profile_caps_append_encoder (GstVaapiDisplay * display,
- GstVaapiProfile profile, GstVaapiEntrypoint entrypoint,
- GstStructure * structure);
-
G_END_DECLS
#endif /* GST_VAAPI_PROFILE_CAPS_H */