mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
flacparse: add actual invalid block type to warning
For someone that read the spec is clear the only *invalid* data block type is 127. For the rest, its useful information. Additionally. values 7-126 are currently reserved by the spec so the situation might change in the future.
This commit is contained in:
parent
c43f84abf3
commit
2c14f2fff1
1 changed files with 1 additions and 1 deletions
|
@ -1562,7 +1562,7 @@ gst_flac_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame,
|
||||||
guint type = (map.data[0] & 0x7F);
|
guint type = (map.data[0] & 0x7F);
|
||||||
|
|
||||||
if (type == 127) {
|
if (type == 127) {
|
||||||
GST_WARNING_OBJECT (flacparse, "Invalid metadata block type");
|
GST_WARNING_OBJECT (flacparse, "Invalid metadata block type 127");
|
||||||
res = GST_BASE_PARSE_FLOW_DROPPED;
|
res = GST_BASE_PARSE_FLOW_DROPPED;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue