Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
EL5
>
x264
> x264-rewrite-ffmpeg-defaults.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File x264-rewrite-ffmpeg-defaults.patch of Package x264
diff -ur x264-snapshot-20091211-2245.orig/encoder/encoder.c x264-snapshot-20091211-2245/encoder/encoder.c --- x264-snapshot-20091211-2245.orig/encoder/encoder.c 2009-12-11 12:32:20.000000000 +0100 +++ x264-snapshot-20091211-2245/encoder/encoder.c 2009-12-15 22:49:49.452559815 +0100 @@ -454,9 +454,8 @@ score += h->param.analyse.inter == 0 && h->param.analyse.i_subpel_refine == 8; if( score >= 5 ) { - x264_log( h, X264_LOG_ERROR, "broken ffmpeg default settings detected\n" ); - x264_log( h, X264_LOG_ERROR, "use an encoding preset (vpre)\n" ); - return -1; + /* broken ffmpeg defaults, set to h264 defaults */ + x264_param_default( &h->param ); } }