mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 03:09:51 +00:00
!275 hevc初始化拉流量大
Merge pull request !275 from yj/OpenHarmony-5.0-Release
This commit is contained in:
commit
8b1b02942d
@ -1976,7 +1976,7 @@ static int has_codec_parameters(const AVStream *st, const char **errmsg_ptr)
|
||||
break;
|
||||
case AVMEDIA_TYPE_VIDEO:
|
||||
if (!avctx->width)
|
||||
#ifdef DOHOS_OPTIMIZE_DELAY
|
||||
#ifdef OHOS_OPTIMIZE_DELAY
|
||||
if (!(st->codecpar->codec_id == AV_CODEC_ID_HEVC) &&
|
||||
!(st->disposition & AV_DISPOSITION_ATTACHED_PIC))
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user