Commit Graph

7 Commits

Author SHA1 Message Date
adamroach
9bb5755cd2 Fixing Stride Handling for OpenH264 (#381)
The golang image.YCbCr struct can contain fields of arbitrary stride
lengths, which don't necessarily match the field widths. This
patch passes the stride values from the image.YCbCr struct into
the OpenH264 encode calls.
2022-03-08 03:09:01 -06:00
Patryk Rogalski
b863c105c8 Implemented ForceKeyFrame for openh264 encoder (#319) 2021-03-12 15:26:30 -08:00
Atsushi Watanabe
3f27079072 Fix CGO error handling of openh264 codec
Errno based error handling is not goroutine safe on Darwin.
Receive error number as int pointer and wrap by error interface.
2020-02-24 01:56:11 +09:00
Lukas Herman
09dcae0840 Fix struct initialization for clang 2020-02-24 01:56:11 +09:00
Lukas Herman
f79aac8aca Fix openh264 incorrect chroma stride 2020-02-15 17:34:55 -08:00
Lukas Herman
2640f6c1f4 Move all settings to video/audio under io 2020-02-06 22:44:29 -08:00
Lukas Herman
107b8c0a34 Rename h264 to openh264 2020-01-05 22:12:44 -08:00