summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-24 18:09:29 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-24 18:09:29 +0000
commitcbecdb30962db8203ebdbfe24c2e6951f93edc1c (patch)
tree82cce0871b5732f1c8c9eebe3c0837570c7e1382 /cfg-common.h
parent38f4f0b4cf9858c4bb7806a67ea7ae60c2db25b1 (diff)
downloadmpv-cbecdb30962db8203ebdbfe24c2e6951f93edc1c.tar.bz2
mpv-cbecdb30962db8203ebdbfe24c2e6951f93edc1c.tar.xz
- re-added the old and (no more used) option -tsfastparse with a
CONF_TYPE_PRINT - option -tsprog <number> to specify the chosen program (-vid and -aid still override the single stream pids) patch by Nico <nsabbi@libero.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10689 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 857b341f53..fd28689f2a 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -181,7 +181,9 @@
{"flip", &flip, CONF_TYPE_FLAG, 0, -1, 1, NULL},
{"noflip", &flip, CONF_TYPE_FLAG, 0, -1, 0, NULL},
- {"tsfastparse", &ts_fastparse, CONF_TYPE_INT, 0, 0, 0, NULL},
+ {"tsfastparse", "-tsfastparse isn't a valid option anymore.\n", CONF_TYPE_PRINT, CONF_NOCFG ,0,0, NULL
+},
+ {"tsprog", &ts_prog, CONF_TYPE_INT, CONF_RANGE, 0, 65534, NULL},
// draw by slices or whole frame (useful with libmpeg2/libavcodec)
{"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL},
@@ -282,7 +284,7 @@ extern m_option_t cdda_opts[];
extern char* audio_stream;
extern char* sub_stream;
extern int demuxer_type, audio_demuxer_type, sub_demuxer_type;
-extern int ts_fastparse;
+extern int ts_prog;
#include "libmpdemux/tv.h"