diff options
author | wm4 <wm4@nowhere> | 2013-02-06 21:41:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-06 23:03:39 +0100 |
commit | c5340512dd5a75079779c896505a038caf3ce69a (patch) | |
tree | dad034fa95de5d1c9f835cf8e1fe5ec0f4592518 /core/command.c | |
parent | 74817a77d45c96d4107b1946d0f918a893c58cac (diff) | |
download | mpv-c5340512dd5a75079779c896505a038caf3ce69a.tar.bz2 mpv-c5340512dd5a75079779c896505a038caf3ce69a.tar.xz |
core: remove --edlout functionality
This could write .edl files in MPlayer's format. Support for playing
these files has been removed from mplayer2 quite a while ago. (mplayer2
can play its own, "new" .edl format, but does not support writing it.)
Since this is a rather obscure functionality, and it's not really clear
how it should behave (e.g. what should it do if a new file is played),
and wasn't all that great to begin with (what if you made a mistake?
the "edl_mark" command sucks for editing), get rid of it.
Suggestions how to reimplement this in a nicer way are welcome. If it's
just about retrieving timecodes, this in input.conf will do:
KEY print_text "position: ${=time-pos}"
Diffstat (limited to 'core/command.c')
-rw-r--r-- | core/command.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/core/command.c b/core/command.c index 4f304ded99..90a5dc66f5 100644 --- a/core/command.c +++ b/core/command.c @@ -1844,27 +1844,6 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) break; } - case MP_CMD_EDL_MARK: - if (edl_fd) { - float v = get_current_time(mpctx); - if (mpctx->begin_skip == MP_NOPTS_VALUE) { - mpctx->begin_skip = v; - mp_tmsg(MSGT_CPLAYER, MSGL_INFO, - "EDL skip start, press 'i' again to end block.\n"); - } else { - if (mpctx->begin_skip > v) - mp_tmsg(MSGT_CPLAYER, MSGL_WARN, - "EDL skip canceled, last start > stop\n"); - else { - fprintf(edl_fd, "%f %f %d\n", mpctx->begin_skip, v, 0); - mp_tmsg(MSGT_CPLAYER, MSGL_INFO, - "EDL skip end, line written.\n"); - } - mpctx->begin_skip = MP_NOPTS_VALUE; - } - } - break; - case MP_CMD_SPEED_MULT: { float v = cmd->args[0].v.f; v *= mpctx->opts.playback_speed; |