mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
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:
parent
fe91f88cea
commit
23a756b6c8
1 changed files with 2 additions and 2 deletions
|
@ -1189,7 +1189,7 @@ gst_asf_demux_identify_guid (GstASFDemux *asf_demux,
|
||||||
GST_CAPS_NEW (name, \
|
GST_CAPS_NEW (name, \
|
||||||
mimetype, \
|
mimetype, \
|
||||||
"rate", GST_PROPS_INT ( \
|
"rate", GST_PROPS_INT ( \
|
||||||
GUINT32_FROM_LE (audio->byte_rate)), \
|
GUINT32_FROM_LE (audio->sample_rate)), \
|
||||||
"channels", GST_PROPS_INT ( \
|
"channels", GST_PROPS_INT ( \
|
||||||
GUINT16_FROM_LE (audio->channels)), \
|
GUINT16_FROM_LE (audio->channels)), \
|
||||||
__VA_ARGS__) \
|
__VA_ARGS__) \
|
||||||
|
@ -1207,7 +1207,7 @@ gst_asf_demux_identify_guid (GstASFDemux *asf_demux,
|
||||||
GST_CAPS_NEW (name, \
|
GST_CAPS_NEW (name, \
|
||||||
mimetype, \
|
mimetype, \
|
||||||
"rate", GST_PROPS_INT ( \
|
"rate", GST_PROPS_INT ( \
|
||||||
GUINT32_FROM_LE (audio->byte_rate)), \
|
GUINT32_FROM_LE (audio->sample_rate)), \
|
||||||
"channels", GST_PROPS_INT ( \
|
"channels", GST_PROPS_INT ( \
|
||||||
GUINT16_FROM_LE (audio->channels)), \
|
GUINT16_FROM_LE (audio->channels)), \
|
||||||
##props) \
|
##props) \
|
||||||
|
|
Loading…
Reference in a new issue