1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Turn on the seeking support for ffm streams. Now means that streams are

played from the current time rahter than from the beginning

Originally committed as revision 4194 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Philip Gladstone 2005-05-07 00:56:05 +00:00
parent 3c150d16c6
commit e8d27bc302

View File

@ -1940,9 +1940,9 @@ static int open_input_stream(HTTPContext *c, const char *info)
}
}
#if 0
#if 1
if (c->fmt_in->iformat->read_seek) {
c->fmt_in->iformat->read_seek(c->fmt_in, stream_pos);
c->fmt_in->iformat->read_seek(c->fmt_in, 0, stream_pos, 0);
}
#endif
/* set the start time (needed for maxtime and RTP packet timing) */