[MPlayer-cvslog] r21348 - trunk/stream/stream_dvdnav.c

nicodvb subversion at mplayerhq.hu
Tue Nov 28 00:21:24 CET 2006


Author: nicodvb
Date: Tue Nov 28 00:21:23 2006
New Revision: 21348

Modified:
   trunk/stream/stream_dvdnav.c

Log:
feed the content of NAV_PACKET to the demuxer

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Tue Nov 28 00:21:23 2006
@@ -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;



More information about the MPlayer-cvslog mailing list