[GEM-dev] [ pd-gem-Bugs-3195435 ] pix_film prints an error msg if frame <0 but not if = 0

SourceForge.net noreply at sourceforge.net
Mon Feb 28 21:00:26 CET 2011


Bugs item #3195435, was opened at 2011-02-28 20:00
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3195435&group_id=64325

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Pixes (pix_ objects)
Group: any operating system
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: pix_film prints an error msg if frame <0 but not if = 0

Initial Comment:
This is a very minor issue, however...

The right inlet of [pix_film] accepts a frame number which ranges from 1 to N if the video has N frames.

If it receives a negative frame number, it prints an error message: 
  error: [pix_film]: selection number must be > 0

To be consistent, it should print the same error message when it receives 0 as the frame number, but it doesn't.

Indeed I thing the condition is actually that the frame be >=1 (consider floats!)

Also I would suggest to specify in the help patch that the frame numbers start from 1 (unless I am the only one who would expect it to start from 0)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3195435&group_id=64325



More information about the GEM-dev mailing list