Commit d1eee461 authored by lucabe's avatar lucabe

Use AVFMT_FLAG_GENPTS for the input file (the RTP output format needs all the

PTSs to be set)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10514 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ea7f5f4e
...@@ -1917,6 +1917,7 @@ static int open_input_stream(HTTPContext *c, const char *info) ...@@ -1917,6 +1917,7 @@ static int open_input_stream(HTTPContext *c, const char *info)
http_log("%s not found", input_filename); http_log("%s not found", input_filename);
return -1; return -1;
} }
s->flags |= AVFMT_FLAG_GENPTS;
c->fmt_in = s; c->fmt_in = s;
av_find_stream_info(c->fmt_in); av_find_stream_info(c->fmt_in);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment