mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
MJPEG encoder to write aspect ratio information
This commit is contained in:
parent
a0db7424e4
commit
f3ce748d34
@ -156,7 +156,7 @@ static void jpeg_put_comments(MpegEncContext *s)
|
||||
int size;
|
||||
uint8_t *ptr;
|
||||
|
||||
if (s->aspect_ratio_info /* && !lossless */)
|
||||
if (s->avctx->sample_aspect_ratio.num /* && !lossless */)
|
||||
{
|
||||
/* JFIF header */
|
||||
put_marker(p, APP0);
|
||||
|
Loading…
Reference in New Issue
Block a user