vaapidecodebin: don't handle jpeg decoding

As JPEG decoder has been split and demoted, it cannot be handled by
vaapidecodebin

Added a fixme comment regarding the future removal of vaapidecode.

https://bugzilla.gnome.org/show_bug.cgi?id=734093
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-03-09 20:26:31 +01:00
parent 1e1d3b1d09
commit 1b11e357d8

View file

@ -98,9 +98,6 @@ static const char gst_vaapi_decode_bin_sink_caps_str[] =
GST_CAPS_CODEC("video/x-wmv")
#if USE_VP8_DECODER
GST_CAPS_CODEC("video/x-vp8")
#endif
#if USE_JPEG_DECODER
GST_CAPS_CODEC("image/jpeg")
#endif
;
/* *INDENT-ON* */
@ -466,6 +463,11 @@ gst_vaapi_decode_bin_configure (GstVaapiDecodeBin * vaapidecbin)
GstPadTemplate *tmpl;
/* create the decoder */
/* @FIXME: "vaapidecode" is going to be removed soon: (bug
* #734093). Instead there are going to be a set of elements
* "vaapi{codec}dec". We will need a mechanism to automatically
* select de correct decoder based on caps.
*/
vaapidecbin->decoder =
gst_element_factory_make ("vaapidecode", "vaapidecode");
if (!vaapidecbin->decoder) {