From dfdc991901369baf9b19ec9f6aaf4a6d20da0934 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Mon, 27 Nov 2006 23:21:23 +0000 Subject: feed the content of NAV_PACKET to the demuxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21348 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_dvdnav.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stream/stream_dvdnav.c') diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 7dc566b577..1ed36062c8 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -159,6 +159,8 @@ static int dvdnav_stream_read(dvdnav_priv_t * priv, unsigned char *buf, int *len else if (event!=DVDNAV_BLOCK_OK) { // need to handle certain events internally (like skipping stills) switch (event) { + case DVDNAV_NAV_PACKET: + return event; case DVDNAV_STILL_FRAME: { dvdnav_still_event_t *still_event = (dvdnav_still_event_t*)(buf); //if (priv->started) dvd_nav_still=1; @@ -250,6 +252,7 @@ static int fill_buffer(stream_t *s, char *but, int len) switch (event) { case DVDNAV_STOP: return len; case DVDNAV_BLOCK_OK: return len; + case DVDNAV_NAV_PACKET: return len; case DVDNAV_VTS_CHANGE: { int tit = 0, part = 0; s->end_pos = 0; -- cgit v1.2.3