summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);