Package Details: exmplayer-git 5.0.1.r38.g47f67c6-1

Git Clone URL: https://aur.archlinux.org/exmplayer-git.git (read-only, click to copy)
Package Base: exmplayer-git
Description: MPlayer GUI front-end. Plays any media file. Video downloader, subtitle search, audio converter/extractor, media cutter, Gif animation generator
Upstream URL: http://exmplayer.sourceforge.net/
Licenses: GPL
Conflicts: exmplayer
Provides: exmplayer
Submitter: willemw
Maintainer: willemw
Last Packager: willemw
Votes: 4
Popularity: 0.000000
First Submitted: 2015-09-25 08:38 (UTC)
Last Updated: 2021-08-14 10:27 (UTC)

Latest Comments

willemw commented on 2021-07-18 10:31 (UTC)

@dreick: it is a bug in upstream. "mp>0" needs to be changed to "mp!=0" or something similar, etc.

dreieck commented on 2021-07-18 08:45 (UTC)

Fails to build() for me:

[...]
playerwindow.cpp: In member function ‘void PlayerWindow::on_action_File_triggered()’:
playerwindow.cpp:1723:11: error: ordered comparison of pointer with integer zero (‘mplayerfe*’ and ‘int’)
 1723 |     if (mp>0)
      |         ~~^~
playerwindow.cpp: In member function ‘void PlayerWindow::on_actionForward_10_seconds_triggered()’:
playerwindow.cpp:1773:16: error: ordered comparison of pointer with integer zero (‘PictureFlow*’ and ‘int’)
 1773 |     if (picflow>  0 )
      |         ~~~~~~~^~~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_actionRewind_10_seconds_triggered()’:
playerwindow.cpp:1780:16: error: ordered comparison of pointer with integer zero (‘PictureFlow*’ and ‘int’)
 1780 |     if (picflow>  0 )
      |         ~~~~~~~^~~~
mplayerfe.cpp: In member function ‘void mplayerfe::initMediaInfo()’:
mplayerfe.cpp:1755:22: error: ordered comparison of pointer with integer zero (‘f1’ {aka ‘long int (*)()’} and ‘int’)
 1755 |     if (openMediaInfo>0)
      |         ~~~~~~~~~~~~~^~
mplayerfe.cpp:1758:21: error: ordered comparison of pointer with integer zero (‘f2’ {aka ‘long int (*)(long int, wchar_t*)’} and ‘int’)
 1758 |         if (readFile>0)
      |             ~~~~~~~~^~
mplayerfe.cpp:1759:24: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings]
 1759 |         {wchar_t *prop=L"Duration";
      |                        ^~~~~~~~~~~
mplayerfe.cpp:1759:19: warning: unused variable ‘prop’ [-Wunused-variable]
 1759 |         {wchar_t *prop=L"Duration";
      |                   ^~~~
mplayerfe.cpp:1750:8: warning: unused variable ‘closeMediaInfo’ [-Wunused-variable]
 1750 |     f4 closeMediaInfo =(f4) myLib0->resolve("MediaInfo_Close");
      |        ^~~~~~~~~~~~~~
mplayerfe.cpp:1751:9: warning: unused variable ‘MediaInfo_Delete’ [-Wunused-variable]
 1751 |     f4  MediaInfo_Delete=(f4) myLib0->resolve("MediaInfo_Delete");
      |         ^~~~~~~~~~~~~~~~
mplayerfe.cpp:1752:9: warning: unused variable ‘MediaInfo_Option’ [-Wunused-variable]
 1752 |     f5  MediaInfo_Option=(f5) myLib0->resolve("MediaInfo_Option");
      |         ^~~~~~~~~~~~~~~~
mplayerfe.cpp:1753:9: warning: unused variable ‘MediaInfo_Inform’ [-Wunused-variable]
 1753 |     f6  MediaInfo_Inform=(f6) myLib0->resolve(" MediaInfo_Inform");
      |         ^~~~~~~~~~~~~~~~
mplayerfe.cpp: In member function ‘float mplayerfe::getStreamingDuration()’:
mplayerfe.cpp:1792:17: error: ordered comparison of pointer with integer zero (‘f3’ {aka ‘wchar_t* (*)(long int, int, int, wchar_t*, int, int)’} and ‘int’)
 1792 |     if (readInfo>0)
      |         ~~~~~~~~^~
mplayerfe.cpp:1793:20: warning: ISO C++ forbids converting a string constant to ‘wchar_t*’ [-Wwrite-strings]
 1793 |     {wchar_t *prop=L"Duration";
      |                    ^~~~~~~~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_contrast_valueChanged(int)’:
playerwindow.cpp:2349:49: warning: unused parameter ‘value’ [-Wunused-parameter]
 2349 | void PlayerWindow::on_contrast_valueChanged(int value)
      |                                             ~~~~^~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_brightness_valueChanged(int)’:
playerwindow.cpp:2354:51: warning: unused parameter ‘value’ [-Wunused-parameter]
 2354 | void PlayerWindow::on_brightness_valueChanged(int value)
      |                                               ~~~~^~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_Hue_valueChanged(int)’:
playerwindow.cpp:2361:44: warning: unused parameter ‘value’ [-Wunused-parameter]
 2361 | void PlayerWindow::on_Hue_valueChanged(int value)
      |                                        ~~~~^~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_Saturation_valueChanged(int)’:
playerwindow.cpp:2367:51: warning: unused parameter ‘value’ [-Wunused-parameter]
 2367 | void PlayerWindow::on_Saturation_valueChanged(int value)
      |                                               ~~~~^~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_gamma_valueChanged(int)’:
playerwindow.cpp:2373:46: warning: unused parameter ‘value’ [-Wunused-parameter]
 2373 | void PlayerWindow::on_gamma_valueChanged(int value)
      |                                          ~~~~^~~~~
mplayerfe.cpp: In member function ‘QString mplayerfe::colorToRGB(unsigned int)’:
mplayerfe.cpp:1849:21: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
 1849 |     return s.sprintf("0x%02x%02x%02x", c.blue(), c.green(), c.red() );
      |            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtCore/qabstractanimation.h:43,
                 from /usr/include/qt/QtCore/QtCore:6,
                 from mplayerfe.h:20,
                 from mplayerfe.cpp:19:
/usr/include/qt/QtCore/qstring.h:393:14: note: declared here
  393 |     QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
      |              ^~~~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::setequlizerbandvalue(int)’:
playerwindow.cpp:2377:45: warning: unused parameter ‘bandval’ [-Wunused-parameter]
 2377 | void PlayerWindow::setequlizerbandvalue(int bandval)
      |                                         ~~~~^~~~~~~
playerwindow.cpp: In member function ‘virtual void PlayerWindow::mouseMoveEvent(QMouseEvent*)’:
playerwindow.cpp:2664:70: warning: ‘QWidget* QDesktopWidget::screen(int)’ is deprecated: Use QScreen [-Wdeprecated-declarations]
 2664 |             if (fullScreenControls->geometry().top()==desktop->screen()->height()-70)
      |                                                       ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtWidgets/QtWidgets:58,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtWidgets/qdesktopwidget.h:77:45: note: declared here
   77 |     QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);
      |                                             ^~~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::hidestatus()’:
playerwindow.cpp:2720:62: warning: ‘QWidget* QDesktopWidget::screen(int)’ is deprecated: Use QScreen [-Wdeprecated-declarations]
 2720 |     if (fullScreenControls->geometry().top()==desktop->screen()->height()-70)
      |                                               ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtWidgets/QtWidgets:58,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtWidgets/qdesktopwidget.h:77:45: note: declared here
   77 |     QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);
      |                                             ^~~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::setupPlaylistWindow()’:
playerwindow.cpp:2771:29: warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = Qt::AlignmentFlag; QFlags<T>::Zero = int QFlags<Qt::AlignmentFlag>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
 2771 | {ui->gridLayout_5->addWidget(myplaylist->tableWidget(),0,0,0);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qglobal.h:1299,
                 from /usr/include/qt/QtGui/qtguiglobal.h:43,
                 from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:43,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
playerwindow.cpp:2773:32: warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = Qt::AlignmentFlag; QFlags<T>::Zero = int QFlags<Qt::AlignmentFlag>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
 2773 |     ui->gridLayout_5->addWidget(ui->toolBarPlaylist,1,0,0);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qglobal.h:1299,
                 from /usr/include/qt/QtGui/qtguiglobal.h:43,
                 from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:43,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
playerwindow.cpp: In member function ‘virtual void PlayerWindow::wheelEvent(QWheelEvent*)’:
playerwindow.cpp:2984:22: warning: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta() [-Wdeprecated-declarations]
 2984 |     {if (event->delta()>0){
      |          ~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtGui/qtextlayout.h:49,
                 from /usr/include/qt/QtGui/qabstracttextdocumentlayout.h:45,
                 from /usr/include/qt/QtGui/QtGui:5,
                 from /usr/include/qt/QtWidgets/QtWidgetsDepends:4,
                 from /usr/include/qt/QtWidgets/QtWidgets:3,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtGui/qevent.h:219:16: note: declared here
  219 |     inline int delta() const  { return qt4D; }
      |                ^~~~~
playerwindow.cpp:3000:27: warning: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta() [-Wdeprecated-declarations]
 3000 |         { if (event->delta()>0){
      |               ~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtGui/qtextlayout.h:49,
                 from /usr/include/qt/QtGui/qabstracttextdocumentlayout.h:45,
                 from /usr/include/qt/QtGui/QtGui:5,
                 from /usr/include/qt/QtWidgets/QtWidgetsDepends:4,
                 from /usr/include/qt/QtWidgets/QtWidgets:3,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtGui/qevent.h:219:16: note: declared here
  219 |     inline int delta() const  { return qt4D; }
      |                ^~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_sliderVolume_actionTriggered(int)’:
playerwindow.cpp:3021:56: warning: unused parameter ‘action’ [-Wunused-parameter]
 3021 | void PlayerWindow::on_sliderVolume_actionTriggered(int action)
      |                                                    ~~~~^~~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_action_Media_Info_triggered()’:
playerwindow.cpp:3284:48: warning: ‘QString::KeepEmptyParts’ is deprecated [-Wdeprecated-declarations]
 3284 |                 { list= tmp.split("=",QString::KeepEmptyParts);
      |                                                ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:604:9: note: declared here
  604 |         KeepEmptyParts Q_DECL_ENUMERATOR_DEPRECATED,
      |         ^~~~~~~~~~~~~~
playerwindow.cpp:3284:48: warning: ‘QString::KeepEmptyParts’ is deprecated [-Wdeprecated-declarations]
 3284 |                 { list= tmp.split("=",QString::KeepEmptyParts);
      |                                                ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:604:9: note: declared here
  604 |         KeepEmptyParts Q_DECL_ENUMERATOR_DEPRECATED,
      |         ^~~~~~~~~~~~~~
playerwindow.cpp:3284:34: warning: ‘QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
 3284 |                 { list= tmp.split("=",QString::KeepEmptyParts);
      |                         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:609:17: note: declared here
  609 |     QStringList split(const QString &sep, SplitBehavior behavior,
      |                 ^~~~~
playerwindow.cpp:3298:51: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
 3298 |                     list = tmp.split("=",QString::SkipEmptyParts);
      |                                                   ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:605:9: note: declared here
  605 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
playerwindow.cpp:3298:51: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
 3298 |                     list = tmp.split("=",QString::SkipEmptyParts);
      |                                                   ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:605:9: note: declared here
  605 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
playerwindow.cpp:3298:37: warning: ‘QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
 3298 |                     list = tmp.split("=",QString::SkipEmptyParts);
      |                            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:609:17: note: declared here
  609 |     QStringList split(const QString &sep, SplitBehavior behavior,
      |                 ^~~~~
playerwindow.cpp:3346:51: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
 3346 |                     list = tmp.split("=",QString::SkipEmptyParts);
      |                                                   ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:605:9: note: declared here
  605 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
playerwindow.cpp:3346:51: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
 3346 |                     list = tmp.split("=",QString::SkipEmptyParts);
      |                                                   ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:605:9: note: declared here
  605 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
playerwindow.cpp:3346:37: warning: ‘QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
 3346 |                     list = tmp.split("=",QString::SkipEmptyParts);
      |                            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:609:17: note: declared here
  609 |     QStringList split(const QString &sep, SplitBehavior behavior,
      |                 ^~~~~
playerwindow.cpp:3372:51: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
 3372 |                     list = tmp.split("=",QString::SkipEmptyParts);
      |                                                   ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:605:9: note: declared here
  605 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
playerwindow.cpp:3372:51: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
 3372 |                     list = tmp.split("=",QString::SkipEmptyParts);
      |                                                   ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:605:9: note: declared here
  605 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
playerwindow.cpp:3372:37: warning: ‘QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
 3372 |                     list = tmp.split("=",QString::SkipEmptyParts);
      |                            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qstring.h:609:17: note: declared here
  609 |     QStringList split(const QString &sep, SplitBehavior behavior,
      |                 ^~~~~
playerwindow.cpp:3254:14: warning: unused variable ‘add’ [-Wunused-variable]
 3254 |         bool add=false;
      |              ^~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_eq3_valueChanged(int)’:
playerwindow.cpp:3572:44: warning: unused parameter ‘value’ [-Wunused-parameter]
 3572 | void PlayerWindow::on_eq3_valueChanged(int value)
      |                                        ~~~~^~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::toggleFullscreen()’:
playerwindow.cpp:3755:53: warning: ‘QWidget* QDesktopWidget::screen(int)’ is deprecated: Use QScreen [-Wdeprecated-declarations]
 3755 |         qDebug()<<"Screen Height :"<<desktop->screen()->height();
      |                                      ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtWidgets/QtWidgets:58,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtWidgets/qdesktopwidget.h:77:45: note: declared here
   77 |     QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);
      |                                             ^~~~~~
playerwindow.cpp:3756:52: warning: ‘QWidget* QDesktopWidget::screen(int)’ is deprecated: Use QScreen [-Wdeprecated-declarations]
 3756 |         qDebug()<<"Screen Width :"<<desktop->screen()->width();
      |                                     ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtWidgets/QtWidgets:58,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtWidgets/qdesktopwidget.h:77:45: note: declared here
   77 |     QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);
      |                                             ^~~~~~
playerwindow.cpp:3758:30: error: ordered comparison of pointer with integer zero (‘QToolBar*’ and ‘int’)
 3758 |         if(fullScreenControls<=0)
      |            ~~~~~~~~~~~~~~~~~~^~~
playerwindow.cpp:3824:53: warning: ‘QWidget* QDesktopWidget::screen(int)’ is deprecated: Use QScreen [-Wdeprecated-declarations]
 3824 |         fullScreenControlWidth=(long)desktop->screen()->width()*FULLSCREENCTRL_WIDTH_PERCENTAGE;
      |                                      ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtWidgets/QtWidgets:58,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtWidgets/qdesktopwidget.h:77:45: note: declared here
   77 |     QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);
      |                                             ^~~~~~
playerwindow.cpp:3826:34: warning: ‘QWidget* QDesktopWidget::screen(int)’ is deprecated: Use QScreen [-Wdeprecated-declarations]
 3826 |         leftSide=(desktop->screen()->width()/2)-(fullScreenControlWidth/2);
      |                   ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtWidgets/QtWidgets:58,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtWidgets/qdesktopwidget.h:77:45: note: declared here
   77 |     QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);
      |                                             ^~~~~~
playerwindow.cpp:3833:69: warning: ‘QWidget* QDesktopWidget::screen(int)’ is deprecated: Use QScreen [-Wdeprecated-declarations]
 3833 |             fullScreenControls->setGeometry(leftSide,desktop->screen()->height()-FULLSCREENCTRLHEIGHT,fullScreenControlWidth,70);
      |                                                      ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtWidgets/QtWidgets:58,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtWidgets/qdesktopwidget.h:77:45: note: declared here
   77 |     QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);
      |                                             ^~~~~~
playerwindow.cpp:3849:68: warning: ‘QWidget* QDesktopWidget::screen(int)’ is deprecated: Use QScreen [-Wdeprecated-declarations]
 3849 |             animation->setStartValue(QRect(leftSide,desktop->screen()->height(),fullScreenControlWidth,70));
      |                                                     ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtWidgets/QtWidgets:58,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtWidgets/qdesktopwidget.h:77:45: note: declared here
   77 |     QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);
      |                                             ^~~~~~
playerwindow.cpp:3850:66: warning: ‘QWidget* QDesktopWidget::screen(int)’ is deprecated: Use QScreen [-Wdeprecated-declarations]
 3850 |             animation->setEndValue(QRect(leftSide,desktop->screen()->height()-70,fullScreenControlWidth,70));
      |                                                   ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtWidgets/QtWidgets:58,
                 from mplayerfe.h:21,
                 from playerwindow.h:23,
                 from playerwindow.cpp:19:
/usr/include/qt/QtWidgets/qdesktopwidget.h:77:45: note: declared here
   77 |     QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);
      |                                             ^~~~~~
playerwindow.cpp: In member function ‘virtual void PlayerWindow::mouseDoubleClickEvent(QMouseEvent*)’:
playerwindow.cpp:3901:56: warning: unused parameter ‘ev’ [-Wunused-parameter]
 3901 | void PlayerWindow::mouseDoubleClickEvent (QMouseEvent *ev)
      |                                           ~~~~~~~~~~~~~^~
playerwindow.cpp: In member function ‘void PlayerWindow::on_eq0_actionTriggered(int)’:
playerwindow.cpp:3938:47: warning: unused parameter ‘action’ [-Wunused-parameter]
 3938 | void PlayerWindow::on_eq0_actionTriggered(int action)
      |                                           ~~~~^~~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::winExplorer(QString, QString)’:
playerwindow.cpp:3961:40: warning: unused parameter ‘opt’ [-Wunused-parameter]
 3961 | void PlayerWindow::winExplorer(QString opt,QString path)
      |                                ~~~~~~~~^~~
playerwindow.cpp: In member function ‘void PlayerWindow::playNextAfterFinish(int, bool)’:
playerwindow.cpp:4381:44: warning: unused parameter ‘ec’ [-Wunused-parameter]
 4381 | void PlayerWindow::playNextAfterFinish(int ec,bool stop)
      |                                        ~~~~^~
playerwindow.cpp:4381:52: warning: unused parameter ‘stop’ [-Wunused-parameter]
 4381 | void PlayerWindow::playNextAfterFinish(int ec,bool stop)
      |                                               ~~~~~^~~~
playerwindow.cpp: In member function ‘void PlayerWindow::showMsgBox(QString)’:
playerwindow.cpp:4424:39: warning: unused parameter ‘msg’ [-Wunused-parameter]
 4424 | void PlayerWindow::showMsgBox(QString msg)
      |                               ~~~~~~~~^~~
playerwindow.cpp: In member function ‘void PlayerWindow::showPictureFlow(QString)’:
playerwindow.cpp:4556:16: error: ordered comparison of pointer with integer zero (‘PictureFlow*’ and ‘int’)
 4556 |     if (picflow>0)
      |         ~~~~~~~^~
playerwindow.cpp: In member function ‘void PlayerWindow::resizeVideo(int, int)’:
playerwindow.cpp:4588:15: error: ordered comparison of pointer with integer zero (‘PictureFlow*’ and ‘int’)
 4588 |     if(picflow>0)
      |        ~~~~~~~^~
playerwindow.cpp: In member function ‘void PlayerWindow::showerror(QString)’:
playerwindow.cpp:4653:38: warning: unused parameter ‘tex’ [-Wunused-parameter]
 4653 | void PlayerWindow::showerror(QString tex)
      |                              ~~~~~~~~^~~
playerwindow.cpp: In member function ‘virtual void PlayerWindow::showEvent(QShowEvent*)’:
playerwindow.cpp:4658:46: warning: unused parameter ‘event’ [-Wunused-parameter]
 4658 | void  PlayerWindow::showEvent ( QShowEvent * event )
      |                                 ~~~~~~~~~~~~~^~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::on_actionChange_framerate_triggered()’:
playerwindow.cpp:4817:45: warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = Qt::WindowType; QFlags<T>::Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
 4817 |         double val = QInputDialog::getDouble(this, tr("Frame rate"),
      |                      ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
 4818 |                                              tr("Enter Frame rate(1-100):"),40,1,100,1,&ok,0);
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qglobal.h:1299,
                 from /usr/include/qt/QtGui/qtguiglobal.h:43,
                 from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:43,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from playerwindow.h:22,
                 from playerwindow.cpp:19:
/usr/include/qt/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::searchYT(QString, int)’:
playerwindow.cpp:4889:37: warning: unused parameter ‘searchTerm’ [-Wunused-parameter]
 4889 | void PlayerWindow::searchYT(QString searchTerm, int engine)
      |                             ~~~~~~~~^~~~~~~~~~
playerwindow.cpp:4889:53: warning: unused parameter ‘engine’ [-Wunused-parameter]
 4889 | void PlayerWindow::searchYT(QString searchTerm, int engine)
      |                                                 ~~~~^~~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::playSCUrl(QString, QString)’:
playerwindow.cpp:4906:50: warning: unused parameter ‘desc’ [-Wunused-parameter]
 4906 | void PlayerWindow::playSCUrl(QString url,QString desc)
      |                                          ~~~~~~~~^~~~
playerwindow.cpp: In member function ‘void PlayerWindow::playYTUrl(const QMap<int, QString>&, QString)’:
playerwindow.cpp:4912:56: warning: unused parameter ‘qualityMap’ [-Wunused-parameter]
 4912 | void PlayerWindow::playYTUrl(const QMap<int, QString> &qualityMap, QString title)
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
playerwindow.cpp:4912:76: warning: unused parameter ‘title’ [-Wunused-parameter]
 4912 | void PlayerWindow::playYTUrl(const QMap<int, QString> &qualityMap, QString title)
      |                                                                    ~~~~~~~~^~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::resizeVideoWindow(int, int)’:
playerwindow.cpp:4968:42: warning: unused parameter ‘w’ [-Wunused-parameter]
 4968 | void PlayerWindow::resizeVideoWindow(int w,int h)
      |                                      ~~~~^
playerwindow.cpp:4968:48: warning: unused parameter ‘h’ [-Wunused-parameter]
 4968 | void PlayerWindow::resizeVideoWindow(int w,int h)
      |                                            ~~~~^
playerwindow.cpp: In member function ‘void PlayerWindow::on_sliderSeekFullSc_actionTriggered(int)’:
playerwindow.cpp:5011:60: warning: unused parameter ‘act’ [-Wunused-parameter]
 5011 | void PlayerWindow::on_sliderSeekFullSc_actionTriggered(int act)
      |                                                        ~~~~^~~
playerwindow.cpp: In member function ‘virtual void PlayerWindow::resizeEvent(QResizeEvent*)’:
playerwindow.cpp:5018:49: warning: unused parameter ‘event’ [-Wunused-parameter]
 5018 | void PlayerWindow::resizeEvent ( QResizeEvent * event )
      |                                  ~~~~~~~~~~~~~~~^~~~~
playerwindow.cpp: In member function ‘void PlayerWindow::changeStereoscopicView(QAction*)’:
playerwindow.cpp:5081:52: warning: unused parameter ‘act’ [-Wunused-parameter]
 5081 | void PlayerWindow::changeStereoscopicView(QAction *act)
      |                                           ~~~~~~~~~^~~
playerwindow.cpp: In member function ‘void PlayerWindow::restartSeekView(int, bool)’:
playerwindow.cpp:5168:40: warning: unused parameter ‘ec’ [-Wunused-parameter]
 5168 | void PlayerWindow::restartSeekView(int ec,bool stop)
      |                                    ~~~~^~
playerwindow.cpp:5168:48: warning: unused parameter ‘stop’ [-Wunused-parameter]
 5168 | void PlayerWindow::restartSeekView(int ec,bool stop)
      |                                           ~~~~~^~~~
playerwindow.cpp: In member function ‘void PlayerWindow::calculateHeight()’:
playerwindow.cpp:5330:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
 5330 |     qDebug("playerHeight :%d",playerHeight);
      |                           ~^  ~~~~~~~~~~~~
      |                            |  |
      |                            |  long int
      |                            int
      |                           %ld
make: *** [Makefile:2130: mplayerfe.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:2122: playerwindow.o] Error 1
In file included from rphalabelex.cpp:18:
./rphlabelex.h: In member function ‘bool rphLabelEx::isemptyTitle()’:
./rphlabelex.h:31:43: warning: no return statement in function returning non-void [-Wreturn-type]
   31 |     bool  isemptyTitle(){_title.isEmpty();}
      |                                           ^
rphalabelex.cpp: In member function ‘virtual void rphLabelEx::paintEvent(QPaintEvent*)’:
rphalabelex.cpp:99:61: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations]
   99 |     painter.setRenderHints(QPainter::Antialiasing|QPainter::HighQualityAntialiasing|QPainter::TextAntialiasing|QPainter::SmoothPixmapTransform);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtGui/qpaintengine.h:47,
                 from /usr/include/qt/QtGui/QtGui:68,
                 from /usr/include/qt/QtWidgets/QtWidgetsDepends:4,
                 from /usr/include/qt/QtWidgets/QtWidgets:3,
                 from ./rphlabelex.h:21,
                 from rphalabelex.cpp:18:
/usr/include/qt/QtGui/qpainter.h:92:9: note: declared here
   92 |         HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08,
      |         ^~~~~~~~~~~~~~~~~~~~~~~
rphalabelex.cpp:99:61: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations]
   99 |     painter.setRenderHints(QPainter::Antialiasing|QPainter::HighQualityAntialiasing|QPainter::TextAntialiasing|QPainter::SmoothPixmapTransform);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtGui/qpaintengine.h:47,
                 from /usr/include/qt/QtGui/QtGui:68,
                 from /usr/include/qt/QtWidgets/QtWidgetsDepends:4,
                 from /usr/include/qt/QtWidgets/QtWidgets:3,
                 from ./rphlabelex.h:21,
                 from rphalabelex.cpp:18:
/usr/include/qt/QtGui/qpainter.h:92:9: note: declared here
   92 |         HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08,
      |         ^~~~~~~~~~~~~~~~~~~~~~~
==> ERROR: A failure occurred in build().
    Aborting...

willemw commented on 2016-06-24 16:59 (UTC)

@jimnotic: you could ask the developer (on github).

jimnotic commented on 2016-06-24 16:54 (UTC)

Thanks willemw for you help. I edited the source like you posted and got it to compile. It seems I can't set the audio \ video output drivers to vaapi for hardware acceleration. There is a ExMplayer.ini file for settings but not sure what to put to force vaapi. Is this a feature they're still working on? Not much documentation on the website...

willemw commented on 2016-06-21 16:32 (UTC) (edited on 2016-06-24 16:56 (UTC) by willemw)

The build error is located here: playerwindow.cpp:2298:59: error: no matching function for call to ‘PlayerWindow::setWindowFlags(bool)’ this->setWindowFlags(!Qt::WindowStaysOnTopHint);^M ^ In file included from /usr/include/qt4/QtGui/qmainwindow.h:45:0, from /usr/include/qt4/QtGui/QMainWindow:1, from playerwindow.h:22, from playerwindow.cpp:19: /usr/include/qt4/QtGui/qwidget.h:587:10: note: candidate: void QWidget::setWindowFlags(Qt::WindowFlags) void setWindowFlags(Qt::WindowFlags type); ^~~~~~~~~~~~~~ Something has changed in qt4 (Qt::WindowFlags type) that causes the build error. Reported the issue https://github.com/rupeshs/ExMplayer/issues/14. As a quick fix (may not be correct), I changed line src/playerwindow.cpp:2298: this->setWindowFlags(!Qt::WindowStaysOnTopHint); into: this->setWindowFlags(Qt::Window); and continued the build and install with "makepkg -ei".

jimnotic commented on 2016-06-21 15:26 (UTC)

I get this error halfway through compilation, any ideas? playerwindow.cpp: In member function ‘void PlayerWindow::calculateHeight()’: playerwindow.cpp:5482:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] qDebug("playerHeight :%d",playerHeight); ^ Makefile:1116: recipe for target 'playerwindow.o' failed make: *** [playerwindow.o] Error 1