[PD] [Gem] pix_film error question

IOhannes m zmoelnig zmoelnig at iem.at
Fri Jun 22 20:43:13 CEST 2007


Thomas Mayer wrote:
> Hello,
> 
> I sometimes encounter messages "error: [pix_filmNEW]: unable to open
> file: (filename)" due to some unsupported codices in [pix_file], which
> is not that big a problem to me. But as I want to play a list of files
> in a row, is there a specific message on any outlet of [pix_film]
> associated with this error, similar to streams outputting a length a -1
> at the second outlet, so that I can bang a new file to load?
> 

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.

but i like the first approach more.


fgmads.r
IOhannes




More information about the Pd-list mailing list