Files
main/multimedia/video/smplayer/files/shape_mplayer_output.patch
T
2016-01-06 17:15:53 +01:00

58 lines
2.3 KiB
Diff

diff -Nur smplayer-0.6.6-old/src/core.cpp smplayer-0.6.6/src/core.cpp
--- smplayer-0.6.6-old/src/core.cpp 2008-12-30 01:43:28.000000000 +0200
+++ smplayer-0.6.6/src/core.cpp 2009-01-02 05:41:54.000000000 +0200
@@ -1192,6 +1192,8 @@
proc->addArgument( mplayer_bin );
proc->addArgument("-noquiet");
+ proc->addArgument("-nomsgcolor");
+ proc->addArgument("-nomsgmodule");
if (pref->fullscreen && pref->use_mplayer_window) {
proc->addArgument("-fs");
diff -Nur smplayer-0.6.6-old/src/infoprovider.cpp smplayer-0.6.6/src/infoprovider.cpp
--- smplayer-0.6.6-old/src/infoprovider.cpp 2008-10-13 11:14:07.000000000 +0300
+++ smplayer-0.6.6/src/infoprovider.cpp 2009-01-02 05:41:54.000000000 +0200
@@ -40,6 +40,8 @@
proc.addArgument("null");
proc.addArgument("-ao");
proc.addArgument("null");
+ proc.addArgument("-nomsgcolor");
+ proc.addArgument("-nomsgmodule");
proc.addArgument(filename);
proc.start();
diff -Nur smplayer-0.6.6-old/src/inforeader.cpp smplayer-0.6.6/src/inforeader.cpp
--- smplayer-0.6.6-old/src/inforeader.cpp 2008-07-05 02:53:21.000000000 +0300
+++ smplayer-0.6.6/src/inforeader.cpp 2009-01-02 05:41:54.000000000 +0200
@@ -77,7 +77,7 @@
demuxer_list.clear();
mplayer_svn = -1;
- run("-identify -vo help -ao help -demuxer help -vc help -ac help");
+ run("-identify -vo help -ao help -demuxer help -vc help -ac help -nomsgcolor -nomsgmodule");
//list();
}
diff -Nur smplayer-0.6.6-old/src/videopreview/videopreview.cpp smplayer-0.6.6/src/videopreview/videopreview.cpp
--- smplayer-0.6.6-old/src/videopreview/videopreview.cpp 2008-12-22 02:50:55.000000000 +0200
+++ smplayer-0.6.6/src/videopreview/videopreview.cpp 2009-01-02 05:41:54.000000000 +0200
@@ -262,6 +262,8 @@
bool VideoPreview::runMplayer(int seek, double aspect_ratio) {
QStringList args;
args << "-nosound";
+ args << "-nomsgcolor";
+ args << "-nomsgmodule";
if (prop.extract_format == PNG) {
args << "-vo"
@@ -442,7 +444,7 @@
p.setProcessChannelMode( QProcess::MergedChannels );
QStringList args;
- args << "-vo" << "null" << "-ao" << "null" << "-frames" << "1" << "-identify" << "-nocache" << "-noquiet" << filename;
+ args << "-vo" << "null" << "-ao" << "null" << "-frames" << "1" << "-identify" << "-nocache" << "-noquiet" << "-nomsgcolor" << "-nomsgmodule" << filename;
if (!prop.dvd_device.isEmpty()) {
args << "-dvd-device" << prop.dvd_device;