diff options
author | wm4 <wm4@nowhere> | 2016-01-17 16:56:32 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-17 16:57:22 +0100 |
commit | 004bc9526308c6bc3f51591423e88bb1adaff167 (patch) | |
tree | 07fb82b2ba2920096a5a7de222b0e4a334c4985a /player/playloop.c | |
parent | 24fc176dfb0219bea6b9327b5299b6bb7d755732 (diff) | |
download | mpv-004bc9526308c6bc3f51591423e88bb1adaff167.tar.bz2 mpv-004bc9526308c6bc3f51591423e88bb1adaff167.tar.xz |
player: refactor: eliminate MPContext.d_sub
The same is going to happen to d_video and d_audio later.
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/player/playloop.c b/player/playloop.c index 5226103733..174318e70e 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -239,8 +239,7 @@ static int mp_seek(MPContext *mpctx, struct seek_params seek, if (timeline_switch_to_time(mpctx, seek.amount)) { reinit_video_chain(mpctx); reinit_audio_chain(mpctx); - reinit_subs(mpctx, 0); - reinit_subs(mpctx, 1); + reinit_sub_all(mpctx); } int demuxer_style = 0; |