diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-07 02:40:46 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-07 02:40:46 +0000 |
commit | eb4a0ced215a63478a1a941f0eecc61413eef44e (patch) | |
tree | 43490b4fc242eef9589aabc8248af5aa5854fde9 /src/xine-engine/xine.c | |
parent | 387d398d4c96bfe17ee38452795aeccd67e5d048 (diff) | |
download | xine-lib-eb4a0ced215a63478a1a941f0eecc61413eef44e.tar.gz xine-lib-eb4a0ced215a63478a1a941f0eecc61413eef44e.tar.bz2 |
- demuxer cleanup (helper functions)
- endianness fixes/cleanups (fix asf demuxer/audio for bigendian)
- xine_waveformatex
- increased demuxer plugin version
CVS patchset: 2028
CVS date: 2002/06/07 02:40:46
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 9efe619ff..21dd8ce7a 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -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: xine.c,v 1.134 2002/06/01 16:36:13 mroi Exp $ + * $Id: xine.c,v 1.135 2002/06/07 02:40:47 miguelfreitas Exp $ * * top-level xine functions * @@ -139,36 +139,6 @@ void xine_notify_stream_finished (xine_t *this) { } } -/* internal use only - called from demuxers on seek/stop - * warning: after clearing decoders fifos an absolute discontinuity - * indication must be sent. relative discontinuities are likely - * to cause "jumps" on metronom. - */ -void xine_flush_engine (xine_t *this) { - - buf_element_t *buf; - - this->video_fifo->clear(this->video_fifo); - if( this->audio_fifo ) - this->audio_fifo->clear(this->audio_fifo); - - buf = this->video_fifo->buffer_pool_alloc (this->video_fifo); - buf->type = BUF_CONTROL_RESET_DECODER; - this->video_fifo->put (this->video_fifo, buf); - - if(this->audio_fifo) { - buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo); - buf->type = BUF_CONTROL_RESET_DECODER; - this->audio_fifo->put (this->audio_fifo, buf); - } - - this->metronom->adjust_clock(this->metronom, - this->metronom->get_current_time(this->metronom) + 30 * 90000 ); - - if (this->audio_out) - this->audio_out->control(this->audio_out, AO_CTRL_FLUSH_BUFFERS); -} - static void xine_internal_osd (xine_t *this, char *str, uint32_t start_time, uint32_t duration) { |