mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +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:
|
||||
decoder = gst_vaapi_decoder_h264_new(display, decoder_caps);
|
||||
break;
|
||||
#if USE_JPEG_DECODER
|
||||
case GST_VAAPI_CODEC_JPEG:
|
||||
decoder = gst_vaapi_decoder_jpeg_new(display, decoder_caps);
|
||||
break;
|
||||
#endif
|
||||
case GST_VAAPI_CODEC_MPEG2:
|
||||
decoder = gst_vaapi_decoder_mpeg2_new(display, decoder_caps);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue