Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

phonon-mplayer patch

By: a guest on Nov 24th, 2011  |  syntax: Diff  |  size: 1.11 KB  |  views: 68  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -aur phonon-mplayer/mplayer/libmplayer/MPlayerConfig.cpp phonon-mplayer2/mplayer/libmplayer/MPlayerConfig.cpp
  2. --- phonon-mplayer/mplayer/libmplayer/MPlayerConfig.cpp 2011-11-24 18:06:31.105227140 -0800
  3. +++ phonon-mplayer2/mplayer/libmplayer/MPlayerConfig.cpp        2011-11-24 18:17:02.000000000 -0800
  4. @@ -73,7 +73,7 @@
  5.         //Under Windows, config file should be inside a subdirectory named mplayer/mplayer
  6.         QString defaultMPlayerConfigPath = "mplayer/mplayer/config";
  7.  #else
  8. -       QString defaultMPlayerConfigPath = "~/.mplayer/config";
  9. +       QString defaultMPlayerConfigPath = QDir::homePath()+"/.mplayer/config";
  10.  #endif
  11.  
  12.         return _settings.value("mplayer_config_path", defaultMPlayerConfigPath).toString();
  13. diff -aur phonon-mplayer/mplayer/libmplayer/MPlayerConfig.h phonon-mplayer2/mplayer/libmplayer/MPlayerConfig.h
  14. --- phonon-mplayer/mplayer/libmplayer/MPlayerConfig.h   2011-11-24 18:06:31.105227140 -0800
  15. +++ phonon-mplayer2/mplayer/libmplayer/MPlayerConfig.h  2011-11-24 18:18:05.000000000 -0800
  16. @@ -21,6 +21,7 @@
  17.  
  18.  #include <QtCore/QString>
  19.  #include <QtCore/QSettings>
  20. +#include <QtCore/QDir>
  21.  
  22.  namespace Phonon
  23.  {
  24.  
clone this paste RAW Paste Data