diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-12-18 09:31:50 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-12-18 09:31:50 +0000 |
commit | 6382c57f0e4287ad8875897bce394c718259f7a3 (patch) | |
tree | e8231874fe50f66ed8a0dc101aaccc73de970d3c /ext/faad/gstfaad.c | |
parent | 6662cd73ccfcd844ccabc53f57b2fe41b8ab580f (diff) | |
download | gst-plugins-bad-6382c57f0e4287ad8875897bce394c718259f7a3.tar.gz gst-plugins-bad-6382c57f0e4287ad8875897bce394c718259f7a3.tar.bz2 gst-plugins-bad-6382c57f0e4287ad8875897bce394c718259f7a3.zip |
Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding...
Original commit message from CVS:
Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding. This should fix mp3 playback.
Diffstat (limited to 'ext/faad/gstfaad.c')
-rw-r--r-- | ext/faad/gstfaad.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 56f38a4e..3be8fd92 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -404,6 +404,7 @@ gst_faad_chain (GstPad *pad, gst_buffer_unref (buf); return; } + if (info.samplerate != faad->samplerate || info.channels != faad->channels) { faad->samplerate = info.samplerate; |