matroska-demux: Emit a warning when no codec data found

It is bad if an mkv file does not have codec data for the ProRes
variant, so we should emit a warning. ffmpeg does the same thing.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1739>
This commit is contained in:
Nirbheek Chauhan 2022-02-18 15:23:13 +05:30 committed by GStreamer Marge Bot
parent 6372aaa608
commit 4e22ef5bd2

View file

@ -6650,7 +6650,7 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
if (data && size >= 4) {
fourcc = GST_STR_FOURCC (data);
} else {
GST_DEBUG ("Picking apcn variant because no ProRes codec data found");
GST_WARNING ("No ProRes codec data found, picking 'standard 422 SD'");
}
switch (fourcc) {