From: Carl Eugen Hoyos Date: Sat, 3 Oct 2009 19:40:52 +0000 (+0000) Subject: Add FIXME about low_delay vs has_b_frames. X-Git-Tag: v0.6~3027 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e18027ac4042fa375357bcf063e6b0d9dbe0f7b9;p=platform%2Fupstream%2Flibav.git Add FIXME about low_delay vs has_b_frames. Originally committed as revision 20161 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/utils.c b/libavformat/utils.c index f46be17..7575b2f 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -771,6 +771,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st, int64_t offset; if (st->codec->codec_id != CODEC_ID_H264 && pc && pc->pict_type == FF_B_TYPE) + //FIXME Set low_delay = 0 when has_b_frames = 1 st->codec->has_b_frames = 1; /* do we have a video B-frame ? */