vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Dec 19 22:24:23 2018 +0200| [787c58d3183922ba9d29ff805101ceb89f8edd3a] | committer: Rémi Denis-Courmont
kva: avoid copying vd->info > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=787c58d3183922ba9d29ff805101ceb89f8edd3a --- modules/video_output/kva.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c index 0995fa8ce2..47035016e7 100644 --- a/modules/video_output/kva.c +++ b/modules/video_output/kva.c @@ -167,11 +167,6 @@ static void PMThread( void *arg ) video_format_ApplyRotation(&fmt, fmtp); /* */ - vout_display_info_t info = vd->info; - info.is_slow = false; - info.has_double_click = true; - info.has_pictures_invalid = false; - MorphToPM(); sys->hab = WinInitialize( 0 ); @@ -275,7 +270,10 @@ static void PMThread( void *arg ) /* Setup vout_display now that everything is fine */ *fmtp = fmt; - vd->info = info; + + vd->info.is_slow = false; + vd->info.has_double_click = true; + vd->info.has_pictures_invalid = false; vd->pool = Pool; vd->prepare = NULL; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
