Merge remote-tracking branch 'ffmpeg-mt/master'
* ffmpeg-mt/master: Update todo The maximum buffer size needs to be 33, not 32 merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
40c29d42cf
commit
a54dceb26a
@ -55,7 +55,7 @@ typedef struct ThreadContext {
|
|||||||
} ThreadContext;
|
} ThreadContext;
|
||||||
|
|
||||||
/// Max number of frame buffers that can be allocated when using frame threads.
|
/// Max number of frame buffers that can be allocated when using frame threads.
|
||||||
#define MAX_BUFFERS 32
|
#define MAX_BUFFERS 33
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Context used by codec threads and stored in their AVCodecContext thread_opaque.
|
* Context used by codec threads and stored in their AVCodecContext thread_opaque.
|
||||||
|
@ -115,7 +115,7 @@ typedef struct InternalBuffer{
|
|||||||
enum PixelFormat pix_fmt;
|
enum PixelFormat pix_fmt;
|
||||||
}InternalBuffer;
|
}InternalBuffer;
|
||||||
|
|
||||||
#define INTERNAL_BUFFER_SIZE 32
|
#define INTERNAL_BUFFER_SIZE 33
|
||||||
|
|
||||||
void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, int linesize_align[4]){
|
void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, int linesize_align[4]){
|
||||||
int w_align= 1;
|
int w_align= 1;
|
||||||
|
@ -23,8 +23,9 @@ field pictures in the same packet are not optimal. Modify the
|
|||||||
nals_needed check so that the second field's first slice is
|
nals_needed check so that the second field's first slice is
|
||||||
considered as needed, then uncomment the FIXME code in decode_postinit.
|
considered as needed, then uncomment the FIXME code in decode_postinit.
|
||||||
Ex: http://astrange.ithinksw.net/ffmpeg/mt-samples/PAFF-Chalet-Tire.mp4
|
Ex: http://astrange.ithinksw.net/ffmpeg/mt-samples/PAFF-Chalet-Tire.mp4
|
||||||
- The conformance sample MR3_TANDBERG_B.264 has problems (allocated picture overflow).
|
- The code added to shorten frame gaps (to avoid allocating more than 16 new frames)
|
||||||
- One 10-bit sample has problems.
|
appears to be wrong by inspection. It does not handle prev_frame_num > frame_num,
|
||||||
|
and "h->frame_num - h->sps.ref_frame_count - 1" should be "h->frame_num - h->sps.ref_frame_count".
|
||||||
|
|
||||||
mpeg4:
|
mpeg4:
|
||||||
- Packed B-frames need to be explicitly split up
|
- Packed B-frames need to be explicitly split up
|
||||||
|
Loading…
Reference in New Issue
Block a user