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 516524 - uninitialized variables
uninitialized variables
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal blocker
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-14 19:05 UTC by Wim Taymans
Modified: 2008-02-18 11:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to initialize the values to -1 (652 bytes, patch)
2008-02-14 19:06 UTC, Wim Taymans
committed Details | Review

Description Wim Taymans 2008-02-14 19:05:07 UTC
the seqbase and timebase variables of a stream are never set to an uninitialized value meaning that in some cases the default (wrong) value of 0 is used. This breaks playback.
Comment 1 Wim Taymans 2008-02-14 19:06:14 UTC
Created attachment 105269 [details] [review]
patch to initialize the values to -1
Comment 2 Wim Taymans 2008-02-18 11:13:28 UTC
        * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream):
        Init values to -1 instead of the default 0 value.
        Fixes #516524.