mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
lavc/mediacodecdec: set AV_CODEC_CAP_AVOID_PROBING capability
This commit is contained in:
parent
6ffaf90b32
commit
3fce174d4f
@ -552,7 +552,7 @@ AVCodec ff_h264_mediacodec_decoder = {
|
|||||||
.decode = mediacodec_decode_frame,
|
.decode = mediacodec_decode_frame,
|
||||||
.flush = mediacodec_decode_flush,
|
.flush = mediacodec_decode_flush,
|
||||||
.close = mediacodec_decode_close,
|
.close = mediacodec_decode_close,
|
||||||
.capabilities = AV_CODEC_CAP_DELAY,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING,
|
||||||
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@ -568,7 +568,7 @@ AVCodec ff_hevc_mediacodec_decoder = {
|
|||||||
.decode = mediacodec_decode_frame,
|
.decode = mediacodec_decode_frame,
|
||||||
.flush = mediacodec_decode_flush,
|
.flush = mediacodec_decode_flush,
|
||||||
.close = mediacodec_decode_close,
|
.close = mediacodec_decode_close,
|
||||||
.capabilities = AV_CODEC_CAP_DELAY,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING,
|
||||||
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@ -584,7 +584,7 @@ AVCodec ff_mpeg4_mediacodec_decoder = {
|
|||||||
.decode = mediacodec_decode_frame,
|
.decode = mediacodec_decode_frame,
|
||||||
.flush = mediacodec_decode_flush,
|
.flush = mediacodec_decode_flush,
|
||||||
.close = mediacodec_decode_close,
|
.close = mediacodec_decode_close,
|
||||||
.capabilities = AV_CODEC_CAP_DELAY,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING,
|
||||||
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@ -600,7 +600,7 @@ AVCodec ff_vp8_mediacodec_decoder = {
|
|||||||
.decode = mediacodec_decode_frame,
|
.decode = mediacodec_decode_frame,
|
||||||
.flush = mediacodec_decode_flush,
|
.flush = mediacodec_decode_flush,
|
||||||
.close = mediacodec_decode_close,
|
.close = mediacodec_decode_close,
|
||||||
.capabilities = AV_CODEC_CAP_DELAY,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING,
|
||||||
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@ -616,7 +616,7 @@ AVCodec ff_vp9_mediacodec_decoder = {
|
|||||||
.decode = mediacodec_decode_frame,
|
.decode = mediacodec_decode_frame,
|
||||||
.flush = mediacodec_decode_flush,
|
.flush = mediacodec_decode_flush,
|
||||||
.close = mediacodec_decode_close,
|
.close = mediacodec_decode_close,
|
||||||
.capabilities = AV_CODEC_CAP_DELAY,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING,
|
||||||
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
.caps_internal = FF_CODEC_CAP_SETS_PKT_DTS,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user