diff options
author | wm4 <wm4@nowhere> | 2013-12-24 17:46:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-24 17:46:14 +0100 |
commit | 3720b3f17d4951ab839418b5cbfd1a85eb74adba (patch) | |
tree | 819b311b4c224ba2fd3dcd0efe8008a83f2cc938 /player/video.c | |
parent | 9292f537d661af16321fd35eb0016e830594863b (diff) | |
download | mpv-3720b3f17d4951ab839418b5cbfd1a85eb74adba.tar.bz2 mpv-3720b3f17d4951ab839418b5cbfd1a85eb74adba.tar.xz |
player: add --secondary-sid for displaying a second subtitle stream
This is relatively hacky, but it's Christmas, so it's ok. This does two
things: 1. allow selecting two subtitle tracks, and 2. include a hack
that renders the second subtitle always as toptitle. See manpage
additions how to use this.
Diffstat (limited to 'player/video.c')
-rw-r--r-- | player/video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c index 9df3caa940..039248c1d0 100644 --- a/player/video.c +++ b/player/video.c @@ -199,7 +199,8 @@ int reinit_video_chain(struct MPContext *mpctx) mpctx->vo_pts_history_seek_ts++; vo_seek_reset(mpctx->video_out); - reset_subtitles(mpctx); + reset_subtitles(mpctx, 0); + reset_subtitles(mpctx, 1); if (opts->force_fps) { d_video->fps = opts->force_fps; |