mplayer, stream_tv: move variable initialization

It's not clear why that was done in mplayer's main function.
This commit is contained in:
wm4 2012-08-03 04:51:55 +02:00
parent 548bae63e7
commit 4ced6d4e78
2 changed files with 1 additions and 5 deletions

View File

@ -3491,10 +3491,6 @@ int main(int argc, char *argv[])
set_path_env(); set_path_env();
#endif #endif
#ifdef CONFIG_TV
stream_tv_defaults.immediate = 1;
#endif
parse_cfgfiles(mpctx, mpctx->mconfig); parse_cfgfiles(mpctx, mpctx->mconfig);
mpctx->playlist = talloc_struct(mpctx, struct playlist, {0}); mpctx->playlist = talloc_struct(mpctx, struct playlist, {0});

View File

@ -49,7 +49,7 @@ tv_param_t stream_tv_defaults = {
-1.0, //fps -1.0, //fps
NULL, //channels NULL, //channels
0, //noaudio; 0, //noaudio;
0, //immediate; 1, //immediate;
44100, //audiorate; 44100, //audiorate;
0, //audio_id 0, //audio_id
-1, //amode -1, //amode