Thomas O Fredericks wrote:
oups: pix_ouput = pix_film outputed
On 6/22/07, Thomas O Fredericks tof@danslchamp.org wrote:
I thought pix_ouput a -1 as the frame count when it did not properly load a movie (there is something in the doc related to that) but I can not get it to work.
According to the help-patch, [pix_film] outputs -1 when dealing with a stream.
On 6/22/07, IOhannes m zmoelnig zmoelnig@iem.at wrote:
hmm, i guess (haven't checked) that when [pix_film] fails to load the movie, it will not output anything at the info-output. you can use the absence of the message to detect the failure.
and of course you can just detect whether there is an image in the
chain
or not (use [pix_info] for that) and react accordingly.
Thanks, that did it (when second outlet of [pix_info] is -1, I use that for banging my playlist-subpatch).
"Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance." (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/