From 8ff820b65a21d201083237710298881e28d1f895 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Tue, 9 Apr 2002 13:20:43 +0000 Subject: Introducing steps towards a menu api in video_overlay.c First step here is make libspudec use different calls to video_overlay than osd, so changes can be made to menu handling without effecting osd too much. CVS patchset: 1702 CVS date: 2002/04/09 13:20:43 --- src/libspudec/spu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libspudec/spu.c') diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c index 611195612..01b0a67c7 100644 --- a/src/libspudec/spu.c +++ b/src/libspudec/spu.c @@ -35,7 +35,7 @@ * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: spu.c,v 1.32 2002/04/06 15:40:19 jcdutton Exp $ + * $Id: spu.c,v 1.33 2002/04/09 13:20:43 jcdutton Exp $ * */ @@ -158,7 +158,7 @@ void spudec_decode_nav(spudec_decoder_t *this, buf_element_t *buf) { if( this->menu_handle >= 0 ) { metronom_t *metronom = this->xine->metronom; this->event.object.handle = this->menu_handle; - this->event.event_type = EVENT_HIDE_SPU; + this->event.event_type = EVENT_HIDE_MENU; /* if !vpts then we are near a discontinuity but video_out havent detected it yet and we cannot provide correct vpts values. use current_time instead as an aproximation. @@ -308,7 +308,7 @@ void spudec_process (spudec_decoder_t *this, uint32_t stream_id) { this->overlay.rle=NULL; /* For force display menus */ if ( !(this->state.visible) ) { - this->state.visible = EVENT_SHOW_SPU; + this->state.visible = EVENT_SHOW_MENU; } this->event.event_type = this->state.visible; -- cgit v1.2.3