Commit 37875a95 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

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

Fixes playback of ADPCM clip (#591809).
parent 5497a8d1
...@@ -430,7 +430,7 @@ gst_ff_aud_caps_new (AVCodecContext * context, enum CodecID codec_id, ...@@ -430,7 +430,7 @@ gst_ff_aud_caps_new (AVCodecContext * context, enum CodecID codec_id,
gst_structure_set_value (structure, "rate", &list); gst_structure_set_value (structure, "rate", &list);
g_value_unset (&list); g_value_unset (&list);
} else } 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++) { for (i = 0; i < gst_caps_get_size (caps); i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment