- Add USE_PERL5_BUILD
- Add patch to fix build with older ffmpeg.
This commit is contained in:
parent
e9ec3d3d16
commit
4e657878ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137911
2 changed files with 13 additions and 0 deletions
|
@ -254,6 +254,7 @@ USE_GNOME= gnometarget libxml2
|
|||
USE_REINPLACE= yes
|
||||
WANT_SDL= yes
|
||||
USE_ICONV= yes
|
||||
USE_PERL5_BUILD=yes
|
||||
|
||||
FAKEDIR= ${WRKDIR}/fake
|
||||
PLIST= ${WRKDIR}/plist
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
--- modules/codec/ffmpeg/encoder.c.orig Thu Jun 23 05:09:11 2005
|
||||
+++ modules/codec/ffmpeg/encoder.c Thu Jun 23 05:10:04 2005
|
||||
@@ -364,7 +364,9 @@
|
||||
p_context->lumi_masking = p_sys->f_lumi_masking;
|
||||
p_context->dark_masking = p_sys->f_dark_masking;
|
||||
p_context->p_masking = p_sys->f_p_masking;
|
||||
+#if LIBAVCODEC_BUILD >= 4754
|
||||
p_context->border_masking = p_sys->f_border_masking;
|
||||
+#endif
|
||||
p_context->luma_elim_threshold = p_sys->i_luma_elim;
|
||||
p_context->chroma_elim_threshold = p_sys->i_chroma_elim;
|
||||
|
Loading…
Reference in a new issue