Commit 9dc0bc3d authored by Luca Abeni's avatar Luca Abeni

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
parent 6369638b
......@@ -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);
......
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