summaryrefslogtreecommitdiff
path: root/ffserver.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2007-09-17 07:50:04 +0000
committerLuca Abeni <lucabe72@email.it>2007-09-17 07:50:04 +0000
commit9dc0bc3dadbc01b350b84c0079de391cb6015094 (patch)
treecd6d9fdc34e07382bad48e2d7dff2c366119cf9c /ffserver.c
parent6369638bf0440b10cb9c545e6f7a8903b683c21f (diff)
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
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 0b21cc41a4..6d9af54ad5 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);