aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/cmdutils.c
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2024-04-17 12:37:40 +0800
committerZhao Zhili <zhilizhao@tencent.com>2024-04-23 15:35:26 +0800
commit9e4991519575b3642e5fa63635f22de8f7c61b8b (patch)
treef8bbbce9a792fda9ec288e1ec42f1c566cc0e4bd /fftools/cmdutils.c
parent3cfea6993ac5185543d0d1142e93d6f96baee3c0 (diff)
downloadffmpeg-9e4991519575b3642e5fa63635f22de8f7c61b8b.tar.gz
avcodec/mediacodecenc: Add global header support
The extradata is generated by encoding a dummy frame, then reset the encoder state by mediacodec flush(). It only works for pixel format other than AV_PIX_FMT_MEDIACODEC, since I'm not sure how to create a dummy frame safely with AV_PIX_FMT_MEDIACODEC. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'fftools/cmdutils.c')
0 files changed, 0 insertions, 0 deletions