Embed MPlayer in QMainWindow
Unsolved
Mobile and Embedded
-
I wrote this code:
#include "mainwindow.h" #include <QApplication> #include <QProcess> int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; QProcess *process = new QProcess; QString s; s = QString("mplayer -wid %1 %2").arg(w.winId()).arg("/home/debian/Desktop/video.mp4"); process->start(s); w.show(); return a.exec(); }
And it works well on my i386 Ubuntu VM, it embeds MPlayer in Qt MainWindow and plays video as expected, but thats not the case when I try to run the same program on my BeagleBone Black running under Debian Jessie. What can be the problem? I tried to use different display drivers (fbdev and modesetting), also tried changing platforms when running my application and it acts the same.
I figured out that I have error in my /var/log/Xorg.0.log file: "(EE) FBDEV(0): FBIOPUTCMAP: Invalid argument"