The sample rate property needs 'sample_rate' not 'byte_rate'

Original commit message from CVS:
The sample rate property needs 'sample_rate' not 'byte_rate'
This commit is contained in:
Jeremy Simon 2003-10-26 13:55:13 +00:00
parent fe91f88cea
commit 23a756b6c8

View file

@ -1189,7 +1189,7 @@ gst_asf_demux_identify_guid (GstASFDemux *asf_demux,
GST_CAPS_NEW (name, \
mimetype, \
"rate", GST_PROPS_INT ( \
GUINT32_FROM_LE (audio->byte_rate)), \
GUINT32_FROM_LE (audio->sample_rate)), \
"channels", GST_PROPS_INT ( \
GUINT16_FROM_LE (audio->channels)), \
__VA_ARGS__) \
@ -1207,7 +1207,7 @@ gst_asf_demux_identify_guid (GstASFDemux *asf_demux,
GST_CAPS_NEW (name, \
mimetype, \
"rate", GST_PROPS_INT ( \
GUINT32_FROM_LE (audio->byte_rate)), \
GUINT32_FROM_LE (audio->sample_rate)), \
"channels", GST_PROPS_INT ( \
GUINT16_FROM_LE (audio->channels)), \
##props) \