vo_vpdau: fix preemption recovery broken in decec7f2a37e559d
commite30416c9979232bf86cb58992421e66e03eda492
authorUoti Urpala <uau@mplayer2.org>
Thu, 11 Aug 2011 18:13:34 +0000 (11 21:13 +0300)
committerUoti Urpala <uau@mplayer2.org>
Thu, 11 Aug 2011 18:46:27 +0000 (11 21:46 +0300)
treec79f990dd895f3785c100e4ae4d809f694ec56aa
parent2a30588258a7c0bf15d5d20b614aa6f96a256e19
vo_vpdau: fix preemption recovery broken in decec7f2a37e559d

Commit decec7f2a3 ("vo_vdpau: skip resize code if not fully
initialized") broke preemption recovery because the resize code stayed
incorrectly disabled when it would have been used to reinitialize
things during recovery. Revert that commit and add different checks
to avoid running various code when not in a fully functional state.
libvo/vo_vdpau.c