diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-14 16:07:07 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-14 16:09:05 +0100 |
commit | 37875a95ebbdd551a113c542d730017960c1e4e1 (patch) | |
tree | 09895796bc3ca2efe6cca0f14765bae183f9c869 | |
parent | 5497a8d140f3aa2c141fd9e6bcfa2fc2c0dcf771 (diff) |
Lower minimum sample rate in generic template caps from 8000 to 4000
Fixes playback of ADPCM clip (#591809).
-rw-r--r-- | ext/ffmpeg/gstffmpegcodecmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index 04e0677..7907388 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -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++) { |