> >*** ./mkisofs/joliet.c.orig    Thu Aug  8 22:24:40 2002
> >--- ./mkisofs/joliet.c Tue Nov 19 18:11:24 2002
> >***************
> >*** 1051,1056 ****
> >--- 1051,1099 ----
> >       if (strcmp(lpnt, "..") == 0)
> >               return 1;
> >
> >+ #ifdef DVD_VIDEO
> 
> -       why it is needed
> 
> -       what it should cure

As commentary section says the patch should improve compatibility with
consumer DVD-Video players by sorting file entries in VIDEO_TS directory
in the same order as the files those entries point to are laid down on
the disk:

VIDEO_TS.IFO
VIDEO_TS.VOB
VIDEO_TS.BUP
VTS_01_0.IFO
VTS_01_0.VOB
VTS_01_1.VOB
VTS_01_2.VOB
VTS_01_0.BUP
....

In comparison to the current outcome which is

VIDEO_TS.BUP
VIDEO_TS.IFO
VIDEO_TS.VOB
VTS_01_0.BUP
VTS_01_0.IFO
VTS_01_0.VOB
VTS_01_1.VOB
VTS_01_2.VOB
...

In general how do consumer players work? To play the whole video content
it's actually sufficient to locate a single file (and most players do
just that), VIDEO_TS.IFO to be specific, which contains references to
all titlesets. The catch is that those references are *relative* to
first LBA of VIDEO_TS.IFO. If player is stupid enough to assume first
file to be VIDEO_TS.IFO it will end up with VIDEO_TS.BUP's first LBA
instead. Now given that VIDEO_TS.BUP is verbatim copy of VIDEO_TS.IFO
attempt to dereference those relative pointers will effectively result
in garbled playback.

> Your patch is for Joliet and DVD video while a Video DVD should not
> include Joliet....

See line#2869 in mkisofs.c. UDF uses Joliet's directory sorting
procedure, which is why joliet.c gets patched.

Cheers. A.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to