From c5340512dd5a75079779c896505a038caf3ce69a Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 6 Feb 2013 21:41:21 +0100 Subject: 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}" --- core/command.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'core/command.c') 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; -- cgit v1.2.3