mirror of https://github.com/mpv-player/mpv
mplayer, stream_tv: move variable initialization
It's not clear why that was done in mplayer's main function.
This commit is contained in:
parent
548bae63e7
commit
4ced6d4e78
|
@ -3491,10 +3491,6 @@ int main(int argc, char *argv[])
|
|||
set_path_env();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_TV
|
||||
stream_tv_defaults.immediate = 1;
|
||||
#endif
|
||||
|
||||
parse_cfgfiles(mpctx, mpctx->mconfig);
|
||||
|
||||
mpctx->playlist = talloc_struct(mpctx, struct playlist, {0});
|
||||
|
|
|
@ -49,7 +49,7 @@ tv_param_t stream_tv_defaults = {
|
|||
-1.0, //fps
|
||||
NULL, //channels
|
||||
0, //noaudio;
|
||||
0, //immediate;
|
||||
1, //immediate;
|
||||
44100, //audiorate;
|
||||
0, //audio_id
|
||||
-1, //amode
|
||||
|
|
Loading…
Reference in New Issue