Browse Source

Flv should be AVFMT_VARIABLE_FPS.

Originally committed as revision 19873 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer 15 years ago
parent
commit
e458dd0be0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libavformat/flvenc.c

+ 1 - 1
libavformat/flvenc.c

@@ -399,5 +399,5 @@ AVOutputFormat flv_muxer = {
     flv_write_packet,
     flv_write_trailer,
     .codec_tag= (const AVCodecTag* const []){flv_video_codec_ids, flv_audio_codec_ids, 0},
-    .flags= AVFMT_GLOBALHEADER,
+    .flags= AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
 };