diff options
author | Siggi Langauf <siggi@users.sourceforge.net> | 2002-05-21 00:12:31 +0000 |
---|---|---|
committer | Siggi Langauf <siggi@users.sourceforge.net> | 2002-05-21 00:12:31 +0000 |
commit | 3a1cff5f8ea76ca1caab68df8fe64cc17848587f (patch) | |
tree | 1486cd5eaa8471d15ea5c4c988ffce5b39ec5f68 /src/demuxers/demux.h | |
parent | f21031711ce3524cc9480fedf3e6103df831ed28 (diff) | |
download | xine-lib-3a1cff5f8ea76ca1caab68df8fe64cc17848587f.tar.gz xine-lib-3a1cff5f8ea76ca1caab68df8fe64cc17848587f.tar.bz2 |
atomic status code on demux start/seek
(demux_avi by Thibaut Mattern)
CVS patchset: 1914
CVS date: 2002/05/21 00:12:31
Diffstat (limited to 'src/demuxers/demux.h')
-rw-r--r-- | src/demuxers/demux.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/demuxers/demux.h b/src/demuxers/demux.h index 8f7d9b480..d8622eeb8 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.13 2002/04/09 03:37:59 miguelfreitas Exp $ + * $Id: demux.h,v 1.14 2002/05/21 00:12:31 siggi Exp $ */ #ifndef HAVE_DEMUX_H @@ -86,9 +86,12 @@ struct demux_plugin_s * * if both parameters are !=0 start_pos will be used * for non-seekable streams both values will be ignored + * + * returns the demux status (like get_status, but immediately after + * starting the demuxer) */ - void (*start) (demux_plugin_t *this, fifo_buffer_t *video_fifo, + int (*start) (demux_plugin_t *this, fifo_buffer_t *video_fifo, fifo_buffer_t *audio_fifo, off_t start_pos, int start_time); @@ -102,9 +105,12 @@ struct demux_plugin_s * * if both parameters are !=0 start_pos will be used * for non-seekable streams both values will be ignored + * + * returns the demux status (like get_status, but immediately after + * starting the demuxer) */ - void (*seek) (demux_plugin_t *this, + int (*seek) (demux_plugin_t *this, off_t start_pos, int start_time); /* |