matroska-demux: Emit a warning when no codec data found
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 18 Feb 2022 09:53:13 +0000 (15:23 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 21 Feb 2022 08:49:28 +0000 (08:49 +0000)
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>

subprojects/gst-plugins-good/gst/matroska/matroska-demux.c

index 4da7e15..f4da496 100644 (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) {