Top | ![]() |
![]() |
![]() |
![]() |
GstClock *
gst_test_clock_new_with_start_time (GstClockTime start_time
);
void gst_test_clock_set_time (GstTestClock *test_clock
,GstClockTime new_time
);
void gst_test_clock_advance_time (GstTestClock *test_clock
,GstClockTimeDiff delta
);
gboolean gst_test_clock_peek_next_pending_id (GstTestClock *test_clock
,GstClockID *pending_id
);
void gst_test_clock_wait_for_next_pending_id (GstTestClock *test_clock
,GstClockID *pending_id
);
void gst_test_clock_wait_for_pending_id_count (GstTestClock *test_clock
,guint count
);
gst_test_clock_wait_for_pending_id_count
is deprecated and should not be used in newly-written code.
GstClockID
gst_test_clock_process_next_clock_id (GstTestClock *test_clock
);
GstClockTime
gst_test_clock_get_next_entry_time (GstTestClock *test_clock
);
void gst_test_clock_wait_for_multiple_pending_ids (GstTestClock *test_clock
,guint count
,GList **pending_list
);
GstClockTime
gst_test_clock_id_list_get_latest_time
(const GList *pending_list
);
guint gst_test_clock_process_id_list (GstTestClock *test_clock
,const GList *pending_list
);
“clock-type”
property“clock-type” GstClockType
The kind of clock implementation to be reported by this clock.
Flags: Read / Write
Default value: GST_CLOCK_TYPE_MONOTONIC
“start-time”
property“start-time” guint64
Start Time of the Clock.
Flags: Read / Write / Construct Only
Default value: 0