diff --git a/gst-libs/gst/audio/gstaudioringbuffer.c b/gst-libs/gst/audio/gstaudioringbuffer.c index a8c81a1419..1302c282c9 100644 --- a/gst-libs/gst/audio/gstaudioringbuffer.c +++ b/gst-libs/gst/audio/gstaudioringbuffer.c @@ -277,7 +277,7 @@ gst_audio_ring_buffer_parse_caps (GstAudioRingBufferSpec * spec, GstCaps * caps) gst_structure_get_int (structure, "channels", &info.channels); spec->type = GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG; - info.bpf = 4; + info.bpf = 1; } else if (g_str_equal (mimetype, "audio/mpeg") && gst_structure_get_int (structure, "mpegversion", &i) && (i == 2 || i == 4) && @@ -290,7 +290,7 @@ gst_audio_ring_buffer_parse_caps (GstAudioRingBufferSpec * spec, GstCaps * caps) gst_structure_get_int (structure, "channels", &info.channels); spec->type = (i == 2) ? GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC : GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC; - info.bpf = 4; + info.bpf = 1; } else { goto parse_error; }