Commit 3fbc653e authored by michael's avatar michael

remove special case for h.264 whatever this was supposed to do its not correct


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8423 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 22428bba
...@@ -602,8 +602,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st, ...@@ -602,8 +602,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
if (st->codec->codec_type == CODEC_TYPE_VIDEO) { if (st->codec->codec_type == CODEC_TYPE_VIDEO) {
/* XXX: need has_b_frame, but cannot get it if the codec is /* XXX: need has_b_frame, but cannot get it if the codec is
not initialized */ not initialized */
if (( st->codec->codec_id == CODEC_ID_H264 if (st->codec->has_b_frames &&
|| st->codec->has_b_frames) &&
pc && pc->pict_type != FF_B_TYPE) pc && pc->pict_type != FF_B_TYPE)
presentation_delayed = 1; presentation_delayed = 1;
/* this may be redundant, but it shouldnt hurt */ /* this may be redundant, but it shouldnt hurt */
......
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