tests: fix build without JPEG decoder support.

This commit is contained in:
Gwenole Beauchesne 2012-07-19 10:54:33 +02:00
parent 776d120b7f
commit ffb13f9660

View file

@ -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;