pgc vs menu vs title

View: New views
1 Messages — Rating Filter:   Alert me  

pgc vs menu vs title

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Within a <menus> section, each menu is defined, not by a <menu> tag, but
by a <pgc>. Within a <titles> section, each title is defined, not by a
<title> tag, but by a <pgc>.

This was done because "PGC" is the term used in the DVD-Video spec for
both objects. And they do indeed have a lot in common. But is that
enough reason to try to unify them?

In particular, a menu PGC can have an "entry" type, identifying it as
one of the special menus that you can jump to with standard buttons on
your player, while a title PGC cannot have this.

The way dvdauthor enforces this is a little roundabout: instead of
reporting an error at the time of parsing the <pgc> directive, if it
sees an entry attribute that shouldn't be there, or that has an
inadmissible value, checking of this is deferred to a validation routine
invoked at the end of a <vmgm> or <titleset> section, where you're
liable to see a message like

     ERR:  Entry <entry> is not allowed for menu type <type>

where "<type>" can be "VTSM" for a titleset menu, "VMGM" for a VMG menu,
or "VTS" for a title that isn't a menu at all. Seems like a slightly
confusing message in this last case, doesn't it?

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users