Skip to content

Commit

Permalink
2.0 linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshs committed Nov 7, 2016
1 parent 3b5d34d commit 19b59f6
Show file tree
Hide file tree
Showing 11 changed files with 4,327 additions and 602 deletions.
4,258 changes: 3,938 additions & 320 deletions Makefile

Large diffs are not rendered by default.

111 changes: 94 additions & 17 deletions NeuralStyler.pro.user

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions aboutdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>425</width>
<height>173</height>
<width>500</width>
<height>200</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>425</width>
<height>173</height>
<width>500</width>
<height>200</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>425</width>
<height>173</height>
<width>500</width>
<height>200</height>
</size>
</property>
<property name="windowTitle">
Expand All @@ -32,8 +32,8 @@
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>70</x>
<y>130</y>
<x>100</x>
<y>160</y>
<width>341</width>
<height>32</height>
</rect>
Expand All @@ -50,8 +50,8 @@
<rect>
<x>140</x>
<y>20</y>
<width>301</width>
<height>121</height>
<width>351</width>
<height>141</height>
</rect>
</property>
<property name="text">
Expand Down
2 changes: 1 addition & 1 deletion ffmpegprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FfmpegProcess::FfmpegProcess()
}
void FfmpegProcess::startFfmpeg()
{
qDebug()<<arguments();
//qDebug()<<arguments();
strFps="";

#ifdef Q_OS_WIN
Expand Down
6 changes: 5 additions & 1 deletion mplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ void Mplayer::setVideoWin(long int id)
argfrontEnd<<"-wid"<<QString::number(id);

}
void Mplayer::setScaling(int width,int height)
{
argfrontEnd<<"-vf"<<"scale="+QString::number(width)+":"+QString::number(height);

}
void Mplayer::play(QString filepath)
{
mProcess->clearArguments();
Expand All @@ -76,7 +80,7 @@ void Mplayer::play(QString filepath)
mProcess->addArgument(strArgument);
}

// qDebug()<< mProcess->arguments();
//qDebug()<< mProcess->arguments();

mProcess->start();

Expand Down
1 change: 1 addition & 0 deletions mplayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public slots:
void mplayerConsole(QByteArray ba);
void setMplayerPath(QString path){mplayerPath=path;}
void setVideoWin(long id);
void setScaling(int width,int height);
void play(QString filepath);
QString parsevalue( QString serstr,QString sep,QString str);
void command(QString cmd);
Expand Down
Binary file modified neuralstyler
100644 → 100755
Binary file not shown.
Loading

0 comments on commit 19b59f6

Please sign in to comment.