mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
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.
This commit is contained in:
parent
6ea2c23869
commit
1a230de17b
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue