mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
Lower minimum sample rate in generic template caps from 8000 to 4000
Fixes playback of ADPCM clip (#591809).
This commit is contained in:
parent
5497a8d140
commit
37875a95eb
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue