aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-05-05 05:43:05 +0800
committerjbeich <jbeich@FreeBSD.org>2018-05-05 05:43:05 +0800
commit07de3297baa5d72910cf9563b43a6229c47a41f1 (patch)
tree9943264ba32943e6613eac0cc5f0487e1c2a2315 /graphics
parent285df1a1fb8222fa6591b1152d00499f732835d8 (diff)
downloadfreebsd-ports-graphics-07de3297baa5d72910cf9563b43a6229c47a41f1.tar.gz
freebsd-ports-graphics-07de3297baa5d72910cf9563b43a6229c47a41f1.tar.zst
freebsd-ports-graphics-07de3297baa5d72910cf9563b43a6229c47a41f1.zip
graphics/amide: simplify after r468439
AV_CODEC_ID_MPEG4 defaults to EPZS since FFmpeg 2.8 https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/0b6f092ed3
Diffstat (limited to 'graphics')
-rw-r--r--graphics/amide/files/patch-src_mpeg__encode.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/amide/files/patch-src_mpeg__encode.c b/graphics/amide/files/patch-src_mpeg__encode.c
index d7578d46df3..a630e34cd72 100644
--- a/graphics/amide/files/patch-src_mpeg__encode.c
+++ b/graphics/amide/files/patch-src_mpeg__encode.c
@@ -31,7 +31,7 @@
if (!encode->picture) {
g_warning("couldn't allocate memory for encode->picture");
encode_free(encode);
-@@ -293,11 +294,13 @@ gpointer mpeg_encode_setup(gchar * output_filename, mp
+@@ -293,11 +294,10 @@ gpointer mpeg_encode_setup(gchar * output_filename, mp
encode->context->time_base= (AVRational){1,FRAMES_PER_SECOND};
encode->context->gop_size = 10; /* emit one intra frame every ten frames */
encode->context->max_b_frames=10;
@@ -40,9 +40,7 @@
/* encoding parameters */
encode->context->sample_aspect_ratio= (AVRational){1,1}; /* our pixels are square */
-+#if LIBAVCODEC_VERSION_MAJOR < 58
- encode->context->me_method=5; /* 5 is epzs */
-+#endif
+- encode->context->me_method=5; /* 5 is epzs */
encode->context->trellis=2; /* turn trellis quantization on */
/* open it */