summaryrefslogtreecommitdiff
path: root/ffserver.c
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2005-05-07 00:56:05 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2005-05-07 00:56:05 +0000
commite8d27bc302779344c5c8b69397561fbf38709ee9 (patch)
tree62d8c1d733e02669d5e90dae026f50cfba446aab /ffserver.c
parent3c150d16c6ad587e95ed394570fae0f03190b8ea (diff)
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
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffserver.c b/ffserver.c
index d3daaba1c8..f1777a9618 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -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) */