Changes of Revision 54
[-] | Changed | vlc-SLE_10.spec |
x 1
2 Patch3: %{name}-%{version}-wxGTK28.patch 3 Patch4: %{name}-%{version}-ffmpeg_swscale_configure.patch 4 Patch5: %{name}-%{version}-x264.patch 5 +Patch6: %{name}-%{version}-ffmpeg.patch 6 BuildRoot: %{_tmppath}/%{name}-%{version}-build 7 8 BuildRequires: avahi-devel flac-devel fribidi-devel gcc-c++ gnutls-devel gnome-vfs2-devel 9
10 %patch3 -p1 11 %patch4 -p0 12 %patch5 -p0 13 +%patch6 -p0 14 15 %build 16 %if 0%{?suse_version} == 1000 17 |
||
[+] | Added | vlc-0.8.6i-ffmpeg.patch ^ |
@@ -0,0 +1,25 @@ +--- modules/codec/ffmpeg/video.c.orig 2008-12-29 01:05:50.000000000 +0100 ++++ modules/codec/ffmpeg/video.c 2008-12-29 01:08:17.000000000 +0100 +@@ -259,13 +259,22 @@ + p_sys->p_context->codec_tag = ffmpeg_CodecTag( p_dec->fmt_in.i_codec ); + p_sys->p_context->width = p_dec->fmt_in.video.i_width; + p_sys->p_context->height = p_dec->fmt_in.video.i_height; ++#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) + p_sys->p_context->bits_per_sample = p_dec->fmt_in.video.i_bits_per_pixel; ++#else ++ p_sys->p_context->bits_per_coded_sample = p_dec->fmt_in.video.i_bits_per_pixel; ++#endif + + /* ***** Get configuration of ffmpeg plugin ***** */ + p_sys->p_context->workaround_bugs = + config_GetInt( p_dec, "ffmpeg-workaround-bugs" ); ++#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) + p_sys->p_context->error_resilience = + config_GetInt( p_dec, "ffmpeg-error-resilience" ); ++#else ++ p_sys->p_context->error_recognition = ++ config_GetInt( p_dec, "ffmpeg-error-resilience" ); ++#endif + + var_Create( p_dec, "grayscale", VLC_VAR_BOOL | VLC_VAR_DOINHERIT ); + var_Get( p_dec, "grayscale", &val ); |