demux: add crop to mp_codec_params

This commit is contained in:
Kacper Michajłow
2023-09-01 22:26:05 +02:00
committed by Dudemanguy
parent 63ca12d7bc
commit c40b064e38
4 changed files with 35 additions and 0 deletions

View File

@@ -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;