Mercurial > mplayer.hg
comparison cfg-common.h @ 11190:dad43bc55cfc
big demux_ts fix from Nico <nsabbi@libero.it>
author | attila |
---|---|
date | Mon, 20 Oct 2003 13:35:55 +0000 |
parents | 1ed8e514c725 |
children | f25d54466044 |
comparison
equal
deleted
inserted
replaced
11189:8b43f6485ac0 | 11190:dad43bc55cfc |
---|---|
74 {"noidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 0, NULL}, | 74 {"noidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 0, NULL}, |
75 {"idx", &index_mode, CONF_TYPE_FLAG, 0, -1, 1, NULL}, | 75 {"idx", &index_mode, CONF_TYPE_FLAG, 0, -1, 1, NULL}, |
76 {"forceidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 2, NULL}, | 76 {"forceidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 2, NULL}, |
77 | 77 |
78 // select audio/videosubtitle stream | 78 // select audio/videosubtitle stream |
79 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 8192, NULL}, | 79 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL}, |
80 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 8192, NULL}, | 80 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL}, |
81 {"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL}, | 81 {"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL}, |
82 {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL}, | 82 {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL}, |
83 | 83 |
84 { "hr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 0, 1, NULL }, | 84 { "hr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 0, 1, NULL }, |
85 { "nohr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 1, 0, NULL}, | 85 { "nohr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 1, 0, NULL}, |
86 | 86 |
182 {"flip", &flip, CONF_TYPE_FLAG, 0, -1, 1, NULL}, | 182 {"flip", &flip, CONF_TYPE_FLAG, 0, -1, 1, NULL}, |
183 {"noflip", &flip, CONF_TYPE_FLAG, 0, -1, 0, NULL}, | 183 {"noflip", &flip, CONF_TYPE_FLAG, 0, -1, 0, NULL}, |
184 {"tsfastparse", "-tsfastparse isn't a valid option anymore.\n", CONF_TYPE_PRINT, CONF_NOCFG ,0,0, NULL | 184 {"tsfastparse", "-tsfastparse isn't a valid option anymore.\n", CONF_TYPE_PRINT, CONF_NOCFG ,0,0, NULL |
185 }, | 185 }, |
186 {"tsprog", &ts_prog, CONF_TYPE_INT, CONF_RANGE, 0, 65534, NULL}, | 186 {"tsprog", &ts_prog, CONF_TYPE_INT, CONF_RANGE, 0, 65534, NULL}, |
187 #define TS_MAX_PROBE_SIZE 2000000 /* dont forget to change this in libmpdemux/demux_ts.c too */ | |
188 {"tsprobe", &ts_probe, CONF_TYPE_POSITION, 0, 0, TS_MAX_PROBE_SIZE, NULL}, | |
189 {"tskeepbroken", &ts_keep_broken, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | |
187 | 190 |
188 // draw by slices or whole frame (useful with libmpeg2/libavcodec) | 191 // draw by slices or whole frame (useful with libmpeg2/libavcodec) |
189 {"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 192 {"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
190 {"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL}, | 193 {"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL}, |
191 | 194 |
284 | 287 |
285 extern char* audio_stream; | 288 extern char* audio_stream; |
286 extern char* sub_stream; | 289 extern char* sub_stream; |
287 extern int demuxer_type, audio_demuxer_type, sub_demuxer_type; | 290 extern int demuxer_type, audio_demuxer_type, sub_demuxer_type; |
288 extern int ts_prog; | 291 extern int ts_prog; |
292 extern int ts_keep_broken; | |
293 extern off_t ts_probe; | |
289 | 294 |
290 #include "libmpdemux/tv.h" | 295 #include "libmpdemux/tv.h" |
291 | 296 |
292 #ifdef USE_EDL | 297 #ifdef USE_EDL |
293 extern char* edl_filename; | 298 extern char* edl_filename; |