From: Stefan K. <en...@ho...> - 2010-04-16 09:18:52
|
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 |