[vlc-commits] chroma: chain: fix wrong fmt_out
Thomas Guillem
git at videolan.org
Tue Mar 20 14:17:56 CET 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar 20 14:03:35 2018 +0100| [83ea025d44dd69d15053fedb6132cf37feceec0d] | committer: Thomas Guillem
chroma: chain: fix wrong fmt_out
Regression from 7fd02feb6c6be674066b68c2f53776a5504f4657
You need to force the fmt_out in case the chain filter is allowed to change its
fmt_out.
(cherry picked from commit bf2e19f46e316f28c19979e5d9c4889b8ba03e8d)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=83ea025d44dd69d15053fedb6132cf37feceec0d
---
modules/video_chroma/chain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_chroma/chain.c b/modules/video_chroma/chain.c
index bfd8f50e8a..885676f534 100644
--- a/modules/video_chroma/chain.c
+++ b/modules/video_chroma/chain.c
@@ -445,7 +445,7 @@ static int CreateChain( filter_t *p_parent, const es_format_t *p_fmt_mid )
else
{
if( filter_chain_AppendConverter( p_parent->p_sys->p_chain,
- p_fmt_mid, NULL ) )
+ p_fmt_mid, &p_parent->fmt_out ) )
goto error;
}
return VLC_SUCCESS;
More information about the vlc-commits
mailing list