[vlc-devel] [PATCH 1/2] transcode: copy video orientation to encoder
Rafaël Carré
funman at videolan.org
Tue Apr 1 17:58:04 CEST 2014
---
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 =
--
1.9.1
More information about the vlc-devel
mailing list