Skip to content

Commit

Permalink
player example: glwidget2 as default. openglwidget results in hi cpu …
Browse files Browse the repository at this point in the history
…load
  • Loading branch information
wang-bin committed Jul 8, 2015
1 parent b9d4c5e commit 862b572
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/player/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@ int main(int argc, char *argv[])
qDebug("vo: %s", vo.toUtf8().constData());
vo = vo.toLower();
if (vo != "opengl" && vo != "gl" && vo != "d2d" && vo != "gdi" && vo != "xv" && vo != "qt")
#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
vo = "opengl";
#else
vo = "gl";
#endif
QString title = "QtAV " /*+ vo + " "*/ + QtAV_Version_String_Long() + " [email protected]";
#ifndef QT_NO_OPENGL
VideoRendererId vid = VideoRendererId_GLWidget2;
Expand Down

0 comments on commit 862b572

Please sign in to comment.