diff options
author | Alessandro Decina <alessandro.d@gmail.com> | 2012-02-26 20:30:24 +0100 |
---|---|---|
committer | Alessandro Decina <alessandro.d@gmail.com> | 2012-02-26 20:30:24 +0100 |
commit | 6e96f4c201d2d11a84d16dd52bb083bf8683da24 (patch) | |
tree | 2c7f45321992db662169f2c3dfaf753a39365f98 | |
parent | 676b371bdb2d80e9beee9c527b92c46214af4550 (diff) |
mpegaudioparse: fix compiler warning
-rw-r--r-- | gst/audioparsers/gstmpegaudioparse.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/audioparsers/gstmpegaudioparse.c b/gst/audioparsers/gstmpegaudioparse.c index a8c68252c..0fd7cccb3 100644 --- a/gst/audioparsers/gstmpegaudioparse.c +++ b/gst/audioparsers/gstmpegaudioparse.c @@ -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) { |