Commit 2dc74c85 authored by hpi1's avatar hpi1

_open_m2ts(): initialize PSR_TIME

parent 4ba0af80
...@@ -248,8 +248,10 @@ static int _open_m2ts(BLURAY *bd, BD_STREAM *st) ...@@ -248,8 +248,10 @@ static int _open_m2ts(BLURAY *bd, BD_STREAM *st)
bd->aacs, title); 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_PLAYITEM, st->clip->ref);
bd_psr_write(bd->regs, PSR_TIME, st->clip->in_time);
}
return 1; return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment