gstreamer/gstreamer-sharp/glue/clock.c

39 lines
521 B
C
Raw Normal View History

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