vlc | branch: master | Matthias Keiser <matth...@tristan-inc.com> | Thu Feb 6 16:02:37 2014 +0100| [cc4f28aa4d21b90e52f0b29d278d204ac6f2994a] | committer: Rémi Denis-Courmont
avcodec: copy video orientation to output format Signed-off-by: Rémi Denis-Courmont <r...@remlab.net> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cc4f28aa4d21b90e52f0b29d278d204ac6f2994a --- modules/codec/avcodec/video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c index 83c5954..4e4da03 100644 --- a/modules/codec/avcodec/video.c +++ b/modules/codec/avcodec/video.c @@ -363,6 +363,8 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context, } p_dec->fmt_out.i_codec = p_dec->fmt_out.video.i_chroma; + p_dec->fmt_out.video.orientation = p_dec->fmt_in.video.orientation; + #if LIBAVCODEC_VERSION_MAJOR < 54 /* Setup palette */ memset( &p_sys->palette, 0, sizeof(p_sys->palette) ); _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits