Skip to content

codecs: gstvp9statefulparser: do not carry over segmentation flags

Do not carry over segmentation flags from previous frames. The spec says in 7.2.10 that the feature data carry over from previous frames if not updated, but the flags do not.

Consider what would happen if a flag B is to depend on a flag A, and B carries over as set from another frame. Further consider that A is now not set in this particular frame. This leads to the invalid state in which flag B is set but flag A isn't.

This might cause the bitstream to be rejected by accelerators down the line.

Fix it.

Merge request reports

Loading