From 6173345c5e7abe3e6b7adab14c4de6e339147ff5 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 28 Mar 2009 18:05:33 +0000 Subject: [PATCH] Clifford Wolf : Updated k3b (1.0.5) diff --git a/package/kde/k3b/hotfixes.patch b/package/kde/k3b/hotfixes.patch new file mode 100644 index 0000000..7eafc43 [2009032113385917428] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@9430 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/kde/k3b/hotfixes.patch | 21 +++++++++++++++++++++ package/kde/k3b/k3b.desc | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 package/kde/k3b/hotfixes.patch diff --git a/package/kde/k3b/hotfixes.patch b/package/kde/k3b/hotfixes.patch new file mode 100644 index 000000000..7eafc4346 --- /dev/null +++ b/package/kde/k3b/hotfixes.patch @@ -0,0 +1,21 @@ +--- k3b-1.0.5/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp ++++ k3b-1.0.5/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp +@@ -194,7 +194,7 @@ QString K3bFFMpegFile::typeComment() con + return i18n("Windows Media v1"); + case CODEC_ID_WMAV2: + return i18n("Windows Media v2"); +- case CODEC_ID_MP3LAME: ++ case CODEC_ID_MP3: + return i18n("MPEG 1 Layer III"); + case CODEC_ID_AAC: + return i18n("Advanced Audio Coding (AAC)"); +@@ -290,7 +290,8 @@ int K3bFFMpegFile::fillOutputBuffer() + #ifdef FFMPEG_BUILD_PRE_4629 + int len = avcodec_decode_audio( &d->formatContext->streams[0]->codec, + #else +- int len = avcodec_decode_audio( d->formatContext->streams[0]->codec, ++ d->outputBufferSize = AVCODEC_MAX_AUDIO_FRAME_SIZE; ++ int len = avcodec_decode_audio2( d->formatContext->streams[0]->codec, + #endif + (short*)d->outputBuffer, &d->outputBufferSize, + d->packetData, d->packetSize ); diff --git a/package/kde/k3b/k3b.desc b/package/kde/k3b/k3b.desc index f9cf0324a..d56b8c558 100644 --- a/package/kde/k3b/k3b.desc +++ b/package/kde/k3b/k3b.desc @@ -38,8 +38,8 @@ [L] GPL [S] Beta -[V] 1.0.4 +[V] 1.0.5 [P] X --?--5---9 235.500 -[D] 3685419916 k3b-1.0.4.tar.bz2 http://dl.sourceforge.net/sourceforge/k3b/ +[D] 2347961946 k3b-1.0.5.tar.bz2 http://dl.sourceforge.net/sourceforge/k3b/