summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r--src/xine-engine/video_decoder.c11
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);