Revision 346db3ef libavcodec/avcodec.h

View differences:

libavcodec/avcodec.h
3005 3005
    int64_t next_frame_offset; /* offset of the next frame */
3006 3006
    /* video info */
3007 3007
    int pict_type; /* XXX: Put it back in AVCodecContext. */
3008
    /**
3009
     * This field is used for proper frame duration computation in lavf.
3010
     * It signals, how much longer the frame duration of the current frame
3011
     * is compared to normal frame duration.
3012
     *
3013
     * frame_duration = (2 + repeat_pict) / (2*fps)
3014
     *
3015
     * It is used by codecs like H.264 to display telecined material.
3016
     *
3017
     * @note This field can also be set to -1 for half-frame duration in case
3018
     *       of field pictures.
3019
     */
3008 3020
    int repeat_pict; /* XXX: Put it back in AVCodecContext. */
3009 3021
    int64_t pts;     /* pts of the current frame */
3010 3022
    int64_t dts;     /* dts of the current frame */

Also available in: Unified diff