[vlc-commits] videotoolbox: remove early chroma configuration
Thomas Guillem
git at videolan.org
Fri Jan 24 11:37:47 CET 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 22 14:01:31 2020 +0100| [a3a028f25fb9bd7b6f9317d18b30fefd74491caa] | committer: Thomas Guillem
videotoolbox: remove early chroma configuration
It was used to fix decoder device creation from the core but it's not needed
since 2210c192db61ca479024e4959c386a2c31ce693f
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3a028f25fb9bd7b6f9317d18b30fefd74491caa
---
modules/codec/videotoolbox.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/modules/codec/videotoolbox.c b/modules/codec/videotoolbox.c
index 873f28e692..85bc7064f2 100644
--- a/modules/codec/videotoolbox.c
+++ b/modules/codec/videotoolbox.c
@@ -1343,10 +1343,6 @@ CreateVideoContext(decoder_t *p_dec)
p_dec->fmt_out.video = p_dec->fmt_in.video;
p_dec->fmt_out.video.p_palette = NULL;
- /* Most likely used chroma but can be reconfigured in the future */
- p_dec->fmt_out.i_codec = VLC_CODEC_CVPX_NV12;
- p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec;
-
if (!p_dec->fmt_out.video.i_sar_num || !p_dec->fmt_out.video.i_sar_den)
{
p_dec->fmt_out.video.i_sar_num = 1;
More information about the vlc-commits
mailing list