summaryrefslogtreecommitdiffstats
path: root/mpvcore/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/command.c')
-rw-r--r--mpvcore/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpvcore/command.c b/mpvcore/command.c
index 3e217dd5d7..f7bed60713 100644
--- a/mpvcore/command.c
+++ b/mpvcore/command.c
@@ -2575,7 +2575,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
case MP_CMD_SUB_ADD:
if (sh_video) {
- mp_add_subtitles(mpctx, cmd->args[0].v.s, 0);
+ mp_add_subtitles(mpctx, cmd->args[0].v.s);
}
break;
@@ -2590,7 +2590,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
struct track *sub = mp_track_by_tid(mpctx, STREAM_SUB, cmd->args[0].v.i);
if (sh_video && sub && sub->is_external && sub->external_filename)
{
- struct track *nsub = mp_add_subtitles(mpctx, sub->external_filename, 0);
+ struct track *nsub = mp_add_subtitles(mpctx, sub->external_filename);
if (nsub) {
mp_remove_track(mpctx, sub);
mp_switch_track(mpctx, nsub->type, nsub);