audio: correct condition for MPEG case.

Signed-off-by: Anuj Jaiswal <anuj.jaiswal@samsung.com>

https://bugzilla.gnome.org/show_bug.cgi?id=736797
This commit is contained in:
Anuj Jaiswal 2014-09-17 17:40:04 +05:30 committed by Arun Raghavan
parent 07d1d7ba38
commit 798ff6e561

View file

@ -116,7 +116,7 @@ gst_audio_iec61937_frame_size (const GstAudioRingBufferSpec * spec)
frames = 384;
else if (version == 2 && layer == 1 && spec->info.rate < 32000)
frames = 768;
else if (version == 2 && layer == 1 && spec->info.rate < 32000)
else if (version == 2 && layer == 2 && spec->info.rate < 32000)
frames = 2304;
else
frames = 1152;