Add flag so muxers not needing width/height can signal this.

Add this flag to img2 (fixes -vcodec copy to image2 in some cases)

Originally committed as revision 21773 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2010-02-12 20:35:29 +00:00
parent 3566042a0d
commit ab5a0175f5
3 changed files with 4 additions and 3 deletions

View File

@@ -446,7 +446,7 @@ AVOutputFormat image2_muxer = {
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 @@ AVOutputFormat image2pipe_muxer = {
CODEC_ID_MJPEG,
img_write_header,
img_write_packet,
.flags= AVFMT_NOTIMESTAMPS
.flags= AVFMT_NOTIMESTAMPS | AVFMT_NODIMENSIONS
};
#endif