mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
tests: fix build without JPEG decoder support.
This commit is contained in:
parent
776d120b7f
commit
ffb13f9660
1 changed files with 2 additions and 0 deletions
|
@ -172,9 +172,11 @@ main(int argc, char *argv[])
|
||||||
case GST_VAAPI_CODEC_H264:
|
case GST_VAAPI_CODEC_H264:
|
||||||
decoder = gst_vaapi_decoder_h264_new(display, decoder_caps);
|
decoder = gst_vaapi_decoder_h264_new(display, decoder_caps);
|
||||||
break;
|
break;
|
||||||
|
#if USE_JPEG_DECODER
|
||||||
case GST_VAAPI_CODEC_JPEG:
|
case GST_VAAPI_CODEC_JPEG:
|
||||||
decoder = gst_vaapi_decoder_jpeg_new(display, decoder_caps);
|
decoder = gst_vaapi_decoder_jpeg_new(display, decoder_caps);
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case GST_VAAPI_CODEC_MPEG2:
|
case GST_VAAPI_CODEC_MPEG2:
|
||||||
decoder = gst_vaapi_decoder_mpeg2_new(display, decoder_caps);
|
decoder = gst_vaapi_decoder_mpeg2_new(display, decoder_caps);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue