[vlc-commits] vout blend: remove default buffer callback implementation
Steve Lhomme
git at videolan.org
Wed Sep 18 09:06:17 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jul 19 10:22:20 2019 +0200| [6680eb86f75647c8264d4df75abbdb6af9b114d6] | committer: Steve Lhomme
vout blend: remove default buffer callback implementation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6680eb86f75647c8264d4df75abbdb6af9b114d6
---
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 49b9c46a54..13339547e2 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;
More information about the vlc-commits
mailing list