Thanks 4 the reply Anurag
I havent use these functions before, can I use this directly
connect(mp, SIGNAL(finished(int)),this,SLOT(endPlayProcess()));
ratio
+="-monitoraspect "+QString::number(4)+":"+QString::number(3)+" ";
arguments<<"-vo"<<"gl2" <<"-wid" << windowId << "-slave" <<mediaPath[currentIndex] << "n";
mp->start(program,arguments);
QProcess *mp=new QProcess(0);
connect(mp, SIGNAL(finished(int)),this,SLOT(endPlayProcess()));
QString program = "mplayer";
QStringList arguments;
QString windowId=QString::number(winId());
QString ratio="";
ratio+="-monitoraspect "+QString::number(4)+":"+QString::number(3)+" ";
arguments<<"-vo"<<"gl2" <<"-wid" << windowId << "-slave" <<mediaPath[currentIndex] << "n";
mp->start(program,arguments);
To copy to clipboard, switch view to plain text mode
regards
merry
Bookmarks