Skip to content

avauddec: Check planar-ness of frame rather than context

Arun Raghavan requested to merge arun/gst-libav:master into master

The check seems to be to present to verify that the decoded frame matches the format we expect. The actual check for the layout of the frame was being performed against the context instead.

The check fails at least for avdec_aptx_hd, where the AVCodecContext has the sample format set to AV_SAMPLE_FMT_NONE.

Edited by Arun Raghavan

Merge request reports