mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
ffmpeg: add disable-rpi-omx-input-zerocopy.patch
This commit is contained in:
parent
5b36566b94
commit
49bd6fb006
15
package/ffmpeg/disable-rpi-omx-input-zerocopy.patch
Normal file
15
package/ffmpeg/disable-rpi-omx-input-zerocopy.patch
Normal file
@ -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,10 +644,6 @@ static av_cold int omx_encode_init(AVCodecContext *avctx)
|
||||
OMX_BUFFERHEADERTYPE *buffer;
|
||||
OMX_ERRORTYPE err;
|
||||
|
||||
-#if CONFIG_OMX_RPI
|
||||
- s->input_zerocopy = 1;
|
||||
-#endif
|
||||
-
|
||||
s->omx_context = omx_init(avctx, s->libname, s->libprefix);
|
||||
if (!s->omx_context)
|
||||
return AVERROR_ENCODER_NOT_FOUND;
|
Loading…
x
Reference in New Issue
Block a user