-
Notifications
You must be signed in to change notification settings - Fork 908
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of github.com:ccrisan/motioneyeos into dev
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |