diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-06-13 21:28:52 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-06-13 21:28:52 +0000 |
commit | f85a943fdff3f12db8faf4b84e4f63aafdc60db3 (patch) | |
tree | e16cc52e6b9a9548714a1ee31a5265ff34127467 /src/demuxers/demux.h | |
parent | 62f8ce9ec67fb85da1023b5db90a0a5f1609cff7 (diff) | |
download | xine-lib-f85a943fdff3f12db8faf4b84e4f63aafdc60db3.tar.gz xine-lib-f85a943fdff3f12db8faf4b84e4f63aafdc60db3.tar.bz2 |
implement steps 1, 2, 3 and 4 of the seeking proposal:
http://article.gmane.org/gmane.comp.video.xine.devel/9532
it is now up to demuxers to decide what the 0..65535 position means.
demuxers tested: ogg, voc, flac, rm, asf, vqa, vob, avi, y4m, au, mov, ts, mp3, mpg, wav, ra, mve
CVS patchset: 6686
CVS date: 2004/06/13 21:28:52
Diffstat (limited to 'src/demuxers/demux.h')
-rw-r--r-- | src/demuxers/demux.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/demuxers/demux.h b/src/demuxers/demux.h index df05ef286..625922c26 100644 --- a/src/demuxers/demux.h +++ b/src/demuxers/demux.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux.h,v 1.37 2004/02/12 18:05:45 mroi Exp $ + * $Id: demux.h,v 1.38 2004/06/13 21:28:52 miguelfreitas Exp $ */ #ifndef HAVE_DEMUX_H @@ -33,7 +33,7 @@ # include <xine/xine_internal.h> #endif -#define DEMUXER_PLUGIN_IFACE_VERSION 24 +#define DEMUXER_PLUGIN_IFACE_VERSION 25 #define DEMUX_OK 0 #define DEMUX_FINISHED 1 @@ -106,7 +106,9 @@ struct demux_plugin_s { * * for seekable streams, a start position can be specified * - * start_pos : position in input source + * start_pos : position in input source (0..65535) + * this is defined as most convenient to demuxer, can be + * either time or offset based. * start_time : position measured in miliseconds from stream start * playing : true if this is a new seek within an already playing stream * false if playback of this stream has not started yet |