[vlc-devel] [PATCH 3/9] swscale: bail out if 3D stereo conversion is requested
    Vittorio Giovara 
    vittorio.giovara at gmail.com
       
    Sat Aug  9 15:41:19 CEST 2014
    
    
  
On Fri, Aug 8, 2014 at 7:13 PM, Felix Abecassis
<felix.abecassis at gmail.com> wrote:
> ---
>  modules/video_chroma/swscale.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/modules/video_chroma/swscale.c b/modules/video_chroma/swscale.c
> index 8ce512c..4b753da 100644
> --- a/modules/video_chroma/swscale.c
> +++ b/modules/video_chroma/swscale.c
> @@ -362,6 +362,9 @@ static int Init( filter_t *p_filter )
>      if( p_fmti->orientation != p_fmto->orientation )
>          return VLC_EGENERIC;
>
> +    if( p_fmti->stereo_format.mode != p_fmto->stereo_format.mode )
> +        return VLC_EGENERIC;
> +
>      if( video_format_IsSimilar( p_fmti, &p_sys->fmt_in ) &&
>          video_format_IsSimilar( p_fmto, &p_sys->fmt_out ) &&
>          p_sys->ctx )
Seems ok but why?
-- 
Vittorio
    
    
More information about the vlc-devel
mailing list