|author||wm4 <wm4@nowhere>||2013-11-23 21:37:15 +0100|
|committer||wm4 <wm4@nowhere>||2013-11-23 21:37:15 +0100|
player: rearrange how subtitle context and stream headers are used
Use sh_stream over sh_sub. Use dec_sub (and mpctx->d_sub) instead of the stream header. This aligns the subtitle code with the recent audio and video refactoring. sh_sub still has the decoder context, though. This is because we want to avoid reinit when switching segments with ordered chapters. (Reinit is fast, except for creating the ASS_Renderer, which in turn triggers fontconfig.) Not sure how much this matters, though, because the initial segment switch will lazily initialize the decoder anyway.
Diffstat (limited to 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions