mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 14:01:27 +00:00
remove special case for h.264 whatever this was supposed to do its not correct
Originally committed as revision 8423 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7fc98937d2
commit
741887cf3e
@ -602,8 +602,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
|
||||
if (st->codec->codec_type == CODEC_TYPE_VIDEO) {
|
||||
/* XXX: need has_b_frame, but cannot get it if the codec is
|
||||
not initialized */
|
||||
if (( st->codec->codec_id == CODEC_ID_H264
|
||||
|| st->codec->has_b_frames) &&
|
||||
if (st->codec->has_b_frames &&
|
||||
pc && pc->pict_type != FF_B_TYPE)
|
||||
presentation_delayed = 1;
|
||||
/* this may be redundant, but it shouldnt hurt */
|
||||
|
Loading…
Reference in New Issue
Block a user