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
pull/126/head
Luca Abeni 18 years ago
parent 6369638bf0
commit 9dc0bc3dad
  1. 1
      ffserver.c

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

Loading…
Cancel
Save