mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
448405d86a
* gstreamer-sharp.mds: * gstreamer-sharp.mdp: Updated MonoDevelo project/solution * source/gstreamer-sharp-source.xml: Cleaned up a bit * sample/DecodeBinTranscoder.cs: Updated to reflect renaming of Clock.GstSecond to Clock.Second, etc. * gstreamer-sharp/glue/clock.c: Added gstsharp_gst_clock_get_time_none and gstsharp_gst_clock_time_is_valid * gstreamer-sharp/Clock.custom: Added bindings for new clock glue and renamed GstNSecond to NSecond (and friends) git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@62535 e3ebcda4-bce8-0310-ba0a-eca2169e7518
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
|
|
[DllImport("gstsharpglue-0.10")]
|
|
private extern static ulong gstsharp_gst_clock_get_gst_second();
|
|
|
|
public static readonly ulong Second = gstsharp_gst_clock_get_gst_second();
|
|
|
|
[DllImport("gstsharpglue-0.10")]
|
|
private extern static ulong gstsharp_gst_clock_get_gst_msecond();
|
|
|
|
public static readonly ulong MSecond = gstsharp_gst_clock_get_gst_second();
|
|
|
|
[DllImport("gstsharpglue-0.10")]
|
|
private extern static ulong gstsharp_gst_clock_get_gst_usecond();
|
|
|
|
public static readonly ulong USecond = gstsharp_gst_clock_get_gst_second();
|
|
|
|
[DllImport("gstsharpglue-0.10")]
|
|
private extern static ulong gstsharp_gst_clock_get_gst_nsecond();
|
|
|
|
public static readonly ulong NSecond = gstsharp_gst_clock_get_gst_second();
|
|
|
|
[DllImport("gstsharpglue-0.10")]
|
|
private extern static ulong gstsharp_gst_clock_get_clock_time_none();
|
|
|
|
public static readonly ulong TimeNone = gstsharp_gst_clock_get_clock_time_none();
|
|
|
|
[DllImport("gstsharpglue-0.10")]
|
|
private extern static bool gstsharp_gst_clock_time_is_valid(ulong time);
|
|
|
|
public static bool TimeIsValid(ulong time)
|
|
{
|
|
return gstsharp_gst_clock_time_is_valid(time);
|
|
}
|
|
|