From: Andre Noll Date: Tue, 6 Oct 2009 21:25:23 +0000 (+0200) Subject: Set channels and samplerate of the filter chain X-Git-Tag: v0.4.1~112 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=25c6a5340fbcba912bea4b949631f4dd767f7888 Set channels and samplerate of the filter chain --- diff --git a/wmadec_filter.c b/wmadec_filter.c index 8298296d..2ab6c178 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -1286,6 +1286,8 @@ static ssize_t wmadec_convert(char *inbuffer, size_t len, if (ret <= 0) return ret; fn->private_data = pwd; + fn->fc->channels = pwd->ahi.channels; + fn->fc->samplerate = pwd->ahi.sample_rate; return pwd->ahi.header_len; } /* skip 31 bytes */