vaapi: Also register vaapipostproc without VPP support

It can still do simple deinterlacing then.
This commit is contained in:
Sebastian Dröge 2017-10-03 13:06:33 +02:00
parent 76e9ad8646
commit 8a0e22a5bb

View file

@ -223,10 +223,10 @@ plugin_init (GstPlugin * plugin)
g_array_unref (decoders);
}
if (gst_vaapi_display_has_video_processing (display)) {
gst_element_register (plugin, "vaapipostproc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIPOSTPROC);
gst_element_register (plugin, "vaapipostproc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIPOSTPROC);
if (gst_vaapi_display_has_video_processing (display)) {
gst_element_register (plugin, "vaapidecodebin",
GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
}