summaryrefslogtreecommitdiffstats
path: root/demux/stheader.h
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-09-01 22:26:05 +0200
committerDudemanguy <random342@airmail.cc>2023-09-17 16:48:42 +0000
commitc40b064e38b762e14f0b50229ccbf882ddb9bffe (patch)
tree1d696222c9eb46a4152e9602ad496ba7d07f9e24 /demux/stheader.h
parent63ca12d7bc01d20ee558f15a71adb15c895e25a0 (diff)
downloadmpv-c40b064e38b762e14f0b50229ccbf882ddb9bffe.tar.bz2
mpv-c40b064e38b762e14f0b50229ccbf882ddb9bffe.tar.xz
demux: add crop to mp_codec_params
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 447bc0aa1f..1bc036d648 100644
--- a/demux/stheader.h
+++ b/demux/stheader.h
@@ -106,6 +106,7 @@ struct mp_codec_params {
int rotate; // intended display rotation, in degrees, [0, 359]
int stereo_mode; // mp_stereo3d_mode (0 if none/unknown)
struct mp_colorspace color; // colorspace info where available
+ struct mp_rect crop; // crop to be applied
// STREAM_VIDEO + STREAM_AUDIO
int bits_per_coded_sample;