[vlc-devel] [PATCH 3/6] test: decoder: remove redundant decoder picture allocation
Steve Lhomme
robux4 at ycbcr.xyz
Tue Jun 25 13:53:14 CEST 2019
The core can do it by default and not a part being tested.
---
test/src/input/decoder.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/test/src/input/decoder.c b/test/src/input/decoder.c
index 5773996b3f..137540662c 100644
--- a/test/src/input/decoder.c
+++ b/test/src/input/decoder.c
@@ -50,11 +50,6 @@ static inline struct decoder_owner *dec_get_owner(decoder_t *dec)
return container_of(dec, struct decoder_owner, dec);
}
-static picture_t *video_new_buffer_decoder(decoder_t *dec)
-{
- return picture_NewFromFormat(&dec->fmt_out.video);
-}
-
static subpicture_t *spu_new_buffer_decoder(decoder_t *dec,
const subpicture_updater_t * p_subpic)
{
@@ -141,7 +136,6 @@ decoder_t *test_decoder_create(vlc_object_t *parent, const es_format_t *fmt)
static const struct decoder_owner_callbacks dec_video_cbs =
{
.video = {
- .buffer_new = video_new_buffer_decoder,
.queue = queue_video,
.queue_cc = queue_cc,
},
--
2.17.1
More information about the vlc-devel
mailing list