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:
parent
6372aaa608
commit
4e22ef5bd2
@ -6650,7 +6650,7 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
|
|||||||
if (data && size >= 4) {
|
if (data && size >= 4) {
|
||||||
fourcc = GST_STR_FOURCC (data);
|
fourcc = GST_STR_FOURCC (data);
|
||||||
} else {
|
} 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) {
|
switch (fourcc) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user