From 7d6fb6c905dbd842eead370f2412a55eda31cecb Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 12 Sep 2001 22:18:47 +0000 Subject: further tweaks and patches for menu support: new buftypes (BUF_CONTROL_DISCONTINUITY,BUF_CONTROL_NOP,BUF_CONTROL_AUDIO_CHANNEL,BUF_CONTROL_SPU_CHANNEL) so input plugins can enhance their communication with the xine engine (regarding pts continuities for example) - not all is implemented yet, but what is implemented is working pretty well - at least for me ;)) CVS patchset: 627 CVS date: 2001/09/12 22:18:47 --- src/xine-engine/video_decoder.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/xine-engine/video_decoder.c') diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index ab86afa0b..d88f1656c 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.49 2001/09/11 09:03:51 jkeil Exp $ + * $Id: video_decoder.c,v 1.50 2001/09/12 22:18:47 guenter Exp $ * */ @@ -91,7 +91,7 @@ void *video_decoder_loop (void *this_gen) { pthread_mutex_lock (&this->xine_lock); this->video_finished = 0; this->spu_finished = 0; -/* FIXME: I don't think we need spu_track_map. */ + /* FIXME: I don't think we need spu_track_map. */ for (i=0 ; i<50; i++) this->spu_track_map[0] = 0; @@ -172,6 +172,13 @@ void *video_decoder_loop (void *this_gen) { running = 0; break; + case BUF_CONTROL_DISCONTINUITY: + this->metronom->expect_video_discontinuity (this->metronom); + break; + + case BUF_CONTROL_NOP: + break; + default: profiler_start_count (prof_video_decode); -- cgit v1.2.3