Commit 4a6f1be1 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '39523030'

* commit '39523030':
  mov: Set the timescale for data streams

Conflicts:
	libavformat/movenc.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents e1acfd3c 39523030
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment