Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: small problems with latest DVD-nav-patch



Hello!

Am Mittwoch, 6. März 2002 20:59 schrieb Andreas Schultz:
> boesch@agrocom.com wrote:
> > Hello list,
> > there are a few problems left with the latest nav-patch. When I try to
> > play the DVD "Der Exorzist - Die neue Fassung" replay stops after the
> > Warner logo and vdr exits. If I press "3" early enough I can access the
> > menu but replay stops after selecting an item in a submenu like
> > "Languages" and vdr exits. So it isn't possible to play this DVD at all
> > because I can't use the chapter menu either. There are no errors reported
> > in the logs. I will verify if this behaviour can be reproduced with other
> > Warner DVDs. By the way, with older versions of DVD-nav "Exorzist" ran
> > fine.

I have the same problem but I can provide some output:

[...]
  set_highlight: 56, 264 x 344, 322
  set_highlight: 56, 264 x 344, 322
  set_highlight: 56, 264 x 344, 322
  set_highlight: 56, 264 x 344, 322
  set_highlight: 56, 264 x 344, 322
  set_highlight: 56, 264 x 344, 322
  set_highlight: 56, 264 x 344, 322
  set_highlight: 56, 264 x 344, 322
  set_highlight: 56, 264 x 344, 322
  eval: Doing Link/Jump/Call
  LinkPGCN 33
  vm: play_PGC: state.pgcN (33)
  eval: Doing Link/Jump/Call
  JumpSS_VMGM_PGC 2
  vm: play_PGC: state.pgcN (2)
  eval: Doing Link/Jump/Call
  JumpTT 10
  libdvdread: Can't seek to block 803808
  libdvdread: Invalid IFO for title 10 (VTS_10_0.IFO).
  ifoOpenVTSI failed

> let me knwo if this patch helps:
>
> ===== spu.c 1.5 vs edited =====
> --- 1.5/spu.c   Sat Mar  2 17:58:42 2002
> +++ edited/spu.c        Sun Mar  3 22:59:01 2002
> @@ -527,8 +527,11 @@
>        cBitmap *bitmap = new cBitmap(hl_width, hl_height, 2, false);
>        int x_offs = highlight.x_start - spu->x;
>        int y_offs = highlight.y_start - spu->y;
> -     for (int yp = 0; yp < hl_height; yp++) {
> -         for (int xp = 0; xp < hl_width; xp++) {
> +     int yp = (y_offs >= 0) ? 0 : -y_offs;
> +
> +     for (; yp < hl_height; yp++) {
> +         int xp = (x_offs >= 0) ? 0 : -x_offs;
> +         for (; xp < hl_width; xp++) {
>               int indx = spu->getIndex(x_offs + xp, y_offs + yp);
>               uint8_t trans = (highlight.contrast[indx] == 0x0f ? 0xff :
>                                highlight.contrast[indx] << 4);
>

I'll try this now.



Andi

-- 
Web:   http://www.flood-net.de/
Mail:  flood@flood-net.de
Phone: +49-(0)-30-680577-44
Linux opens doors, not windows!
http://www.bundestux.de/   http://counter.li.org/



Home | Main Index | Thread Index