diff options
author | Alexander Preisinger <alexander.preisinger@gmail.com> | 2013-03-04 22:41:27 +0100 |
---|---|---|
committer | Alexander Preisinger <alexander.preisinger@gmail.com> | 2013-03-04 23:32:47 +0100 |
commit | 1198c031e4233a0cff5aa7d24aab986163f6903a (patch) | |
tree | bff49197908452f3ad1363edcf4c527db9bf1fe0 /video/out/vo_vdpau.c | |
parent | 4949992264d78d6dd22c0f6c611850402fd6eb30 (diff) | |
download | mpv-1198c031e4233a0cff5aa7d24aab986163f6903a.tar.bz2 mpv-1198c031e4233a0cff5aa7d24aab986163f6903a.tar.xz |
vo: Separate vo options from MPOpts
Separate the video output options from the big MPOpts structure and also only
pass the new mp_vo_opts structure to the vo backend.
Move video_driver_list into mp_vo_opts
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r-- | video/out/vo_vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index 02163f70bf..459fe2ca8c 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -377,7 +377,7 @@ static void resize(struct vo *vo) vc->src_rect_vid.y0 = vc->flip ? src_rect.y1 : src_rect.y0; vc->src_rect_vid.y1 = vc->flip ? src_rect.y0 : src_rect.y1; - int flip_offset_ms = vo->opts->vo.fs ? + int flip_offset_ms = vo->opts->fs ? vc->flip_offset_fs : vc->flip_offset_window; |