Use AVFMT_FLAG_GENPTS for the input file (the RTP output format needs all the
authorLuca Abeni <lucabe72@email.it>
Mon, 17 Sep 2007 07:50:04 +0000 (07:50 +0000)
committerLuca Abeni <lucabe72@email.it>
Mon, 17 Sep 2007 07:50:04 +0000 (07:50 +0000)
PTSs to be set)

Originally committed as revision 10514 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index 0b21cc4..6d9af54 100644 (file)
@@ -1917,6 +1917,7 @@ static int open_input_stream(HTTPContext *c, const char *info)
         http_log("%s not found", input_filename);
         return -1;
     }
+    s->flags |= AVFMT_FLAG_GENPTS;
     c->fmt_in = s;
     av_find_stream_info(c->fmt_in);