Author: kwizart
Update of /cvs/free/rpms/transcode/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv28604/F-17
Modified Files:
transcode.spec
Added Files:
transcode-1.1.7-ffmpeg-compat.patch
Log Message:
Fix for ffmpeg-compat
transcode-1.1.7-ffmpeg-compat.patch:
filter_resample.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE transcode-1.1.7-ffmpeg-compat.patch ---
diff -up transcode-1.1.7/filter/filter_resample.c.oldabi
transcode-1.1.7/filter/filter_resample.c
--- transcode-1.1.7/filter/filter_resample.c.oldabi 2011-11-19 17:50:27.000000000 +0100
+++ transcode-1.1.7/filter/filter_resample.c 2012-05-26 11:16:46.986521686 +0200
@@ -112,7 +112,7 @@ static int resample_configure(TCModuleIn
pd->resample_ctx = av_audio_resample_init(vob->a_chan, vob->a_chan,
vob->mp3frequency, vob->a_rate,
- AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16,
+ SAMPLE_FMT_S16, SAMPLE_FMT_S16,
16, 10, 0, 0.8);
if (pd->resample_ctx == NULL) {
tc_log_error(MOD_NAME, "can't get a resample context");
Index: transcode.spec
===================================================================
RCS file: /cvs/free/rpms/transcode/F-17/transcode.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- transcode.spec 24 May 2012 21:25:28 -0000 1.38
+++ transcode.spec 26 May 2012 09:22:23 -0000 1.39
@@ -7,7 +7,7 @@
Name: transcode
Version: 1.1.7
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Video stream processing tool
Group: Applications/Multimedia
@@ -17,6 +17,7 @@
Patch0: %{name}-pvmbin.patch
Patch3: transcode-1.0.4.external_dv.patch
Patch4: transcode-1.1.6.header.patch
+Patch5: transcode-1.1.7-ffmpeg-compat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -72,6 +73,7 @@
%patch0 -p1 -b .pvmbin
%patch3 -p1 -b .external_dv
%patch4 -p1 -b .header
+%patch5 -p1 -b .oldabi
rm filter/preview/dv_types.h
rm import/v4l/videodev.h
@@ -150,6 +152,9 @@
%changelog
+* Sat May 26 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1.1.7-7
+- Fix for ffmpeg oldabi
+
* Thu May 24 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1.1.7-6
- Switch to ffmpeg-compat