mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-14 11:25:39 +00:00
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:
parent
1e1d3b1d09
commit
1b11e357d8
1 changed files with 5 additions and 3 deletions
|
@ -98,9 +98,6 @@ static const char gst_vaapi_decode_bin_sink_caps_str[] =
|
||||||
GST_CAPS_CODEC("video/x-wmv")
|
GST_CAPS_CODEC("video/x-wmv")
|
||||||
#if USE_VP8_DECODER
|
#if USE_VP8_DECODER
|
||||||
GST_CAPS_CODEC("video/x-vp8")
|
GST_CAPS_CODEC("video/x-vp8")
|
||||||
#endif
|
|
||||||
#if USE_JPEG_DECODER
|
|
||||||
GST_CAPS_CODEC("image/jpeg")
|
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
@ -466,6 +463,11 @@ gst_vaapi_decode_bin_configure (GstVaapiDecodeBin * vaapidecbin)
|
||||||
GstPadTemplate *tmpl;
|
GstPadTemplate *tmpl;
|
||||||
|
|
||||||
/* create the decoder */
|
/* 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 =
|
vaapidecbin->decoder =
|
||||||
gst_element_factory_make ("vaapidecode", "vaapidecode");
|
gst_element_factory_make ("vaapidecode", "vaapidecode");
|
||||||
if (!vaapidecbin->decoder) {
|
if (!vaapidecbin->decoder) {
|
||||||
|
|
Loading…
Reference in a new issue