avformat/fits*: format does not store timestamps

This commit is contained in:
Paul B Mahol 2023-05-21 20:58:37 +02:00
parent 02823703f4
commit a6068c8700
2 changed files with 4 additions and 2 deletions

View File

@ -228,4 +228,5 @@ const AVInputFormat ff_fits_demuxer = {
.read_header = fits_read_header,
.read_packet = fits_read_packet,
.priv_class = &fits_demuxer_class,
.flags = AVFMT_NOTIMESTAMPS,
};

View File

@ -199,6 +199,7 @@ const FFOutputFormat ff_fits_muxer = {
.p.audio_codec = AV_CODEC_ID_NONE,
.p.video_codec = AV_CODEC_ID_FITS,
.priv_data_size = sizeof(FITSContext),
.write_header = fits_write_header,
.write_packet = fits_write_packet,
.write_header = fits_write_header,
.write_packet = fits_write_packet,
.p.flags = AVFMT_NOTIMESTAMPS,
};