mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 13:50:58 +00:00
Mark the first output audio frame as keyframe (separate patch from previous,
as requested by Kostya). See "[PATCH] rmdec.c: remove cache access duplication". Originally committed as revision 18010 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c5efef7be9
commit
55d330f913
@ -687,6 +687,10 @@ ff_rm_retrieve_cache (AVFormatContext *s, ByteIOContext *pb,
|
||||
st->codec->block_align);
|
||||
}
|
||||
rm->audio_pkt_cnt--;
|
||||
if ((pkt->pts = ast->audiotimestamp) != AV_NOPTS_VALUE) {
|
||||
ast->audiotimestamp = AV_NOPTS_VALUE;
|
||||
pkt->flags = PKT_FLAG_KEY;
|
||||
} else
|
||||
pkt->flags = 0;
|
||||
pkt->stream_index = st->index;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user