summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-08-06 12:54:17 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-08-06 12:54:17 +0100
commitf182b8be2ba05965e6d31a4d380d6563b9b53a77 (patch)
treedb6ec74ef982dc48787e4cac1b16f515b670b61e
parent020cb8badb10ecaa6003553289cab0fcde913cf1 (diff)
encoders: demote to RANK_NONE since not fit for autoplugging yet
Encoders claim to support a whole bunch of input formats but then just error out if the format is not actually supported, even if there's a converter in front. This means they're not fit for autoplugging in encodebin or camerabin yet and therefore should not have a rank. People can still use them in custom pipelines. https://bugzilla.gnome.org/show_bug.cgi?id=769266
-rw-r--r--gst/vaapi/gstvaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapi.c b/gst/vaapi/gstvaapi.c
index a17ede8e..4c4a90d9 100644
--- a/gst/vaapi/gstvaapi.c
+++ b/gst/vaapi/gstvaapi.c
@@ -141,7 +141,7 @@ struct _GstVaapiEncoderMap
#define DEF_ENC(CODEC,codec) \
{GST_VAAPI_CODEC_##CODEC, \
- GST_RANK_PRIMARY, \
+ GST_RANK_NONE, \
"vaapi" G_STRINGIFY (codec) "enc", \
gst_vaapiencode_##codec##_get_type}