After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665101 - Wrong format string in gst_dvd_read_src_do_seek
Wrong format string in gst_dvd_read_src_do_seek
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other Windows
: Normal blocker
: 0.10.19
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-29 04:45 UTC by LRN
Modified: 2011-11-29 07:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description LRN 2011-11-29 04:45:05 UTC
GST_DEBUG_OBJECT (src, "Format is sector, seeking to %d", s->last_stop);
causes
dvdreadsrc.c:1216:7: error: format '%d' expects type 'int', but argument 8 has type 'gint64'

I suggest changing it to:
      GST_DEBUG_OBJECT (src, "Format is sector, seeking to " G_GINT64_FORMAT, s->last_stop);
Comment 1 Sebastian Dröge (slomo) 2011-11-29 07:49:42 UTC
commit 895b88760fa4895e394252fc1958b32e4bfc2a58
Author: Руслан Ижбулатов <lrn1986@gmail.com>
Date:   Tue Nov 29 08:49:23 2011 +0100

    dvdreadsrc: Fix format string compiler warning
    
    Fixes bug #665101.