Mercurial > mplayer.hg
comparison libvo/vo_vdpau.c @ 36208:363dce384fba
Do not lose OSD and subtitles on resize.
author | reimar |
---|---|
date | Thu, 06 Jun 2013 13:08:48 +0000 |
parents | 658a648d3301 |
children | 598767b14852 |
comparison
equal
deleted
inserted
replaced
36207:658a648d3301 | 36208:363dce384fba |
---|---|
326 CHECK_ST_WARNING("Error when calling vdp_output_surface_create") | 326 CHECK_ST_WARNING("Error when calling vdp_output_surface_create") |
327 mp_msg(MSGT_VO, MSGL_DBG2, "OUT CREATE: %u\n", output_surfaces[i]); | 327 mp_msg(MSGT_VO, MSGL_DBG2, "OUT CREATE: %u\n", output_surfaces[i]); |
328 } | 328 } |
329 } | 329 } |
330 video_to_output_surface(); | 330 video_to_output_surface(); |
331 if (visible_buf) | 331 if (visible_buf) { |
332 draw_eosd(); | |
333 draw_osd(); | |
332 flip_page(); | 334 flip_page(); |
335 } | |
333 } | 336 } |
334 | 337 |
335 static void preemption_callback(VdpDevice device, void *context) | 338 static void preemption_callback(VdpDevice device, void *context) |
336 { | 339 { |
337 mp_msg(MSGT_VO, MSGL_ERR, "[vdpau] Display preemption detected\n"); | 340 mp_msg(MSGT_VO, MSGL_ERR, "[vdpau] Display preemption detected\n"); |