From 90654b8eff9f64602fd64d2f7aaee7964fd31d08 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Sun, 28 Jan 2007 21:42:22 +0000 Subject: 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 --- cfg-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cfg-common.h') 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" -- cgit v1.2.3