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 591286 - Uninitialized stream_time variable in the GstPipeline causes the resyncing
Uninitialized stream_time variable in the GstPipeline causes the resyncing
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.23
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-10 03:23 UTC by H.Y
Modified: 2010-02-18 01:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description H.Y 2009-08-10 03:23:02 UTC
It seems that the stream_time variable in the GstPipeline is uninitalized before it is being used. The error often appears as follows:

Unexpected discontinuity in audio timestamps of more than half a second (0:00:00.510839002), resyncing
......

Does it being initialized by the gcc? I think it should be done in the gst_pipeline_init.
Comment 1 Sebastian Dröge (slomo) 2009-08-10 04:57:32 UTC
The stream_time field of GstPipeline is not used anymore and all fields are initialized to zero by GObject at instantiation already anyway. Your problem seems to be something different (discontinuities in your stream). Could you provide some more information, like how to reproduce it (maybe with a sample file) and what versions of gstreamer and the plugins you're using?
Comment 2 H.Y 2009-08-14 09:28:53 UTC
Yes, I create the pipeline, filesrc, demuxer, decoders and overlay2sink elements in the Qt gui thread. I regist a bus watcher to listen the gst events. and another   Gmainloop thread makes the watcher valid. The source code is almost same with the demo in GStreamer documnet. Eveytime when I playing a sample media, it always outputs the infomation.
Comment 3 Sebastian Dröge (slomo) 2009-08-17 15:56:26 UTC
It outputs which information? And which demo from which document do you mean?

Which versions of gstreamer and gst-plugins-base are you using?
Comment 4 Tim-Philipp Müller 2010-02-18 01:44:31 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!