mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
28e879b517
Also add a property to get the used buffer.
15 lines
392 B
Text
15 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;
|
|
}
|
|
|