summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorxylosper <darklin20@gmail.com>2015-01-08 03:00:26 +0900
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:07 +0900
commit83d44a4f6afc584ce2c7cfcda964575add7d5fbe (patch)
tree6449cd63627bb50eecee0d1e586f0511dbe140ae /sub
parent6609f68691677ac8ef2613a41bd8a21fd01d9cd8 (diff)
downloadmpv-83d44a4f6afc584ce2c7cfcda964575add7d5fbe.tar.bz2
mpv-83d44a4f6afc584ce2c7cfcda964575add7d5fbe.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 'sub')
0 files changed, 0 insertions, 0 deletions