[vlc-devel] [PATCH 08/14] vout blend: remove default buffer callback implementation
Steve Lhomme
robux4 at ycbcr.xyz
Tue Sep 17 16:22:36 CEST 2019
---
src/video_output/video_output.c | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 49b9c46a54d..13339547e2e 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -935,11 +935,6 @@ static int ThreadDisplayPreparePicture(vout_thread_t *vout, bool reuse, bool fra
return VLC_SUCCESS;
}
-static picture_t *ConvertRGB32AndBlendBufferNew(filter_t *filter)
-{
- return picture_NewFromFormat(&filter->fmt_out.video);
-}
-
static picture_t *ConvertRGB32AndBlend(vout_thread_t *vout, picture_t *pic,
subpicture_t *subpic)
{
@@ -950,13 +945,7 @@ static picture_t *ConvertRGB32AndBlend(vout_thread_t *vout, picture_t *pic,
assert(vout->p->spu_blend);
- static const struct filter_video_callbacks cbs = {
- ConvertRGB32AndBlendBufferNew,
- };
- filter_owner_t owner = {
- .video = &cbs,
- };
- filter_chain_t *filterc = filter_chain_NewVideo(vout, false, &owner);
+ filter_chain_t *filterc = filter_chain_NewVideo(vout, false, NULL);
if (!filterc)
return NULL;
--
2.17.1
More information about the vlc-devel
mailing list