Looks like the disabled billboard is not killing that execution
branch, as it ought to because the value of Enabled is dependent on
the patches it is rendering. In debug mode, you can see both patches
get executed when they shouldn't.
The Loop Duration issue is an edge case that should have been caught.
In any case, thanks for the exploration on those and please file bugs.
On May 30, 2008, at 1:28 PM, Christopher Wright wrote:
The first is a pseudo-bug I guess -- perhaps this will only document
the behaviour a bit.
The setup:
Movie Loader with a valid movie path that includes audio -- set to
async so that the audio plays.
Math expression patch -- the expression should be a > b. Attach
"Movie Position" to "a" , and "Movie Duration" to "b" (note: this
will always evaluate to false, since the position cannot be past the
end of the movie as far as I know... maybe streaming movies will be
different? Not important).
Billboard -- attach Movie Loader's image output to the billboard's
image input, and the Math Expression patch's output to the Enable
input.
Graphically, this will do nothing: the billboard is disabled (via
the expression patch), so it doesn't render anything. This is
correct. However, the audio still plays. This is because the movie
loader patch is "activated" and gets evaluated to see if the
condition changes (to drive the enable input of a consumer patch).
The audio is generated because instead of having a red patch
generate output, the Movie Loader generates it when it's "enabled"
and evaluated each frame. Disconnecting the enable input of the
billboard causes "correct" behaviour (audio stops).
I'm not sure of the feasibility of correcting this; it *might* run
into Halting Problem-esq issues graph-evaluation-wise. QC's also
not designed to make solving this easy from a patch point of view
(other green patches/plugins that generate output may run into this
problem if they generate output independent of a consumer).
Also, setting the "Loop Duration" to less than about 0.01 seems to
make QC hang when "Loop Start" is non-zero. This is probably a
legitimate bug that could get a bug report, but perhaps someone on
the list can confirm this first. (Same setup as above, set loop
duration to something small but non-zero, and then change loop start
-- beachball forever?)
--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%40apple.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]