[vlc-commits] bluray: fix chapter mark time offsets

Petri Hintukainen git at videolan.org
Tue Apr 12 15:49:02 CEST 2016


vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Tue Apr 12 16:31:10 2016 +0300| [95b04ca88cc6fe2cc1ecc59c161ebf72342f1dc9] | committer: Petri Hintukainen

bluray: fix chapter mark time offsets

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=95b04ca88cc6fe2cc1ecc59c161ebf72342f1dc9
---

 modules/access/bluray.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 40433d9..b5ff919 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1638,7 +1638,7 @@ static void blurayUpdateTitleInfo(input_title_t *t, BLURAY_TITLE_INFO *title_inf
             if (!s) {
                 break;
             }
-            s->i_time_offset = title_info->chapters[j].offset;
+            s->i_time_offset = FROM_TICKS(title_info->chapters[j].start);
 
             TAB_APPEND(t->i_seekpoint, t->seekpoint, s);
         }



More information about the vlc-commits mailing list