1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 09:04:33 +02:00

removed useless/causing crashes with youtube streams libvlc flags

This commit is contained in:
dridri
2014-10-20 16:41:44 +02:00
committed by Uwe L. Korn
parent dadfd20000
commit 45c3eae10c
3 changed files with 11 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
*
* Copyright 2010-2014, Christian Muehlhaeuser <muesli@tomahawk-player.org>
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
* Copyright 2013, Teo Mrnjavac <teo@kde.org>
* Copyright 2014, Adrien Aubry <dridri85@gmail.com>
*
* Tomahawk is free software: you can redistribute it and/or modify
@@ -24,6 +25,7 @@
#include "utils/Logger.h"
#include <QApplication>
#include <QVarLengthArray>
#include <QFile>
#include <QDir>
@@ -74,17 +76,21 @@ AudioOutput::AudioOutput( QObject* parent )
QList<QByteArray> args;
args << "--ignore-config";
args << "--verbose=42";
args << "--no-plugins-cache";
args << "--extraintf=logger";
if ( qApp->arguments().contains( "--verbose" ) ) {
args << "--verbose=3";
}
/*
args << "--no-plugins-cache";
args << "--no-media-library";
args << "--no-osd";
args << "--no-stats";
args << "--no-video-title-show";
args << "--no-snapshot-preview";
args << "--no-xlib";
args << "--services-discovery=''";
*/
args << "--no-video";
args << "--no-xlib";
#ifdef VLC_DSP_PLUGIN_ENABLED
args << "--audio-filter=dsp";
args << QString("--dsp-callback=%1").arg((quint64)&AudioOutput::s_dspCallback, 0, 16).toAscii();

View File

@@ -2,6 +2,7 @@
*
* Copyright 2010-2014, Christian Muehlhaeuser <muesli@tomahawk-player.org>
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
* Copyright 2013, Teo Mrnjavac <teo@kde.org>
* Copyright 2014, Adrien Aubry <dridri85@gmail.com>
*
* Tomahawk is free software: you can redistribute it and/or modify

View File

@@ -44,4 +44,4 @@ void VlcDspSetup( libvlc_media_player_t* vlcPlayer );
#endif // VLC_DSP_PLUGIN_ENABLED
#endif // VLCDSP_H
#endif // VLCDSP_H