Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
fee5351a
Commit
fee5351a
authored
Jun 21, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: add XFlush - this does still not work right
parent
b18441e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+8
-0
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
fee5351a
...
@@ -48,6 +48,10 @@
...
@@ -48,6 +48,10 @@
#include <QResizeEvent>
#include <QResizeEvent>
#include <QDate>
#include <QDate>
#include <QMutexLocker>
#include <QMutexLocker>
#ifdef Q_WS_X11
# include <X11/Xlib.h>
# include <qx11info_x11.h>
#endif
/**********************************************************************
/**********************************************************************
* Video Widget. A simple frame on which video is drawn
* Video Widget. A simple frame on which video is drawn
...
@@ -85,6 +89,10 @@ VideoWidget::VideoWidget( intf_thread_t *_p_i ) : QFrame( NULL ), p_intf( _p_i )
...
@@ -85,6 +89,10 @@ VideoWidget::VideoWidget( intf_thread_t *_p_i ) : QFrame( NULL ), p_intf( _p_i )
void
VideoWidget
::
paintEvent
(
QPaintEvent
*
ev
)
void
VideoWidget
::
paintEvent
(
QPaintEvent
*
ev
)
{
{
QFrame
::
paintEvent
(
ev
);
QFrame
::
paintEvent
(
ev
);
#ifdef Q_WS_X11
XFlush
(
QX11Info
::
display
()
);
#endif
QMutexLocker
locker
(
&
handleLock
);
handleReady
=
true
;
handleReady
=
true
;
handleWait
.
wakeAll
();
handleWait
.
wakeAll
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment