# HG changeset patch # User andoma # Date 1212398104 0 # Node ID 17074236eb1434b770cda9d024516f96977358b9 # Parent d31673961099ed15c56735762e1141c6f77c0ba9 Audio channels and sample rate must be set in order to skip additional probing of a stream. diff -r d31673961099 -r 17074236eb14 utils.c --- a/utils.c Mon Jun 02 04:08:30 2008 +0000 +++ b/utils.c Mon Jun 02 09:15:04 2008 +0000 @@ -1694,7 +1694,7 @@ int val; switch(enc->codec_type) { case CODEC_TYPE_AUDIO: - val = enc->sample_rate; + val = enc->sample_rate && enc->channels; break; case CODEC_TYPE_VIDEO: val = enc->width && enc->pix_fmt != PIX_FMT_NONE;