mirror of
https://github.com/mpv-player/mpv
synced 2025-01-27 10:03:32 +00:00
-nosound fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8800 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
82b0684858
commit
8c71d7179a
@ -404,6 +404,11 @@ int demux_open_tv(demuxer_t *demuxer)
|
||||
tv_param_noaudio = 1;
|
||||
}
|
||||
|
||||
/* disable TV audio if -nosound is present */
|
||||
if (!demuxer->audio || demuxer->audio->id == -2) {
|
||||
tv_param_noaudio = 1;
|
||||
}
|
||||
|
||||
/* set width */
|
||||
funcs->control(tvh->priv, TVI_CONTROL_VID_GET_WIDTH, &sh_video->disp_w);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user