summaryrefslogtreecommitdiff
path: root/src/libspudec/spu.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-09 13:20:43 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-09 13:20:43 +0000
commit8ff820b65a21d201083237710298881e28d1f895 (patch)
tree3df78f26f5b47658e4b4dca9ab338c9d6f1a574e /src/libspudec/spu.c
parent78276079ea9d69a6160656e23e74c29133050f64 (diff)
downloadxine-lib-8ff820b65a21d201083237710298881e28d1f895.tar.gz
xine-lib-8ff820b65a21d201083237710298881e28d1f895.tar.bz2
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
Diffstat (limited to 'src/libspudec/spu.c')
-rw-r--r--src/libspudec/spu.c6
1 files changed, 3 insertions, 3 deletions
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;