mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +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;
|
break;
|
||||||
case AVMEDIA_TYPE_VIDEO:
|
case AVMEDIA_TYPE_VIDEO:
|
||||||
if (!avctx->width)
|
if (!avctx->width)
|
||||||
#ifdef DOHOS_OPTIMIZE_DELAY
|
#ifdef OHOS_OPTIMIZE_DELAY
|
||||||
if (!(st->codecpar->codec_id == AV_CODEC_ID_HEVC) &&
|
if (!(st->codecpar->codec_id == AV_CODEC_ID_HEVC) &&
|
||||||
!(st->disposition & AV_DISPOSITION_ATTACHED_PIC))
|
!(st->disposition & AV_DISPOSITION_ATTACHED_PIC))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user