summaryrefslogtreecommitdiffstats
path: root/m_option.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-01-19 06:49:47 +0200
committerUoti Urpala <uau@mplayer2.org>2012-03-09 20:48:54 +0200
commit7576885677764a71fe03cec5f697f8a28f9365c8 (patch)
treee93b5c8469cbfc1ac6fc60684f5564a8f6a95be8 /m_option.h
parent8a6b0b813a1431ca50986c90d97b72fa6640dbea (diff)
downloadmpv-7576885677764a71fe03cec5f697f8a28f9365c8.tar.bz2
mpv-7576885677764a71fe03cec5f697f8a28f9365c8.tar.xz
core: remove old EDL mode (--edl option)
Remove the old EDL implementation that was activated with the --edl option. It is mostly redundant and inferior compared to the newer demux_edl support, though currently there's no support for using the same EDL files with the new implementation and the mute functionality of the old implementation is not supported. The main reason to remove the old implementation at this point is that the mute functionality would conflict with following audio volume handling changes, and working on the old code would be a wasted effort in the long run as at some point it would be removed anyway. The --edlout functionality is kept for now, even though after this commit there is no code that could directly read its output.
Diffstat (limited to 'm_option.h')
-rw-r--r--m_option.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/m_option.h b/m_option.h
index 5b7e051290..de2854137d 100644
--- a/m_option.h
+++ b/m_option.h
@@ -507,5 +507,6 @@ static inline void m_option_free(const m_option_t *opt, void *dst)
#define OPT_HELPER_REMOVEPAREN(...) __VA_ARGS__
#define OPT_CHOICE(optname, varname, flags, choices) {optname, NULL, &m_option_type_choice, flags, 0, 0, (void *)&(const struct m_opt_choice_alternatives[]){OPT_HELPER_REMOVEPAREN choices, {NULL}}, 1, offsetof(struct MPOpts, varname)}
#define OPT_TIME(optname, varname, flags) {optname, NULL, &m_option_type_time, flags, 0, 0, NULL, 1, offsetof(struct MPOpts, varname)}
+#define OPT_ERRORMESSAGE(optname, message) {optname, message, CONF_TYPE_PRINT}
#endif /* MPLAYER_M_OPTION_H */