![]() |
![]() |
![]() |
GStreamer VA-API Plugins 0.10 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define GST_VAAPI_VIDEO_SINK_GET_INTERFACE (obj) struct GstVaapiVideoSinkInterface; GstVaapiDisplay * gst_vaapi_video_sink_get_display (GstVaapiVideoSink *sink
); GstVaapiVideoSink * gst_vaapi_video_sink_lookup (GstElement *element
);
struct GstVaapiVideoSinkInterface { GstVaapiDisplay *(*get_display)(GstVaapiVideoSink *sink); };
virtual function for retrieving the GstVaapiDisplay created by the downstream sink element. The implementation of that virtual function is required for all Gstreamer/VAAPI sink elements. |
GstVaapiDisplay * gst_vaapi_video_sink_get_display (GstVaapiVideoSink *sink
);
Returns the GstVaapiDisplay created by the VA-API sink
element.
|
a GstElement |
Returns : |
the GstVaapiDisplay created by the sink element |
GstVaapiVideoSink * gst_vaapi_video_sink_lookup (GstElement *element
);
Traverses the whole downstream elements chain and finds a suitable GstVaapiDisplay. This is a helper function for intermediate VA-API elements that don't create a GstVaapiDisplay but require one. e.g. the `vaapiconvert' element.
|
a GstElement |
Returns : |
the GstVaapiDisplay created by a downstream sink
element, or NULL if none was found |