MantisBT - VCMI
View Issue Details
0000969VCMISound, music, videospublic2012-05-23 17:192014-05-30 17:41
majaczek 
Tow 
normalminorhave not tried
closedfixed 
0.88b 
 
0000969: Video for battle-win blinks dradramatically.
Every second frame blinks black.
Win a battle under 1024x768 resolution in window.
No tags attached.
Issue History
2012-05-23 17:19majaczekNew Issue
2012-05-24 15:24IvanNote Added: 0002539
2012-05-24 16:00WarmongerNote Added: 0002540
2012-05-24 18:29TowNote Added: 0002541
2012-05-25 11:56IvanNote Added: 0002549
2012-05-25 12:50majaczekNote Added: 0002551
2012-05-26 10:04TowNote Added: 0002565
2012-05-26 10:04TowStatusnew => resolved
2012-05-26 10:04TowResolutionopen => fixed
2012-05-26 10:04TowAssigned To => Tow
2014-05-30 17:41beegeeStatusresolved => closed

Notes
(0002539)
Ivan   
2012-05-24 15:24   
Interesting. I don't remember any blinking issues with Linux player. I'll check what may be wrong here.

Warmonger or Tow: do you have this issue? If this is bug with battle results window then I may fix this but I'll need confirmation whether my fix will work or not.
(0002540)
Warmonger   
2012-05-24 16:00   
Yes, it was present for some days.
(0002541)
Tow   
2012-05-24 18:29   
Yes. It looks as if screen was updated before drawing the video frame (and then updated again causing blinking effect).
(0002549)
Ivan   
2012-05-25 11:56   
I found (and fixed) bug which resulted in displaying video a bit earlier than window itself.
But don't know where blinking is coming from - code looks fine and doesn't differs much from tavern code. I'm leaving this to somebody else.
(0002551)
majaczek   
2012-05-25 12:50   
Sorry to mention so late, but this was on Windows7 not on linux.
(0002565)
Tow   
2012-05-26 10:04   
Actually it was pretty trivial (though I spent much time to find this):
last two arguments of videoh->update were false,true instead of true,false.

Fixed in r2714.