mirror of https://git.ffmpeg.org/ffmpeg.git
ffmpeg: avoid apics for video output if possible
Fixes Ticket1714 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a7b483953d
commit
de73ae6b1a
|
@ -1499,6 +1499,8 @@ void opt_output_file(void *optctx, const char *filename)
|
|||
int new_area;
|
||||
ist = input_streams[i];
|
||||
new_area = ist->st->codec->width * ist->st->codec->height;
|
||||
if((qcr!=MKTAG('A', 'P', 'I', 'C')) && (ist->st->disposition & AV_DISPOSITION_ATTACHED_PIC))
|
||||
new_area = 1;
|
||||
if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO &&
|
||||
new_area > area) {
|
||||
if((qcr==MKTAG('A', 'P', 'I', 'C')) && !(ist->st->disposition & AV_DISPOSITION_ATTACHED_PIC))
|
||||
|
|
Loading…
Reference in New Issue