mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gst-libs/gst/riff/riff-media.c:
Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): Set depth on WMA caps (#333545, patch by: Fabrizio Gennari).
This commit is contained in:
parent
fbacae967b
commit
e3abdc2b9a
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
|
||||
Set depth on WMA caps (#333545, patch by: Fabrizio Gennari).
|
||||
|
||||
2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page),
|
||||
|
|
|
@ -809,7 +809,8 @@ gst_riff_create_audio_caps (guint16 codec_id,
|
|||
|
||||
if (strf != NULL) {
|
||||
gst_caps_set_simple (caps,
|
||||
"bitrate", G_TYPE_INT, strf->av_bps * 8, NULL);
|
||||
"bitrate", G_TYPE_INT, strf->av_bps * 8,
|
||||
"depth", G_TYPE_INT, strf->size, NULL);
|
||||
} else {
|
||||
gst_caps_set_simple (caps,
|
||||
"bitrate", GST_TYPE_INT_RANGE, 0, G_MAXINT, NULL);
|
||||
|
|
Loading…
Reference in a new issue