aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio_internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-04 19:46:19 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-05 08:39:40 +0200
commitfa104e14abc1361762cb2451cc83072e4d2a5d52 (patch)
treeb76cf07c2a083556df5f0b2dd2d5fd44385a60e0 /libavformat/avio_internal.h
parent5f2e6c0fd11f34ba7cd013a0b22d7bd0d60613b8 (diff)
downloadffmpeg-fa104e14abc1361762cb2451cc83072e4d2a5d52.tar.gz
avio: deprecate av_url_read_pause
It's not used anywhere internally. Salvage its documentation for ffio_read_pause.
Diffstat (limited to 'libavformat/avio_internal.h')
-rw-r--r--libavformat/avio_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h
index b0f96cfa53..db3b30855b 100644
--- a/libavformat/avio_internal.h
+++ b/libavformat/avio_internal.h
@@ -66,6 +66,11 @@ uint64_t ffio_read_varlen(AVIOContext *bc);
/** @warning must be called before any I/O */
int ffio_set_buf_size(AVIOContext *s, int buf_size);
+/**
+ * Pause and resume playing - only meaningful if using a network streaming
+ * protocol (e.g. MMS).
+ * @param pause 1 for pause, 0 for resume
+ */
int ffio_read_pause(AVIOContext *h, int pause);
int64_t ffio_read_seek (AVIOContext *h, int stream_index,
int64_t timestamp, int flags);