mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
16 lines
392 B
Text
16 lines
392 B
Text
|
Gst.Buffer buffer = null;
|
||
|
public Gst.Buffer Buffer {
|
||
|
get {
|
||
|
return buffer;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[DllImport ("libgstbase-0.10.dll", CallingConvention = CallingConvention.Cdecl) ]
|
||
|
static extern IntPtr gst_bit_reader_new_from_buffer (IntPtr buffer);
|
||
|
|
||
|
public BitReader (Gst.Buffer buffer) {
|
||
|
Raw = gst_bit_reader_new_from_buffer (buffer == null ? IntPtr.Zero : buffer.Handle);
|
||
|
this.buffer = buffer;
|
||
|
}
|
||
|
|