summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-07 12:26:54 +0100
committerwm4 <wm4@nowhere>2020-03-07 12:47:46 +0100
commitf20dfef880d9dc80b02a4368ee743f8a764f52db (patch)
tree90c314fa3ac52ae488c8f7f423c69856081c8fd5
parenta23869379c6d3d32c9160f8ca508273963128a84 (diff)
downloadmpv-f20dfef880d9dc80b02a4368ee743f8a764f52db.tar.bz2
mpv-f20dfef880d9dc80b02a4368ee743f8a764f52db.tar.xz
demux: mark recently added debug option as deprecated
It was the intention to remove it again after a release or two; mark it was deprecated so nobody thinks it gets to stay.
-rw-r--r--demux/demux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 98ad31dbe0..60fd54facf 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -137,7 +137,8 @@ const struct m_sub_options demux_conf = {
OPT_DOUBLE("demuxer-backward-playback-step", back_seek_size, M_OPT_MIN,
.min = 0),
OPT_STRING("metadata-codepage", meta_cp, 0),
- OPT_FLAG("demuxer-force-retry-on-eof", force_retry_eof, 0),
+ OPT_FLAG("demuxer-force-retry-on-eof", force_retry_eof, 0,
+ .deprecation_message = "temporary debug option, no replacement"),
{0}
},
.size = sizeof(struct demux_opts),