We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26eb22d commit e36d21bCopy full SHA for e36d21b
CHANGES
@@ -2,6 +2,7 @@
2
======
3
* Fix segfault when flushing an encoder that
4
hasn't been started yet.
5
+* Added flac to codec_attr.
6
7
1.1.4 (2022-06-18)
8
=====
av/av_stubs.c
@@ -2413,6 +2413,8 @@ CAMLprim value ocaml_av_codec_attr(value _stream) {
2413
} else {
2414
snprintf(attr, sizeof(attr), "avc1");
2415
}
2416
+ } else if (stream->codecpar->codec_id == AV_CODEC_ID_FLAC) {
2417
+ snprintf(attr, sizeof(attr), "fLaC");
2418
} else if (stream->codecpar->codec_id == AV_CODEC_ID_HEVC) {
2419
uint8_t *data = stream->codecpar->extradata;
2420
int profile = FF_PROFILE_UNKNOWN;
0 commit comments