Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:ccrisan/motioneyeos into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrisan committed Oct 25, 2020
2 parents d897bfc + b2182bb commit f075bfd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions package/ffmpeg/force-disable-rpi-omx-input-zerocopy.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/libavcodec/omx.c b/libavcodec/omx.c
index 19b4f33836..4641dc79e2 100644
--- a/libavcodec/omx.c
+++ b/libavcodec/omx.c
@@ -644,6 +644,10 @@ static av_cold int omx_encode_init(AVCodecContext *avctx)
OMX_BUFFERHEADERTYPE *buffer;
OMX_ERRORTYPE err;

+#if CONFIG_OMX_RPI
+ s->input_zerocopy = 0;
+#endif
+
s->omx_context = omx_init(avctx, s->libname, s->libprefix);
if (!s->omx_context)
return AVERROR_ENCODER_NOT_FOUND;

0 comments on commit f075bfd

Please sign in to comment.