From 9dc0bc3dadbc01b350b84c0079de391cb6015094 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Mon, 17 Sep 2007 07:50:04 +0000 Subject: Use AVFMT_FLAG_GENPTS for the input file (the RTP output format needs all the PTSs to be set) Originally committed as revision 10514 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ffserver.c') diff --git a/ffserver.c b/ffserver.c index 0b21cc4..6d9af54 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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); -- cgit v1.1