summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-03-09 20:26:31 +0100
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-03-11 10:23:39 +0100
commit1b11e357d8b15e28bbb7061537f7782b9fb783b9 (patch)
tree99b7ed9270529eaad782efe49819492516d746d8
parent1e1d3b1d09517e4b95dd2b1733fd441f0c7b9529 (diff)
downloadgstreamer-vaapi-1b11e357d8b15e28bbb7061537f7782b9fb783b9.tar.gz
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
-rw-r--r--gst/vaapi/gstvaapidecodebin.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gst/vaapi/gstvaapidecodebin.c b/gst/vaapi/gstvaapidecodebin.c
index 84a547b7..3468ae12 100644
--- a/gst/vaapi/gstvaapidecodebin.c
+++ b/gst/vaapi/gstvaapidecodebin.c
@@ -99,9 +99,6 @@ static const char gst_vaapi_decode_bin_sink_caps_str[] =
#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) {