Hi,
On Thu, 2010-03-25 at 00:39 -0800, wl2776 wrote:
> I am using the latest OSSBuild. Just tried loading The Big Buck Bunny ogg
> movie, downloaded from the official mirror
> (
http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.ogg),
> and noticed that GST_MESSAGE_DURATION doesn't appear.
>
> My player relies on this message and calls _query_duration after its
> appearance.
> Is it correct?
The definition of GST_MESSAGE_DURATION IS "The duration of a pipeline
changed. The application can get the new duration with a duration
query." There's no guarantee it'll be emitted.
The standard practice for querying duration is to wait for the
pipeline to have prerolled (PAUSED or PLAYING) and then query the
duration.
Edward.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel