From 46a3f6a1b0d46d3323d1d82d1d10705415dd0c74 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Fri, 30 Oct 2020 10:14:56 +0100 Subject: [PATCH] Add mmal_chain --- mmal_chain.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mmal_chain.patch diff --git a/mmal_chain.patch b/mmal_chain.patch new file mode 100644 index 0000000..03e4acb --- /dev/null +++ b/mmal_chain.patch @@ -0,0 +1,14 @@ +--- a/modules/video_chroma/chain.c ++++ b/modules/video_chroma/chain.c +@@ -280,8 +280,9 @@ static int BuildTransformChain( filter_t + return VLC_SUCCESS; + + /* Lets try resize+chroma first, then transform */ +- msg_Dbg( p_filter, "Trying to build chroma+resize" ); +- EsFormatMergeSize( &fmt_mid, &p_filter->fmt_out, &p_filter->fmt_in ); ++ msg_Dbg( p_filter, "Trying to build chroma+resize, then transform" ); ++ es_format_Copy( &fmt_mid, &p_filter->fmt_out ); ++ video_format_TransformTo(&fmt_mid.video, p_filter->fmt_in.video.orientation); + i_ret = CreateChain( p_filter, &fmt_mid ); + es_format_Clean( &fmt_mid ); + if( i_ret == VLC_SUCCESS )