[libbluray-devel] Update PSR_TIME after seek

hpi1 git at videolan.org
Fri Jun 3 12:54:23 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Jun  1 15:02:37 2016 +0300| [bd998c2d1318b02eb338295d36dd566a9cdd14d0] | committer: hpi1

Update PSR_TIME after seek

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=bd998c2d1318b02eb338295d36dd566a9cdd14d0
---

 src/libbluray/bluray.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 477eab4..833a2c2 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -1584,6 +1584,9 @@ static void _seek_internal(BLURAY *bd,
         /* update title position */
         bd->s_pos = (uint64_t)title_pkt * 192;
 
+        /* Update PSR_TIME */
+        _update_time_psr_from_stream(bd);
+
         _queue_event(bd, BD_EVENT_SEEK, 0);
         _bdj_event(bd, BDJ_EVENT_SEEK, 0);
 



More information about the libbluray-devel mailing list