summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c3
1 files changed, 3 insertions, 0 deletions
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;