GNOME Bugzilla – Bug 591286
Uninitialized stream_time variable in the GstPipeline causes the resyncing
Last modified: 2010-02-18 01:44:31 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.
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?
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.
It outputs which information? And which demo from which document do you mean? Which versions of gstreamer and gst-plugins-base are you using?
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!