vd_ffmpeg: Reset ctx->vo_initialized to 0 on a resolution change
commitad144017204a7537a9b95712541e7425d6722763
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 11 Dec 2010 18:37:00 +0000 (11 18:37 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 16 Dec 2010 04:22:18 +0000 (16 06:22 +0200)
tree24c7150217b53fa551adb43512eaa56476793395
parentd34257b5a3ec9d1b9884b68424573b14b9d131e9
vd_ffmpeg: Reset ctx->vo_initialized to 0 on a resolution change

Otherwise we might think the filter chain/vo is ready when it
actually is not, leading to a crash.
Fixes crash part of bug 1156.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32690 b3059339-0415-0410-9bf9-f77b7e298cf2
libmpcodecs/vd_ffmpeg.c