diff options
author | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-29 11:15:22 +0000 |
---|---|---|
committer | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-29 11:15:22 +0000 |
commit | aa549a325ba265018b6a46a3c1c5e08b160d596d (patch) | |
tree | 6fee04047f941403f33d28d53b95954afa4f573c | |
parent | 3068ff3f90297daa3a2625fcc0d782fc2a6e7873 (diff) |
10l: Don't use MP_IMGFIELD_TOP_FIRST if MP_IMGFIELD_ORDERED is not set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29093 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_vdpau.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index 963cf17bb9..b727236df2 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -892,7 +892,10 @@ static uint32_t draw_image(mp_image_t *mpi) mpi->stride); // pitch CHECK_ST_ERROR("Error when calling vdp_video_surface_put_bits_y_cb_cr") } + if (mpi->fields & MP_IMGFIELD_ORDERED) top_field_first = !!(mpi->fields & MP_IMGFIELD_TOP_FIRST); + else + top_field_first = 1; video_to_output_surface(); return VO_TRUE; |