Browse Source

avcodec: add new AVOID_PROBING capability

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.2
Timo Rothenpieler 8 years ago
parent
commit
30d3e36a46
3 changed files with 15 additions and 2 deletions
  1. +3
    -0
      doc/APIchanges
  2. +10
    -0
      libavcodec/avcodec.h
  3. +2
    -2
      libavcodec/version.h

+ 3
- 0
doc/APIchanges View File

@@ -15,6 +15,9 @@ libavutil: 2015-08-28


API changes, most recent first: API changes, most recent first:


2016-09-xx - xxxxxxx - lavc 57.58.100 - avcodec.h
Add AV_CODEC_CAP_AVOID_PROBING codec capability flag.

2016-09-xx - xxxxxxx - lavf 57.49.100 - avformat.h 2016-09-xx - xxxxxxx - lavf 57.49.100 - avformat.h
Add avformat_transfer_internal_stream_timing_info helper to help with stream Add avformat_transfer_internal_stream_timing_info helper to help with stream
copy. copy.


+ 10
- 0
libavcodec/avcodec.h View File

@@ -1035,6 +1035,16 @@ typedef struct RcOverride{
* Audio encoder supports receiving a different number of samples in each call. * Audio encoder supports receiving a different number of samples in each call.
*/ */
#define AV_CODEC_CAP_VARIABLE_FRAME_SIZE (1 << 16) #define AV_CODEC_CAP_VARIABLE_FRAME_SIZE (1 << 16)
/**
* Decoder is not a preferred choice for probing.
* This indicates that the decoder is not a good choice for probing.
* It could for example be an expensive to spin up hardware decoder,
* or it could simply not provide a lot of useful information about
* the stream.
* A decoder marked with this flag should only be used as last resort
* choice for probing.
*/
#define AV_CODEC_CAP_AVOID_PROBING (1 << 17)
/** /**
* Codec is intra only. * Codec is intra only.
*/ */


+ 2
- 2
libavcodec/version.h View File

@@ -28,8 +28,8 @@
#include "libavutil/version.h" #include "libavutil/version.h"


#define LIBAVCODEC_VERSION_MAJOR 57 #define LIBAVCODEC_VERSION_MAJOR 57
#define LIBAVCODEC_VERSION_MINOR 57
#define LIBAVCODEC_VERSION_MICRO 101
#define LIBAVCODEC_VERSION_MINOR 58
#define LIBAVCODEC_VERSION_MICRO 100


#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \ LIBAVCODEC_VERSION_MINOR, \


Loading…
Cancel
Save