Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 1 | Upstream-Status: Inappropriate |
| 2 | |
| 3 | RPI-Distro repo forks original vlc and applies patches |
| 4 | to 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 ) |