summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-28 21:42:22 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-28 21:42:22 +0000
commit90654b8eff9f64602fd64d2f7aaee7964fd31d08 (patch)
treee46185cb8811a35c063a0bfe8bb4453512cd3ec5 /cfg-common.h
parent106158f4f1a016c46dfd7161a8baf5643ecd324c (diff)
downloadmpv-90654b8eff9f64602fd64d2f7aaee7964fd31d08.tar.bz2
mpv-90654b8eff9f64602fd64d2f7aaee7964fd31d08.tar.xz
added code to scan the video stream to search the actual video codec used;
triggered only if requested by the user with option -psprobe. Evo files require this option because H264 is stored like MPEG2 without using the PSM git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22055 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index ffa24cdf38..21324490f8 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -235,6 +235,7 @@
{"tsprog", &ts_prog, CONF_TYPE_INT, CONF_RANGE, 0, 65534, NULL},
#define TS_MAX_PROBE_SIZE 2000000 /* don't forget to change this in libmpdemux/demux_ts.c too */
{"tsprobe", &ts_probe, CONF_TYPE_POSITION, 0, 0, TS_MAX_PROBE_SIZE, NULL},
+ {"psprobe", &ps_probe, CONF_TYPE_POSITION, 0, 0, TS_MAX_PROBE_SIZE, NULL},
{"tskeepbroken", &ts_keep_broken, CONF_TYPE_FLAG, 0, 0, 1, NULL},
// draw by slices or whole frame (useful with libmpeg2/libavcodec)
@@ -384,6 +385,7 @@ extern int demuxer_type, audio_demuxer_type, sub_demuxer_type;
extern int ts_prog;
extern int ts_keep_broken;
extern off_t ts_probe;
+extern off_t ps_probe;
#include "stream/tv.h"
#include "stream/stream_radio.h"