mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
New option -audiofile-cache to enable a cache for the stream used by
-audiofile git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9712 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bc2d0751ba
commit
30f755c5fb
@ -91,6 +91,7 @@
|
|||||||
|
|
||||||
// demuxer.c - select audio/sub file/demuxer
|
// demuxer.c - select audio/sub file/demuxer
|
||||||
{ "audiofile", &audio_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
|
{ "audiofile", &audio_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
|
||||||
|
{ "audiofile-cache", &audio_stream_cache, CONF_TYPE_INT, CONF_RANGE, 50, 65536, NULL},
|
||||||
{ "subfile", &sub_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
|
{ "subfile", &sub_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
|
||||||
{ "demuxer", &demuxer_type, CONF_TYPE_INT, CONF_RANGE, 1, DEMUXER_TYPE_MAX, NULL },
|
{ "demuxer", &demuxer_type, CONF_TYPE_INT, CONF_RANGE, 1, DEMUXER_TYPE_MAX, NULL },
|
||||||
{ "audio-demuxer", &audio_demuxer_type, CONF_TYPE_INT, CONF_RANGE, 1, DEMUXER_TYPE_MAX, NULL },
|
{ "audio-demuxer", &audio_demuxer_type, CONF_TYPE_INT, CONF_RANGE, 1, DEMUXER_TYPE_MAX, NULL },
|
||||||
@ -323,6 +324,7 @@ struct config tvopts_conf[]={
|
|||||||
extern struct config dvbin_opts_conf[];
|
extern struct config dvbin_opts_conf[];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int audio_stream_cache;
|
||||||
|
|
||||||
extern int sws_chr_vshift;
|
extern int sws_chr_vshift;
|
||||||
extern int sws_chr_hshift;
|
extern int sws_chr_hshift;
|
||||||
|
Loading…
Reference in New Issue
Block a user