mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
nut: prioritize native tags
Use native tags instead of avi ones, simplifies a lot raw video codecs handling.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "libavutil/mathematics.h"
|
||||
#include "libavutil/tree.h"
|
||||
#include "nut.h"
|
||||
#include "riff.h"
|
||||
#include "internal.h"
|
||||
|
||||
const AVCodecTag ff_nut_subtitle_tags[] = {
|
||||
@@ -89,6 +90,11 @@ const AVCodecTag ff_nut_video_tags[] = {
|
||||
{ AV_CODEC_ID_NONE , 0 }
|
||||
};
|
||||
|
||||
const AVCodecTag * const ff_nut_codec_tags[] = {
|
||||
ff_nut_video_tags, ff_nut_subtitle_tags,
|
||||
ff_codec_bmp_tags, ff_codec_wav_tags, 0
|
||||
};
|
||||
|
||||
void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val){
|
||||
int i;
|
||||
for(i=0; i<nut->avf->nb_streams; i++){
|
||||
|
||||
Reference in New Issue
Block a user