[vlc-devel] [PATCH 3/9] swscale: bail out if 3D stereo conversion is requested
Felix Abecassis
felix.abecassis at gmail.com
Tue Sep 9 19:07:17 CEST 2014
Please ignore second one, both format-patch got interleaved.
2014-09-09 19:03 GMT+02:00 Felix Abecassis <felix.abecassis at gmail.com>:
> ---
> 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 )
> --
> 1.9.1
>
>
--
Félix Abecassis
http://felix.abecassis.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140909/dd6ef943/attachment.html>
More information about the vlc-devel
mailing list