Comment 1 for bug 1163695

Revision history for this message
Volodymyr Shatsky (shockone89) wrote :

Not sure if it's the best way possible, but it works. Add the following line before the return of VideoPlayer#relayout (file VideoPlayer.vala, line 447):
controls.slider.preview.width = (float)video_width / video_height * controls.slider.preview.height;