mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: configure: add POWER[5-7] support arm: intreadwrite: revert 16-bit load asm to old version for gcc < 4.6 vqavideo: return error if image size is not a multiple of block size cosmetics: indentation avformat: only fill-in interpolated timestamps if duration is non-zero avformat: remove a workaround for broken timestamps Conflicts: libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
bce42e95d1
4 changed files with 17 additions and 11 deletions
|
|
@ -1082,13 +1082,14 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
|
|||
}
|
||||
|
||||
/* presentation is not delayed : PTS and DTS are the same */
|
||||
if(pkt->pts == AV_NOPTS_VALUE)
|
||||
if (pkt->pts == AV_NOPTS_VALUE)
|
||||
pkt->pts = pkt->dts;
|
||||
update_initial_timestamps(s, pkt->stream_index, pkt->pts, pkt->pts);
|
||||
if(pkt->pts == AV_NOPTS_VALUE)
|
||||
update_initial_timestamps(s, pkt->stream_index, pkt->pts,
|
||||
pkt->pts);
|
||||
if (pkt->pts == AV_NOPTS_VALUE)
|
||||
pkt->pts = st->cur_dts;
|
||||
pkt->dts = pkt->pts;
|
||||
if(pkt->pts != AV_NOPTS_VALUE)
|
||||
if (pkt->pts != AV_NOPTS_VALUE)
|
||||
st->cur_dts = pkt->pts + duration;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue