You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spdif decoder uses avformat/spdifenc. Some spdifenc paths keep
muxer state across packets, such as partial TrueHD MAT frames. After a
seek, that state belongs to the old stream position and can cause the
next packet to be muxed with stale timing or buffering state.
On decoder reset, discard the current spdif muxer context. The next
usable input packet will recreate the muxer through the existing
initialization path.
A fresh TrueHD spdif muxer needs a TrueHD major sync before it can
begin muxing the stream. Startup or post-seek playback may begin on a
TrueHD access unit that does not have major sync, so drop TrueHD
packets until a major sync access unit is seen. This also gives the
downstream decoder a clean restart point after seeks.
Partially addresses: https://trac.ffmpeg.org/ticket/9569
Signed-off-by: Nathan Lucas <nlucasgit@gmail.com>
0 commit comments