fixed: calculate pts correctly for second VDPAU field
authoranssih <anssih@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Mon, 9 Aug 2010 19:35:59 +0000 (19:35 +0000)
committeranssih <anssih@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Mon, 9 Aug 2010 19:35:59 +0000 (19:35 +0000)
commitbd2988860dffa364894a4727fa51915003a1e7fa
tree2973bddc5af0ad46a151e5a04fb715e6faead4fe
parent8192256d6e10e1073ae788ab8523f9b5e7f12ec4
fixed: calculate pts correctly for second VDPAU field

Currently VDPAU sets (for the second field) picture->pts to
DVD_NOPTS_VALUE so that the pts is calculated using iRepeatPicture
instead. However, CDVDPlayerVideo::Process() falls back to picture->dts
instead.

Fix that by setting picture->dts to DVD_NOPTS_VALUE as well, to make
CDVDPlayerVideo::Process() fall back further to using iRepeatPicture.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32656 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp