[gstreamer-bugs] [Bug 509329] New: [rtspsrc] use atoll when parsing rtptime

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jan 14 02:43:18 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=509329

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: [rtspsrc] use atoll when parsing rtptime
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ext-tommi.myohanen at nokia.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


With large values rtptime gets truncated when parsing it to timebase:

0:00:09.235565000  1711 0x2c008 DEBUG              rtspsrc
gstrtspsrc.c:4064:gst_rtspsrc_parse_rtpinfo:<source> parsing field seq=26185
0:00:09.236664000  1711 0x2c008 DEBUG              rtspsrc
gstrtspsrc.c:4064:gst_rtspsrc_parse_rtpinfo:<source> parsing field
rtptime=2959574162
0:00:09.237732000  1711 0x2c008 DEBUG              rtspsrc
gstrtspsrc.c:4081:gst_rtspsrc_parse_rtpinfo:<source> found stream 0x2eb08,
setting: seqbase 26185, timebase 2147483647

This can be fixed by parsing rtptime using atoll() instead of atol().


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=509329.




More information about the Gstreamer-bugs mailing list