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
This commit is contained in:
Luca Abeni 2007-09-17 07:50:04 +00:00
parent 6369638bf0
commit 9dc0bc3dad

View File

@ -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);