report TRUE for IS_AUDIO control when user forces the audio recording

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9635 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2003-03-21 16:46:38 +00:00
parent d65c8518de
commit a284605302
1 changed files with 1 additions and 0 deletions

View File

@ -943,6 +943,7 @@ static int control(priv_t *priv, int cmd, void *arg)
return(TVI_CONTROL_FALSE);
}
case TVI_CONTROL_IS_AUDIO:
if (tv_param_force_audio) return(TVI_CONTROL_TRUE);
if (priv->channels[priv->act_channel].flags & VIDEO_VC_AUDIO)
{
return(TVI_CONTROL_TRUE);