Re: C++=>C comment, forgotten file

H}kan Hjort <[email protected]>
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Tue Dec 31 2002, Martin Piskernig wrote:
> On Dienstag, 31. Dezember 2002 01:32, you wrote:
> > See atatched patch.
> 
Ok, I should have almost everything checked in to libdvdread cvs now.
Watchout though as it's not binary compatible with the old version.
Will bump the .so version when making the next release.

> Thanks very much! I've got it to find the correct vobu sector, now 
> figuring out how to jump there :-)
>
Hehe.. yeah figureing out the corrent PG or Cell and jumping there would
be a nice first step.  Then one should easily be able to tweek the
exact VOBU address and take it to just the rigth place.
Currently I think you'd have to do something along the lines of the code
in  vm_resume_int.  given seek_cellN and seek_blockN (seek_blockN beeing
the block offset for the VOBU one wants to jump too).

    state.cellN = seek_cellN;
    state.blockN = seek_blockN;
    if(update_PGN()) {
      /* Were at or past the end of the PGC, can this happen? */
      assert(0);
      link_values = play_PGC_post();
    } else {
      link_t do_nothing = { PlayThis, 0, 0, 0 };
      do_nothing.data1 = state.blockN;
      link_values = do_nothing;
    }

There migth be a buch more info that needs updating haven't though about
this all that much so far.

> And here is also a patch for that DVDGetDVDVolumeInfo() function I 
> mentioned in my last mail, it is a clone of the corresponding MS 
> DirectX function [1], exporting (nr_of_volumes, volume, side, 
> nr_of_titles) to the ogle user. We can add some other values like disc 
> name (that was what I meant to take from TXTDT, not the whole thing) 
> later. I hope you will accept the patch :-)
> 
Ok, seems ok, I'll give it a look together with Bjorn.
We migth want to export some othe info too I guess, could put that under
a different call though.

-- 
Håkan Hjort
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.