Skip to content

av1parser, av1decoder: Various fix and cleanup

Seungha Yang requested to merge seungha.yang/gstreamer:av1-fix into main
    av1decoder: Clear highest_spatial_layer per sequence header

    Clear the value to default zero, indicating that no spatial scalability
    layer is used.
    av1decoder: Don't error out by dropped OBU

    OBU can be dropped if the current layer is not in selected operation
    point
    av1decoder: Fix wrong spatial layer validation

    Highest spatial id and temporal id is independent, and should not drop
    temporal enhance layer by the previous condition. Note that
    the decision for dropping OBU based on operation point is being
    handled in gst_av1_parser_identify_one_obu() already.

    Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1585
    av1parser: Don't print warning for expected OBU drop

    Dropping an OBU which is not in selected operation point is an
    expected condition.
    av1parser: Remove impossible condition

    unsigned integer cannot be negative

Fixes #1585 (closed)

Edited by Nicolas Dufresne

Merge request reports