summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorxylosper <darklin20@gmail.com>2015-01-08 03:00:26 +0900
committerwm4 <wm4@nowhere>2015-01-07 19:22:54 +0100
commit21000774bf3fc68b65b0caad079aa908872940bb (patch)
treeee589ba68c2c623d76a75a8bedc3efd178a6e999 /osdep
parentf811348d0caabccdc72100c7d7d2f9df8332518a (diff)
downloadmpv-21000774bf3fc68b65b0caad079aa908872940bb.tar.bz2
mpv-21000774bf3fc68b65b0caad079aa908872940bb.tar.xz
gl_video.c: invalidate image_params in uninit_video()
When the given mp_image_params does not match with that of gl_video, gl_video_config() always calls uninit_video() but calls init_video() only if valid format is given. Since uninit_video() does not change image_params of gl_video, when the same params as the previous one is given to gl_video_config() after gl_video is unitialized with invalid format, gl_video_config() never calls init_video(). To prevent this, invalidate image_params of gl_video in uninit_video().
Diffstat (limited to 'osdep')
0 files changed, 0 insertions, 0 deletions