blob: 99fd03e10100146b01e7c48d44f5eed676f0a494 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001Upstream-Status: Inappropriate
2
3RPI-Distro repo forks original vlc and applies patches
4to enable raspiberry pi support.
5
6--- a/modules/video_chroma/chain.c
7+++ b/modules/video_chroma/chain.c
8@@ -280,8 +280,9 @@ static int BuildTransformChain( filter_t
9 return VLC_SUCCESS;
10
11 /* Lets try resize+chroma first, then transform */
12- msg_Dbg( p_filter, "Trying to build chroma+resize" );
13- EsFormatMergeSize( &fmt_mid, &p_filter->fmt_out, &p_filter->fmt_in );
14+ msg_Dbg( p_filter, "Trying to build chroma+resize, then transform" );
15+ es_format_Copy( &fmt_mid, &p_filter->fmt_out );
16+ video_format_TransformTo(&fmt_mid.video, p_filter->fmt_in.video.orientation);
17 i_ret = CreateChain( p_filter, &fmt_mid );
18 es_format_Clean( &fmt_mid );
19 if( i_ret == VLC_SUCCESS )