diff --git a/ChangeLog b/ChangeLog index f263473dca..56ed0b047d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-06 Tim-Philipp Müller + + * 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 * ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page), diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 36459391e1..ffba8cf6ba 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -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);