mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
[583/906] deinterlace: change for new API
also allow elements to call the _filter_texture vfunc if they want
This commit is contained in:
parent
eed7e15ed2
commit
c7f49800e3
2 changed files with 3 additions and 1 deletions
|
@ -571,7 +571,7 @@ gst_gl_filter_decide_allocation (GstBaseTransform * trans, GstQuery * query)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
gboolean
|
||||||
gst_gl_filter_filter_texture (GstGLFilter * filter, GstBuffer * inbuf,
|
gst_gl_filter_filter_texture (GstGLFilter * filter, GstBuffer * inbuf,
|
||||||
GstBuffer * outbuf)
|
GstBuffer * outbuf)
|
||||||
{
|
{
|
||||||
|
|
|
@ -97,6 +97,8 @@ struct _GstGLFilterClass
|
||||||
|
|
||||||
GType gst_gl_filter_get_type(void);
|
GType gst_gl_filter_get_type(void);
|
||||||
|
|
||||||
|
gboolean gst_gl_filter_filter_texture (GstGLFilter * filter, GstBuffer * inbuf,
|
||||||
|
GstBuffer * outbuf);
|
||||||
|
|
||||||
void
|
void
|
||||||
gst_gl_filter_render_to_target (GstGLFilter *filter,
|
gst_gl_filter_render_to_target (GstGLFilter *filter,
|
||||||
|
|
Loading…
Reference in a new issue