Skip to content

omxvideodec: Only set CODECCONFIG buffer flag in subframe mode

The OpenMAX specification states:

"Any component that for a given stream sets OMX_BUFFERFLAG_CODECCONFIG shall not mix codec configuration bytes with frame data in the same buffer, and shall send all buffers containing codec configuration bytes before any buffers containing frame data that those configurations bytes describe."

When not in subframe mode, each buffer contains frame data, so OMX_BUFFERFLAG_CODECCONFIG cannot be set.

Closes #1127 (closed)

Merge request reports