Compare commits
1 Commits
master
...
own_2024-0
Author | SHA1 | Date |
---|---|---|
Jonas Letzbor | b3bafd4e97 |
|
@ -8,3 +8,4 @@ build
|
||||||
experiments
|
experiments
|
||||||
subprojects
|
subprojects
|
||||||
sandbox
|
sandbox
|
||||||
|
.vscode
|
|
@ -310,9 +310,11 @@ static int h264_encoder__init_codec_context(struct h264_encoder_ffmpeg* self,
|
||||||
c->global_quality = quality;
|
c->global_quality = quality;
|
||||||
|
|
||||||
/* open-h264 requires baseline profile, so we use constrained
|
/* open-h264 requires baseline profile, so we use constrained
|
||||||
* baseline.
|
* baseline: AV_PROFILE_H264_BASELINE.
|
||||||
|
* But that is not supported by many clients. So we use a "DEFAULT" profile.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
c->profile = 578;
|
c->profile = AV_PROFILE_H264_MAIN;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue