summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-22 13:28:31 +0100
committerwm4 <wm4@nowhere>2013-01-23 10:55:00 +0100
commitf2dcdca0c2dc5f904323659b65b29a2b6f00fd88 (patch)
tree0ae1f6d9f1ef82e34795965327bb8ab076eb7b2c /video/filter/vf.h
parentc9396c0aabb6c1b710e1cdaa3fb123182dc91279 (diff)
downloadmpv-f2dcdca0c2dc5f904323659b65b29a2b6f00fd88.tar.bz2
mpv-f2dcdca0c2dc5f904323659b65b29a2b6f00fd88.tar.xz
video: move handling of -x/-y/-xy options to VO
Now the calculations of the final display size are done after the filter chain. This makes the difference between display aspect ratio and window size a bit more clear, especially in the -xy case. With an empty filter chain, the behavior of the options should be the same, except that they don't affect vo_image and vo_lavc anymore.
Diffstat (limited to 'video/filter/vf.h')
-rw-r--r--video/filter/vf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/filter/vf.h b/video/filter/vf.h
index 4398abebc7..44b820c04a 100644
--- a/video/filter/vf.h
+++ b/video/filter/vf.h
@@ -144,8 +144,8 @@ int vf_config_wrapper(struct vf_instance *vf,
unsigned int flags, unsigned int outfmt);
void vf_print_filter_chain(int msglevel, struct vf_instance *vf);
-void vf_rescale_dsize(struct vf_instance *vf, int *d_width, int *d_height,
- int old_w, int old_h, int new_w, int new_h);
+void vf_rescale_dsize(int *d_width, int *d_height, int old_w, int old_h,
+ int new_w, int new_h);
static inline int norm_qscale(int qscale, int type)
{