diff options
| author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-21 12:56:44 +0000 |
|---|---|---|
| committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-21 12:56:44 +0000 |
| commit | 5f31761a4fa6995592cdd536c52f6ddac8151a89 (patch) | |
| tree | aeec46d8f80b411df280cc2cc6bc124c2dbd6756 /src/demuxers/demux_fli.c | |
| parent | eafb4f823a16426e7b2b30ada1b3cca47d8eeb3c (diff) | |
| download | xine-lib-5f31761a4fa6995592cdd536c52f6ddac8151a89.tar.gz xine-lib-5f31761a4fa6995592cdd536c52f6ddac8151a89.tar.bz2 | |
- add buf->decoder_info_ptr: portability for systems where pointer has
different sizeof than integer.
- add extra_info structure to pass informations from input/demuxers down
to the output frame. this can be used, for example, to pass the frame
number of a frame (when known by decoder). also, immediate benefict is
that we now have a slider which really shows the current position of
the playing stream. new fields can be added to extra_info keeping
binary compatibility
- bumpy everybody's api versions
CVS patchset: 3603
CVS date: 2002/12/21 12:56:44
Diffstat (limited to 'src/demuxers/demux_fli.c')
| -rw-r--r-- | src/demuxers/demux_fli.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/demuxers/demux_fli.c b/src/demuxers/demux_fli.c index a992aa9cf..8d50b7bd2 100644 --- a/src/demuxers/demux_fli.c +++ b/src/demuxers/demux_fli.c @@ -22,7 +22,7 @@ * avoid while programming a FLI decoder, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_fli.c,v 1.29 2002/12/08 21:43:50 miguelfreitas Exp $ + * $Id: demux_fli.c,v 1.30 2002/12/21 12:56:45 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -169,9 +169,9 @@ static int demux_fli_send_chunk(demux_plugin_t *this_gen) { while (chunk_size) { buf = this->video_fifo->buffer_pool_alloc (this->video_fifo); buf->type = BUF_VIDEO_FLI; - buf->input_pos = current_file_pos; - buf->input_time = pts_counter / 90000; - buf->input_length = this->stream_len; + buf->extra_info->input_pos = current_file_pos; + buf->extra_info->input_time = pts_counter / 90000; + buf->extra_info->input_length = this->stream_len; buf->pts = pts_counter; if (chunk_size > buf->max_size) @@ -414,6 +414,6 @@ static void *init_plugin (xine_t *xine, void *data) { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_DEMUX, 18, "fli", XINE_VERSION_CODE, NULL, init_plugin }, + { PLUGIN_DEMUX, 19, "fli", XINE_VERSION_CODE, NULL, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |
