mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
motion: update h264_omx unblacklist patch
This commit is contained in:
parent
0311e9155e
commit
79c4368009
19
package/motion/9900-unblacklist-h264-omx-encoder.patch
Normal file
19
package/motion/9900-unblacklist-h264-omx-encoder.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
commit c20e58b27aaa24b1a800e3cf73de1d3311d8987f
|
||||||
|
Author: Joo Aun Saw <jasaw@dius.com.au>
|
||||||
|
Date: Mon Aug 19 16:38:59 2019 +1000
|
||||||
|
|
||||||
|
enable h264_omx encoder
|
||||||
|
|
||||||
|
diff --git a/ffmpeg.c b/ffmpeg.c
|
||||||
|
index a3a8701..b9b58de 100644
|
||||||
|
--- a/ffmpeg.c
|
||||||
|
+++ b/ffmpeg.c
|
||||||
|
@@ -597,7 +597,7 @@ static int ffmpeg_codec_is_blacklisted(const char *codec_name){
|
||||||
|
* - remove the "h264_omx" from this blacklist.
|
||||||
|
* More information: https://github.com/Motion-Project/motion/issues/433
|
||||||
|
*/
|
||||||
|
- "h264_omx",
|
||||||
|
+ //"h264_omx",
|
||||||
|
#if (LIBAVCODEC_VERSION_MAJOR < 57)
|
||||||
|
/* h264_v4l2m2m does not exist on old versions of ffmpeg. */
|
||||||
|
"h264_v4l2m2m",
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/ffmpeg.c b/ffmpeg.c
|
|
||||||
index a729cda..798c017 100644
|
|
||||||
--- a/ffmpeg.c
|
|
||||||
+++ b/ffmpeg.c
|
|
||||||
@@ -513,7 +513,7 @@ static int ffmpeg_codec_is_blacklisted(const char *codec_name){
|
|
||||||
* - remove the "h264_omx" from this blacklist.
|
|
||||||
* More information: https://github.com/Motion-Project/motion/issues/433
|
|
||||||
*/
|
|
||||||
- "h264_omx",
|
|
||||||
+ //"h264_omx",
|
|
||||||
};
|
|
||||||
size_t i;
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user