k3b/Re-enable-transcode-support.patch
Luca Beltrame b8a34023ab Accepting request 503225 from home:wolfi323:branches:KDE:Applications
- Add Re-enable-transcode-support.patch to add back transcode support to rip DVDs, Packman's version seems to work fine (kde#381131)

OBS-URL: https://build.opensuse.org/request/show/503225
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/k3b?expand=0&rev=24
2017-06-13 15:36:47 +00:00

42 lines
1.5 KiB
Diff

From 78fac1e46a2dd1b2a97f614b8c641a845c7c0c47 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wbauer@tmo.at>
Date: Mon, 12 Jun 2017 15:28:11 +0200
Subject: [PATCH] Re-enable transcode support
Transcode support has been disabled upstream because of bug reports
(kde#360170) and the fact that transcode is basically unmaintained.
So it's currently not possible to rip DVDs at all, and even worse, k3b
shows an error dialog that you should install transcode even if it is
installed.
Ripping DVDs with Packman's transcode seems to work fine though, so
let's re-enable it.
---
libk3b/core/k3bdefaultexternalprograms.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/libk3b/core/k3bdefaultexternalprograms.cpp b/libk3b/core/k3bdefaultexternalprograms.cpp
index a8f4c06da..a5c82ae48 100644
--- a/libk3b/core/k3bdefaultexternalprograms.cpp
+++ b/libk3b/core/k3bdefaultexternalprograms.cpp
@@ -45,7 +45,6 @@ void K3b::addDefaultPrograms( K3b::ExternalBinManager* m )
void K3b::addTranscodePrograms( K3b::ExternalBinManager* m )
{
Q_UNUSED(m);
- /* Deprecated transcode
static const char* const transcodeTools[] = { "transcode",
0, // K3b 1.0 only uses the transcode binary
"tcprobe",
@@ -57,7 +56,6 @@ void K3b::addTranscodePrograms( K3b::ExternalBinManager* m )
for( int i = 0; transcodeTools[i]; ++i )
m->addProgram( new K3b::TranscodeProgram( transcodeTools[i] ) );
- */
}
--
2.12.3