[vlc-commits] transcode: copy video orientation to encoder
Rafaël Carré
git at videolan.org
Wed Apr 2 09:19:27 CEST 2014
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Apr 1 17:56:23 2014 +0200| [3f4eb3aa38427110fe33e5336d108bcae14a53c5] | committer: Rafaël Carré
transcode: copy video orientation to encoder
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f4eb3aa38427110fe33e5336d108bcae14a53c5
---
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 3b099c1..ca582d3 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 =
More information about the vlc-commits
mailing list