OSDN Git Service

ffserver: Calculate cur_pts using first_pts as origin instead of ist->start_time
authorMartin Storsjö <martin@martin.st>
Thu, 3 Jun 2010 20:58:22 +0000 (20:58 +0000)
committerMartin Storsjö <martin@martin.st>
Thu, 3 Jun 2010 20:58:22 +0000 (20:58 +0000)
commitf475f35fdd0bb3c15737609352c69bc352c8ec15
treeb52949cb9cf6e0dd07a25e3f6b31bc6456117a13
parentee0e91462ce299151a856bddc4f5ba9fb170d233
ffserver: Calculate cur_pts using first_pts as origin instead of ist->start_time

This fixes cases where ist->start_time wasn't initialized. This also makes
cur_pts calculated against the same origin for all streams.

Originally committed as revision 23450 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c