mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-31 22:49:02 +00:00
mpegaudioparse: fix compiler warning
This commit is contained in:
parent
676b371bdb
commit
6e96f4c201
1 changed files with 2 additions and 3 deletions
|
@ -146,8 +146,7 @@ gst_mpeg_audio_parse_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "MPEG1 Audio Parser",
|
||||
|
@ -573,7 +572,7 @@ gst_mp3parse_find_freerate (GstMpegAudioParse * mp3parse, GstBuffer * buf,
|
|||
}
|
||||
|
||||
if (valid) {
|
||||
GST_LOG_OBJECT (mp3parse, "calculated rate %d", rate * 1000);
|
||||
GST_LOG_OBJECT (mp3parse, "calculated rate %lu", rate * 1000);
|
||||
if (rate < 8 || (layer == 3 && rate > 640)) {
|
||||
GST_DEBUG_OBJECT (mp3parse, "rate invalid");
|
||||
if (rate < 8) {
|
||||
|
|
Loading…
Reference in a new issue