DVD Studio Pro - Conditional Relationships

background image

Conditional Relationships

There are seven conditional relationships for you to choose from when setting up your
display condition.

= (equal): The element and state are exactly equal. For example, if you choose the

Player Region Code element, a state of 1-USA, and the “equal” relationship, you can
only play the track if the DVD player is set for region 1-USA.

!= (not equal): The element and state are not exactly equal. For example, if you choose

the Audio Language element, a state of French, and the “not equal” relationship, you
can play the track as long as the DVD player is not set for French.

> = (greater or equal): The element is either greater than the state, or they are equal.

For example, if you choose the Parental Level element, a state of PG-13, and “greater
or equal,” you can play the track as long as the DVD player is set to PG-13 or higher (R
or NC-17).

> (greater): The element is greater than the state. For example, if you choose the Audio

Stream Number element, a state of 2, and “greater,” you can play the track as long as
one of the two first audio streams is not selected.

<= (smaller or equal): The element is either less than the state, or they are equal. For

example, if you choose the Last Track Played element, set the state to 12, and “smaller
or equal,” you can play this track as long as the previous track is from 1 to 12.

< (smaller): The element is less than the state. For example, if you choose the Subtitle

Stream Number element, set the state to 4, and “smaller,” you can play this track as
long as subtitle streams 1 through 3 are selected.

611

Chapter 23

Using Advanced Features

background image

& (and): Provides a binary bit-wise “and” function. Several of the elements contain

multiple settings. You can use the “and” relationship to extract one setting from the
element. For example, if you choose the Audio Player Config element (which contains
several settings related to the DVD player’s audio capabilities), a state of 2048-DTS, and
the “and” relationship, you can only play the track if bit 11 of the 16-bit byte is one,
indicating that the DVD player supports DTS audio. See

Using Bit-Wise Operations

for

details on using a bit-wise “and” function.