Commit 1a230de1 authored by Wim Taymans's avatar Wim Taymans

gst/qtdemux/qtdemux.c: force mono 8000 Hz on AMR samples.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
force mono 8000 Hz on AMR samples.
parent 6ea2c238
2006-04-10 Wim Taymans <wim@fluendo.com>
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
force mono 8000 Hz on AMR samples.
2006-04-09 Sebastien Moutte <sebastien@moutte.net>
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_start):
......
......@@ -3285,8 +3285,12 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
}
/* promote to sampled format */
if (stream->fourcc == GST_MAKE_FOURCC ('s', 'a', 'm', 'r'))
if (stream->fourcc == GST_MAKE_FOURCC ('s', 'a', 'm', 'r')) {
/* force mono 8000 Hz for AMR */
stream->sampled = TRUE;
stream->n_channels = 1;
stream->rate = 8000;
}
if (stream->fourcc == GST_MAKE_FOURCC ('m', 'p', '4', 'a'))
stream->sampled = TRUE;
......
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