[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    [phonon-vlc] src: AudioDataOutput works fine with VLC 2.1 again (activate it in Backend)
From:       Harald Sitter <sitter () kde ! org>
Date:       2012-06-20 15:05:30
Message-ID: 20120620150530.5D5C5A60A9 () git ! kde ! org
[Download RAW message or body]

Git commit da7a06d906a1211d77eef401769f6e96869d9740 by Harald Sitter.
Committed on 20/06/2012 at 17:05.
Pushed by sitter into branch 'master'.

AudioDataOutput works fine with VLC 2.1 again (activate it in Backend)

If anyone has VLC 2.0.1 or better yet VLC 2.0 git, please feel free to
remove the #if and test if it works for you. It will probably be a while
until VLC 2.1 gets out, so if we get a 2.0 release that fixes the issue
it would be preferable.

CCMAIL: kde-multimedia@kde.org

M  +1    -1    src/backend.cpp

http://commits.kde.org/phonon-vlc/da7a06d906a1211d77eef401769f6e96869d9740

diff --git a/src/backend.cpp b/src/backend.cpp
index 8a1d33a..bca35c7 100644
--- a/src/backend.cpp
+++ b/src/backend.cpp
@@ -133,7 +133,7 @@ QObject *Backend::createObject(BackendInterface::Class c, QObject \
*parent, const  #ifdef __GNUC__
 #warning VLC 2.0 broke sout/transcode/smem -> ADO
 #endif
-#if (LIBVLC_VERSION_INT < LIBVLC_VERSION(2, 0, 0, 0))
+#if (LIBVLC_VERSION_INT < LIBVLC_VERSION(2, 0, 0, 0)) || (LIBVLC_VERSION_INT >= \
LIBVLC_VERSION(2, 1, 0, 0))  case AudioDataOutputClass:
         return new AudioDataOutput(parent);
 #endif
_______________________________________________
kde-multimedia mailing list
kde-multimedia@kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic