Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
gstreamer-video-0.10
Gst
VideoSink
show_preroll_frame
center_rect
VideoSink
show_frame
height
width
VideoSink
Object Hierarchy:
Description:
public
class
VideoSink
:
BaseSink
The video sink class structure. Derived classes should override the
Namespace:
Gst
Package:
gstreamer-video-0.10
Content:
Properties:
public
bool
show_preroll_frame
{
construct
set
;
get
; }
Whether to show video frames during preroll. If set to
false
, video frames will only be rendered in PLAYING state.
Static methods:
public
static
void
center_rect
(
VideoRectangle
src,
VideoRectangle
dst,
VideoRectangle
_result,
bool
scaling)
Takes
src
rectangle and position it at the center of
dst
rectangle with or without
scaling
. It handles clipping if the
src
rectangle is bigger than the
dst
one and
scaling
is set to FALSE.
Creation methods:
protected
VideoSink
()
Methods:
public
virtual
FlowReturn
show_frame
(
Buffer
buf)
Fields:
public
int
height
public
int
width