[Bug 748259] New audio/video level element

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 2 04:11:59 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748259

Athanasios Oikonomou <athoik at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |athoik at gmail.com

--- Comment #30 from Athanasios Oikonomou <athoik at gmail.com> ---
Created attachment 316653
  --> https://bugzilla.gnome.org/attachment.cgi?id=316653&action=edit
videoframe-audiolevel: Use appropriate printf format for  gsize

Since commit 978bcd7181bf0f282cb17d2f5f6f1ac009508f37 building
plugins bad returns the following errors:

/git/gst/videoframe_audiolevel/gstvideoframe-audiolevel.c: In function
'gst_videoframe_audiolevel_asink_chain':
/git/gst/videoframe_audiolevel/gstvideoframe-audiolevel.c:691:9: error: format
'%ld' expects argument of type 'long int', but argument 8 has type 'gsize'
[-Werror=format=]
         GST_DEBUG_OBJECT (self, "Flushed %ld out of %ld bytes", bytes,
         ^
/git/gst/videoframe_audiolevel/gstvideoframe-audiolevel.c:691:9: error: format
'%ld' expects argument of type 'long int', but argument 9 has type 'gsize'
[-Werror=format=]
/git/gst/videoframe_audiolevel/gstvideoframe-audiolevel.c:712:5: error: format
'%ld' expects argument of type 'long int', but argument 8 has type 'gsize'
[-Werror=format=]
     GST_DEBUG_OBJECT (self, "Adapter contains %ld out of %ld bytes",
     ^
/git/gst/videoframe_audiolevel/gstvideoframe-audiolevel.c:712:5: error: format
'%ld' expects argument of type 'long int', but argument 9 has type 'gsize'
[-Werror=format=]

Use G_GSIZE_FORMAT format instead of %ld fixes the issue.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list