mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
codecparsers: av1: Fix a level index bug in sequence.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1464>
This commit is contained in:
parent
7e33863b10
commit
2c3a33eeab
1 changed files with 1 additions and 1 deletions
|
@ -1138,7 +1138,7 @@ gst_av1_parser_parse_sequence_header_obu (GstAV1Parser * parser,
|
|||
retval = GST_AV1_PARSER_BITSTREAM_ERROR;
|
||||
goto error;
|
||||
}
|
||||
if (seq_header->operating_points[i].seq_level_idx > GST_AV1_SEQ_LEVEL_4_0) {
|
||||
if (seq_header->operating_points[i].seq_level_idx > GST_AV1_SEQ_LEVEL_3_3) {
|
||||
seq_header->operating_points[i].seq_tier = AV1_READ_BIT (br);
|
||||
} else {
|
||||
seq_header->operating_points[i].seq_tier = 0;
|
||||
|
|
Loading…
Reference in a new issue