[libbluray-devel] commit: _open_m2ts(): initialize PSR_TIME (hpi1 )
git at videolan.org
git at videolan.org
Fri Dec 10 10:18:32 CET 2010
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Dec 8 21:40:46 2010 +0200| [2dc74c859b8256f9e13835dfc77550f40db02e93] | committer: hpi1
_open_m2ts(): initialize PSR_TIME
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=2dc74c859b8256f9e13835dfc77550f40db02e93
---
src/libbluray/bluray.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index d3c2c43..8f66825 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -248,8 +248,10 @@ static int _open_m2ts(BLURAY *bd, BD_STREAM *st)
bd->aacs, title);
}
- if (st == &bd->st0)
+ if (st == &bd->st0) {
bd_psr_write(bd->regs, PSR_PLAYITEM, st->clip->ref);
+ bd_psr_write(bd->regs, PSR_TIME, st->clip->in_time);
+ }
return 1;
}
More information about the libbluray-devel
mailing list