![]() |
![]() |
![]() |
GStreamer Bad Plugins 0.10 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GstSurfaceConverterGstSurfaceConverter — Interface for GstSurfaceBuffer convertion |
GstSurfaceConverter; struct GstSurfaceConverterInterface; GType gst_surface_converter_get_type (void
); gboolean gst_surface_converter_upload (GstSurfaceConverter *converter
,GstSurfaceBuffer *buffer
);
Objects implementing this interface are used as a convertion context. This allow element optimizing the upload by keeping required resources between uploads. The context must be discarded when the pipeline goes to GST_STATE_NULL or renewed whenever the caps are changed.