diff options
author | wm4 <wm4@nowhere> | 2014-04-20 21:29:22 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-21 02:57:16 +0200 |
commit | fd2f40762fb07bb50d385bac287a7ee1da36857c (patch) | |
tree | b037a982c8d50497b74490d306721b18e27cee57 /video/decode | |
parent | 3b5a331c40b936190bb25d4b40474c979bde95da (diff) | |
download | mpv-fd2f40762fb07bb50d385bac287a7ee1da36857c.tar.bz2 mpv-fd2f40762fb07bb50d385bac287a7ee1da36857c.tar.xz |
demux: export video rotation parameter
Now the rotation hint is propagated everywhere. It just isn't used
anywhere yet.
Diffstat (limited to 'video/decode')
-rw-r--r-- | video/decode/vd_lavc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 969c78f54c..4935913d73 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -444,6 +444,7 @@ static void update_image_params(struct dec_video *vd, AVFrame *frame, .colorlevels = avcol_range_to_mp_csp_levels(ctx->avctx->color_range), .chroma_location = avchroma_location_to_mp(ctx->avctx->chroma_sample_location), + .rotate = vd->header->video->rotate, }; } |