# HG changeset patch # User nicodvb # Date 1164669683 0 # Node ID 7f53c807d593135210c6c872c3f1f99e4a1bb2c3 # Parent 21de6d9d91b6cd9c6ce186027de6a79366a89dad feed the content of NAV_PACKET to the demuxer diff -r 21de6d9d91b6 -r 7f53c807d593 stream/stream_dvdnav.c --- a/stream/stream_dvdnav.c Mon Nov 27 22:57:42 2006 +0000 +++ b/stream/stream_dvdnav.c Mon Nov 27 23:21:23 2006 +0000 @@ -159,6 +159,8 @@ 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 @@ 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;