# HG changeset patch # User michael # Date 1229896049 0 # Node ID f75be04312dc33376ddde0f26e56994d617c5fc5 # Parent ad4f1028763363320f8b34da3d0b1e8a0319483c Fix PTS returned by the demuxers for mpeg4 without a decoder. More precissely fix has_b_frames. Fixes issue757 diff -r ad4f10287633 -r f75be04312dc h263.c --- a/h263.c Sun Dec 21 21:30:36 2008 +0000 +++ b/h263.c Sun Dec 21 21:47:29 2008 +0000 @@ -6137,6 +6137,7 @@ end: if(s->flags& CODEC_FLAG_LOW_DELAY) s->low_delay=1; + s->avctx->has_b_frames= !s->low_delay; return decode_vop_header(s, gb); }