[vlc-devel] [PATCH 6/9] decoder: forward 3D stereo type from packetizer to decoder
Rémi Denis-Courmont
remi at remlab.net
Fri Aug 8 20:31:37 CEST 2014
Le vendredi 8 août 2014, 20:13:31 Felix Abecassis a écrit :
> ---
> src/input/decoder.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/input/decoder.c b/src/input/decoder.c
> index db7d28d..b767c18 100644
> --- a/src/input/decoder.c
> +++ b/src/input/decoder.c
> @@ -1603,6 +1603,8 @@ static void DecoderProcessVideo( decoder_t *p_dec,
> block_t *p_block, bool b_flus p_packetizer->fmt_out.video.i_sar_den;
> }
>
> + p_dec->fmt_in.video.stereo_format =
> p_packetizer->fmt_out.video.stereo_format;
> +
Considering the corresponding SAR code, I would expect this *only* if
p_packetizer->fmt_out.video.stereo_format is *not* 2D.
> if( p_packetizer->pf_get_cc )
> DecoderGetCc( p_dec, p_packetizer );
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list