Mercurial > mplayer.hg
comparison libmpdemux/tvi_v4l.c @ 7835:d489890c59d3
add an option to force audio recording when a tv card reports no audio sources
author | henry |
---|---|
date | Tue, 22 Oct 2002 07:56:13 +0000 |
parents | 830f10ad97ac |
children | ba459e95d27a |
comparison
equal
deleted
inserted
replaced
7834:830f10ad97ac | 7835:d489890c59d3 |
---|---|
490 memset(priv->buf, 0, priv->nbuf * sizeof(struct video_mmap)); | 490 memset(priv->buf, 0, priv->nbuf * sizeof(struct video_mmap)); |
491 | 491 |
492 /* init v4l audio even when we don't capture */ | 492 /* init v4l audio even when we don't capture */ |
493 init_v4l_audio(priv); | 493 init_v4l_audio(priv); |
494 | 494 |
495 if (!priv->capability.audios) tv_param_noaudio = 1; | 495 if (!priv->capability.audios && !tv_param_force_audio) tv_param_noaudio = 1; |
496 | 496 |
497 /* audio init */ | 497 /* audio init */ |
498 if (!tv_param_noaudio) { | 498 if (!tv_param_noaudio) { |
499 | 499 |
500 #ifdef HAVE_ALSA9 | 500 #ifdef HAVE_ALSA9 |