vo_x11: fix build with older Libav versions

Why does this happen everytime...
This commit is contained in:
wm4 2014-07-28 21:48:43 +02:00
parent d0a8b571c9
commit 26bfcc9c82
1 changed files with 4 additions and 4 deletions

View File

@ -333,10 +333,10 @@ static bool resize(struct vo *vo)
// between window and video rectangle (i.e. not into panscan borders).
p->osd.w = p->dst_w;
p->osd.h = p->dst_h;
p->osd.mt = FFMIN(0, p->osd.mt);
p->osd.mb = FFMIN(0, p->osd.mb);
p->osd.mr = FFMIN(0, p->osd.mr);
p->osd.ml = FFMIN(0, p->osd.ml);
p->osd.mt = MPMIN(0, p->osd.mt);
p->osd.mb = MPMIN(0, p->osd.mb);
p->osd.mr = MPMIN(0, p->osd.mr);
p->osd.ml = MPMIN(0, p->osd.ml);
mp_input_set_mouse_transform(vo->input_ctx, &p->dst, NULL);