diff stream/stream_dvdnav.c @ 21332:7f53c807d593

feed the content of NAV_PACKET to the demuxer
author nicodvb
date Mon, 27 Nov 2006 23:21:23 +0000
parents 8258747951d7
children 9e3860c22d99
line wrap: on
line diff
--- 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;