mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '39523030108815242178ac5e209c83070bd1baef'
* commit '39523030108815242178ac5e209c83070bd1baef': mov: Set the timescale for data streams Conflicts: libavformat/movenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
4a6f1be170
@ -3696,7 +3696,9 @@ static int mov_write_header(AVFormatContext *s)
|
||||
}
|
||||
} else if (st->codec->codec_type == AVMEDIA_TYPE_SUBTITLE) {
|
||||
track->timescale = st->codec->time_base.den;
|
||||
}else{
|
||||
} else if (st->codec->codec_type == AVMEDIA_TYPE_DATA) {
|
||||
track->timescale = st->codec->time_base.den;
|
||||
} else {
|
||||
track->timescale = MOV_TIMESCALE;
|
||||
}
|
||||
if (!track->height)
|
||||
|
Loading…
Reference in New Issue
Block a user