diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-10-18 18:50:53 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-10-18 18:50:53 +0000 |
commit | c633dfb135e832a8a17c90e6a09b6e3ab49875a6 (patch) | |
tree | 340a02c99fef6e7a10077962c6b3a2b75c1dde1a /src/xine-engine/video_decoder.c | |
parent | 21cfbbe47111fb18000732363de1a30beb5850c6 (diff) | |
download | xine-lib-c633dfb135e832a8a17c90e6a09b6e3ab49875a6.tar.gz xine-lib-c633dfb135e832a8a17c90e6a09b6e3ab49875a6.tar.bz2 |
audio decoder cleanup, tell the audio part of metronom that there are still images so it can increment it's internal pts counters
CVS patchset: 833
CVS date: 2001/10/18 18:50:53
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r-- | src/xine-engine/video_decoder.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index f958098e4..3e214bba1 100644 --- a/src/xine-engine/video_decoder.c +++ b/src/xine-engine/video_decoder.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: video_decoder.c,v 1.55 2001/10/18 14:43:00 richwareham Exp $ + * $Id: video_decoder.c,v 1.56 2001/10/18 18:50:53 guenter Exp $ * */ @@ -198,15 +198,8 @@ void *video_decoder_loop (void *this_gen) { if (this->cur_video_decoder_plugin != decoder) { - if (this->cur_video_decoder_plugin) { + if (this->cur_video_decoder_plugin) this->cur_video_decoder_plugin->close (this->cur_video_decoder_plugin); - - /* Since we are changing decoders, warn metronom of a possible - * PTS discontinuity */ - - this->metronom->expect_video_discontinuity (this->metronom); - this->metronom->expect_audio_discontinuity (this->metronom); - } this->cur_video_decoder_plugin = decoder; this->cur_video_decoder_plugin->init (this->cur_video_decoder_plugin, this->video_out); |