diff options
author | wm4 <wm4@nowhere> | 2014-04-16 23:02:17 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-17 01:43:07 +0200 |
commit | 5027469c3b9fbadc0526fc7660634b1556b6788c (patch) | |
tree | 10f4a152ce8b1ec0766f63adb3ad3b0645f3b005 /stream | |
parent | 8ed1641c3b976e0cf643e371693831715b749a42 (diff) | |
download | mpv-5027469c3b9fbadc0526fc7660634b1556b6788c.tar.bz2 mpv-5027469c3b9fbadc0526fc7660634b1556b6788c.tar.xz |
stream_dvdnav: print more debugging info
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_dvdnav.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 462fa066e4..5a08e22c6f 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -380,8 +380,12 @@ static int fill_buffer(stream_t *s, char *buf, int max_len) priv->next_event |= 1 << MP_NAV_EVENT_EOF; return 0; } - case DVDNAV_NAV_PACKET: + case DVDNAV_NAV_PACKET: { + pci_t *pnavpci = dvdnav_get_current_nav_pci(dvdnav); + uint32_t start_pts = pnavpci->pci_gi.vobu_s_ptm; + MP_TRACE(s, "start pts = %"PRIu32"\n", start_pts); break; + } case DVDNAV_STILL_FRAME: { dvdnav_still_event_t *still_event = (dvdnav_still_event_t *) buf; priv->still_length = still_event->length; @@ -541,6 +545,7 @@ static int control(stream_t *stream, int cmd, void *arg) } case STREAM_CTRL_SEEK_TO_TIME: { uint64_t tm = (uint64_t) (*((double *)arg) * 90000); + MP_VERBOSE(stream, "seek to PTS %"PRId64"\n", tm); if (dvdnav_time_search(dvdnav, tm) != DVDNAV_STATUS_OK) break; stream_drop_buffers(stream); |