1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix videosurface flipping buffers

This commit is contained in:
derMart 2015-01-12 16:11:04 +01:00
parent 3a107e33c8
commit e5d736e6c0

View File

@ -30,7 +30,7 @@ VideoSurface::VideoSurface(QWidget* parent)
, hasSubscribed(false) , hasSubscribed(false)
, pboIndex(0) , pboIndex(0)
{ {
setAutoBufferSwap(false); setAutoBufferSwap(true);
} }
VideoSurface::VideoSurface(VideoSource *source, QWidget* parent) VideoSurface::VideoSurface(VideoSource *source, QWidget* parent)