hi,
wl2776 wrote:
> If I create an instance of the playbin2, then its clock field contains a
> pointer to an object named "GstSystemClock".
>
> However, if I create a new pipeline with gst_pipeline_new, its clock field
> is NULL.
> But, if a call gst_pipeline_get_clock() returns a pointer to an object with
> the same name (GstSystemClock).
>
> I also digged in the playbin2 sources and didn't find a code, filling this
> field.
>
> So, what does this clock field mean, and how can I fill and use it?
>
you don't fill it normally. The pipleine will ask its elements about a
clock (e.g. the audiosink would usualy provide one). If noone provides
one a system clock it used.
Stefan
------------------------------------------------------------------------------
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