mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00: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