Revision b38f008e libavformat/utils.c

View differences:

libavformat/utils.c
930 930
    /* do we have a video B-frame ? */
931 931
    delay= st->codec->has_b_frames;
932 932
    presentation_delayed = 0;
933

  
934
    // ignore delay caused by frame threading so that the mpeg2-without-dts
935
    // warning will not trigger
936
    if (delay && st->codec->active_thread_type&FF_THREAD_FRAME)
937
        delay -= st->codec->thread_count-1;
938

  
933 939
    /* XXX: need has_b_frame, but cannot get it if the codec is
934 940
        not initialized */
935 941
    if (delay &&

Also available in: Unified diff