Mercurial > libavformat.hg
diff img2.c @ 5653:25eca7e2cf64 libavformat
Add flag so muxers not needing width/height can signal this.
Add this flag to img2 (fixes -vcodec copy to image2 in some cases)
author | michael |
---|---|
date | Fri, 12 Feb 2010 20:35:29 +0000 |
parents | 4266e4129b61 |
children | b5d74258cd23 |
line wrap: on
line diff
--- a/img2.c Fri Feb 12 11:31:35 2010 +0000 +++ b/img2.c Fri Feb 12 20:35:29 2010 +0000 @@ -446,7 +446,7 @@ img_write_header, img_write_packet, NULL, - .flags= AVFMT_NOTIMESTAMPS | AVFMT_NOFILE + .flags= AVFMT_NOTIMESTAMPS | AVFMT_NODIMENSIONS | AVFMT_NOFILE }; #endif #if CONFIG_IMAGE2PIPE_MUXER @@ -460,6 +460,6 @@ CODEC_ID_MJPEG, img_write_header, img_write_packet, - .flags= AVFMT_NOTIMESTAMPS + .flags= AVFMT_NOTIMESTAMPS | AVFMT_NODIMENSIONS }; #endif