mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
tests: error out if FFmpeg|codecparsers are not supported.
This commit is contained in:
parent
0f511e1e0b
commit
a9f79c9251
1 changed files with 4 additions and 0 deletions
|
@ -158,6 +158,8 @@ main(int argc, char *argv[])
|
|||
if (g_use_ffmpeg) {
|
||||
#if USE_FFMPEG
|
||||
decoder = gst_vaapi_decoder_ffmpeg_new(display, decoder_caps);
|
||||
#else
|
||||
g_error("FFmpeg-based decoders are not supported");
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
|
@ -173,6 +175,8 @@ main(int argc, char *argv[])
|
|||
decoder = NULL;
|
||||
break;
|
||||
}
|
||||
#else
|
||||
g_error("codecparsers-based decoders are not supported");
|
||||
#endif
|
||||
}
|
||||
if (!decoder)
|
||||
|
|
Loading…
Reference in a new issue