2006-05-19 19:24:35 +00:00
|
|
|
#include <glib.h>
|
|
|
|
#include <gst/gstclock.h>
|
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
guint64
|
|
|
|
gstsharp_gst_clock_get_gst_second ()
|
2006-05-19 19:24:35 +00:00
|
|
|
{
|
2009-04-07 09:27:20 +00:00
|
|
|
return GST_SECOND;
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
guint64
|
|
|
|
gstsharp_gst_clock_get_gst_msecond ()
|
2006-05-19 19:24:35 +00:00
|
|
|
{
|
2009-04-07 09:27:20 +00:00
|
|
|
return GST_MSECOND;
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
guint64
|
|
|
|
gstsharp_gst_clock_get_gst_usecond ()
|
2006-05-19 19:24:35 +00:00
|
|
|
{
|
2009-04-07 09:27:20 +00:00
|
|
|
return GST_USECOND;
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
guint64
|
|
|
|
gstsharp_gst_clock_get_gst_nsecond ()
|
2006-05-19 19:24:35 +00:00
|
|
|
{
|
2009-04-07 09:27:20 +00:00
|
|
|
return GST_NSECOND;
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
2006-07-12 21:49:32 +00:00
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
guint64
|
|
|
|
gstsharp_gst_clock_get_time_none ()
|
2006-07-12 21:49:32 +00:00
|
|
|
{
|
2009-04-07 09:27:20 +00:00
|
|
|
return GST_CLOCK_TIME_NONE;
|
2006-07-12 21:49:32 +00:00
|
|
|
}
|
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
gboolean
|
|
|
|
gstsharp_gst_clock_time_is_valid (GstClockTime time)
|
2006-07-12 21:49:32 +00:00
|
|
|
{
|
2009-04-07 09:27:20 +00:00
|
|
|
return GST_CLOCK_TIME_IS_VALID (time);
|
2006-07-12 21:49:32 +00:00
|
|
|
}
|