[vlc-devel] [PATCH 1/2] transcode: copy video orientation to encoder
Rémi Denis-Courmont
remi at remlab.net
Tue Apr 1 19:52:26 CEST 2014
Seems OK
On Tue, 1 Apr 2014 17:58:04 +0200, Rafaël Carré <funman at videolan.org>
wrote:
> ---
> modules/stream_out/transcode/video.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/modules/stream_out/transcode/video.c
> b/modules/stream_out/transcode/video.c
> index dd2fb50..739ad90 100644
> --- a/modules/stream_out/transcode/video.c
> +++ b/modules/stream_out/transcode/video.c
> @@ -528,6 +528,10 @@ static void transcode_video_encoder_init(
> sout_stream_t *p_stream,
> }
> }
>
> + id->p_encoder->fmt_in.video.orientation =
> + id->p_encoder->fmt_out.video.orientation =
> + id->p_decoder->fmt_in.video.orientation;
> +
> id->p_encoder->fmt_in.video.i_frame_rate =
> id->p_encoder->fmt_out.video.i_frame_rate;
> id->p_encoder->fmt_in.video.i_frame_rate_base =
--
Rémi Denis-Courmont
Sent from my collocated server
More information about the vlc-devel
mailing list