changeset 9634:8bb1a24ed0a8

report TRUE for IS_AUDIO control when user forces the audio recording
author henry
date Fri, 21 Mar 2003 16:46:38 +0000
parents 12b1790038b0
children cc20a6dc9bc3
files libmpdemux/tvi_v4l.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l.c	Fri Mar 21 16:42:50 2003 +0000
+++ b/libmpdemux/tvi_v4l.c	Fri Mar 21 16:46:38 2003 +0000
@@ -943,6 +943,7 @@
 	    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);