From 4e22ef5bd219afe2816cdcb20ab9a750acafa417 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 18 Feb 2022 15:23:13 +0530 Subject: [PATCH] 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: --- subprojects/gst-plugins-good/gst/matroska/matroska-demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/gst/matroska/matroska-demux.c b/subprojects/gst-plugins-good/gst/matroska/matroska-demux.c index 4da7e157a2..f4da496521 100644 --- a/subprojects/gst-plugins-good/gst/matroska/matroska-demux.c +++ b/subprojects/gst-plugins-good/gst/matroska/matroska-demux.c @@ -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) {