mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-22 23:10:00 +01:00
avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export
Add an initial mvs flag to is, analog to the export_mvs flags2 one. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -947,6 +947,9 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
&& avctx->codec_descriptor->type == AVMEDIA_TYPE_VIDEO)
|
||||
av_log(avctx, AV_LOG_WARNING,
|
||||
"gray decoding requested but not enabled at configuration time\n");
|
||||
if (avctx->flags2 & AV_CODEC_FLAG2_EXPORT_MVS) {
|
||||
avctx->export_side_data |= AV_CODEC_EXPORT_DATA_MVS;
|
||||
}
|
||||
|
||||
if ( avctx->codec->init && (!(avctx->active_thread_type&FF_THREAD_FRAME)
|
||||
|| avci->frame_thread_encoder)) {
|
||||
|
||||
Reference in New Issue
Block a user