summaryrefslogtreecommitdiffstats
path: root/player/osd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-18 20:28:54 +0100
committerwm4 <wm4@nowhere>2014-11-18 20:28:54 +0100
commit5d1a3fb406b1d356155c64b64c9c020e7c245887 (patch)
treea81782846e666ea33ee73f366e9f010ccfda9472 /player/osd.c
parent71095be5b0ed574c35016301c3b94fc7ec149f04 (diff)
downloadmpv-5d1a3fb406b1d356155c64b64c9c020e7c245887.tar.bz2
mpv-5d1a3fb406b1d356155c64b64c9c020e7c245887.tar.xz
command: improve A-B loop behavior
If the B point is set, then loop back to A. Also, update the OSD bar if necessary.
Diffstat (limited to 'player/osd.c')
-rw-r--r--player/osd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/osd.c b/player/osd.c
index b6a0c1b98d..456822d9f6 100644
--- a/player/osd.c
+++ b/player/osd.c
@@ -331,7 +331,7 @@ static void update_osd_bar(struct MPContext *mpctx, int type,
}
}
-static void set_osd_bar_chapters(struct MPContext *mpctx, int type)
+void set_osd_bar_chapters(struct MPContext *mpctx, int type)
{
struct MPOpts *opts = mpctx->opts;
if (mpctx->osd_progbar.type != type)