Lower minimum sample rate in generic template caps from 8000 to 4000

Fixes playback of ADPCM clip (#591809).
This commit is contained in:
Tim-Philipp Müller 2009-08-14 16:07:07 +01:00
parent 5497a8d140
commit 37875a95eb

View file

@ -430,7 +430,7 @@ gst_ff_aud_caps_new (AVCodecContext * context, enum CodecID codec_id,
gst_structure_set_value (structure, "rate", &list);
g_value_unset (&list);
} else
gst_caps_set_simple (caps, "rate", GST_TYPE_INT_RANGE, 8000, 96000, NULL);
gst_caps_set_simple (caps, "rate", GST_TYPE_INT_RANGE, 4000, 96000, NULL);
}
for (i = 0; i < gst_caps_get_size (caps); i++) {