Revision 1919feaf

View differences:

doc/APIchanges
13 13

  
14 14
API changes, most recent first:
15 15

  
16
2011-01-07 - r26261 - lavc 52.106.0 - pkt_dts
17
  Add pkt_dts to AVFrame, this will in the future allow multithreading decoders
18
  to not mess up dts.
19

  
16 20
2011-01-07 - r26260 - lavc 52.105.0 - pkt_pts
17 21
  Add pkt_pts to AVFrame.
18 22

  
libavcodec/avcodec.h
32 32
#include "libavutil/cpu.h"
33 33

  
34 34
#define LIBAVCODEC_VERSION_MAJOR 52
35
#define LIBAVCODEC_VERSION_MINOR 105
35
#define LIBAVCODEC_VERSION_MINOR 106
36 36
#define LIBAVCODEC_VERSION_MICRO  0
37 37

  
38 38
#define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
......
1016 1016
     * - decoding: Read by user.\
1017 1017
     */\
1018 1018
    int64_t pkt_pts;\
1019
\
1020
    /**\
1021
     * dts from the last AVPacket that has been input into the decoder\
1022
     * - encoding: unused\
1023
     * - decoding: Read by user.\
1024
     */\
1025
    int64_t pkt_dts;\
1019 1026

  
1020 1027

  
1021 1028
#define FF_QSCALE_TYPE_MPEG1 0
libavcodec/utils.c
639 639

  
640 640
        emms_c(); //needed to avoid an emms_c() call before every return;
641 641

  
642
        picture->pkt_dts= avpkt->dts;
643

  
642 644
        if (*got_picture_ptr)
643 645
            avctx->frame_number++;
644 646
    }else

Also available in: Unified diff