Commit df32dd27 authored by rbultje's avatar rbultje

Mark the first output audio frame as keyframe (separate patch from previous,

as requested by Kostya). See "[PATCH] rmdec.c: remove cache access
duplication".



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18010 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2edd3b7a
......@@ -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;
......
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