summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-08-31 16:59:14 +0200
committerJan Ekström <jeebjp@gmail.com>2024-03-07 21:12:12 +0200
commitda3bfc96e90001175c59aeed442b1eff05bfc18a (patch)
tree29acbd44351bc9a74f9f7289592fdf6c76939f39 /video/out/vo.h
parenta6f661b5c7620225a86b8d687433b229ce6f2132 (diff)
downloadmpv-da3bfc96e90001175c59aeed442b1eff05bfc18a.tar.bz2
mpv-da3bfc96e90001175c59aeed442b1eff05bfc18a.tar.xz
vo: add video-target-params property
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 3879d024e7..3deee0d3a7 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -481,6 +481,7 @@ struct vo {
// generic getter is protected by params_mutex.
mp_mutex params_mutex;
struct mp_image_params *params; // Configured parameters (changed in vo_reconfig)
+ struct mp_image_params *target_params; // Target display parameters
// --- The following fields can be accessed only by the VO thread, or from
// anywhere _if_ the VO thread is suspended (use vo->dispatch).
@@ -554,5 +555,6 @@ void vo_get_src_dst_rects(struct vo *vo, struct mp_rect *out_src,
struct vo_frame *vo_frame_ref(struct vo_frame *frame);
struct mp_image_params vo_get_current_params(struct vo *vo);
+struct mp_image_params vo_get_target_params(struct vo *vo);
#endif /* MPLAYER_VIDEO_OUT_H */