-
- Downloads
Deprecate avctx.coded_frame
The rationale is that coded_frame was only used to communicate key_frame,
pict_type and quality to the caller, as well as a few other random fields,
in a non predictable, let alone consistent way.
There was agreement that there was no use case for coded_frame, as it is
a full-sized AVFrame container used for just 2-3 int-sized properties,
which shouldn't even belong into the AVCodecContext in the first place.
The appropriate AVPacket flag can be used instead of key_frame, while
quality is exported with the new AVPacketSideData quality factor.
There is no replacement for the other fields as they were unreliable,
mishandled or just not used at all.
Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
Showing
- avconv.c 19 additions, 0 deletionsavconv.c
- libavcodec/a64multienc.c 8 additions, 0 deletionslibavcodec/a64multienc.c
- libavcodec/aliaspixenc.c 4 additions, 0 deletionslibavcodec/aliaspixenc.c
- libavcodec/asvenc.c 4 additions, 0 deletionslibavcodec/asvenc.c
- libavcodec/avcodec.h 5 additions, 1 deletionlibavcodec/avcodec.h
- libavcodec/bmpenc.c 4 additions, 0 deletionslibavcodec/bmpenc.c
- libavcodec/cljrenc.c 4 additions, 0 deletionslibavcodec/cljrenc.c
- libavcodec/dnxhdenc.c 12 additions, 0 deletionslibavcodec/dnxhdenc.c
- libavcodec/dpxenc.c 4 additions, 0 deletionslibavcodec/dpxenc.c
- libavcodec/dvenc.c 4 additions, 0 deletionslibavcodec/dvenc.c
- libavcodec/ffv1enc.c 8 additions, 0 deletionslibavcodec/ffv1enc.c
- libavcodec/flashsvenc.c 8 additions, 0 deletionslibavcodec/flashsvenc.c
- libavcodec/gif.c 4 additions, 0 deletionslibavcodec/gif.c
- libavcodec/huffyuvenc.c 4 additions, 0 deletionslibavcodec/huffyuvenc.c
- libavcodec/jpeglsenc.c 4 additions, 0 deletionslibavcodec/jpeglsenc.c
- libavcodec/lclenc.c 4 additions, 0 deletionslibavcodec/lclenc.c
- libavcodec/libschroedingerenc.c 6 additions, 2 deletionslibavcodec/libschroedingerenc.c
- libavcodec/libtheoraenc.c 4 additions, 0 deletionslibavcodec/libtheoraenc.c
- libavcodec/libvpxenc.c 12 additions, 0 deletionslibavcodec/libvpxenc.c
- libavcodec/libx264.c 8 additions, 0 deletionslibavcodec/libx264.c
Loading
Please register or sign in to comment