mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
b94528f8e7
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@60875 e3ebcda4-bce8-0310-ba0a-eca2169e7518
13 lines
530 B
Text
13 lines
530 B
Text
[DllImport("gstreamer-0.10.dll")]
|
|
static extern bool gst_pad_query_position(IntPtr raw, ref Format format, out long cur);
|
|
|
|
public bool QueryPosition(Gst.Format format, out long cur) {
|
|
return gst_pad_query_position(Handle, ref format, out cur);
|
|
}
|
|
|
|
[DllImport("gstreamer-0.10.dll")]
|
|
static extern bool gst_pad_query_duration(IntPtr raw, ref Format format, out long duration);
|
|
|
|
public bool QueryDuration(Gst.Format format, out long duration) {
|
|
return gst_pad_query_duration(Handle, ref format, out duration);
|
|
}
|