summaryrefslogtreecommitdiffstats
path: root/demux/stheader.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-20 21:29:22 +0200
committerwm4 <wm4@nowhere>2014-04-21 02:57:16 +0200
commitfd2f40762fb07bb50d385bac287a7ee1da36857c (patch)
treeb037a982c8d50497b74490d306721b18e27cee57 /demux/stheader.h
parent3b5a331c40b936190bb25d4b40474c979bde95da (diff)
downloadmpv-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 'demux/stheader.h')
-rw-r--r--demux/stheader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/stheader.h b/demux/stheader.h
index 2940dc6a4d..99dc35832a 100644
--- a/demux/stheader.h
+++ b/demux/stheader.h
@@ -81,6 +81,7 @@ typedef struct sh_video {
float aspect; // aspect ratio stored in the file (for prescaling)
int i_bps; // == bitrate (compressed bytes/sec)
int disp_w, disp_h; // display size
+ int rotate; // intended display rotation, in degrees, [0, 359]
MP_BITMAPINFOHEADER *bih;
} sh_video_t;