processing / processing-video

GStreamer-based video library for Processing
274 stars 130 forks source link

Framerate of capture device cannot be set to empty on MacOS #205

Closed codeanticode closed 1 year ago

codeanticode commented 1 year ago

The constructors in the Capture class set the default fps to 0, which result in a cap object without framerate. This seemed to be valid in earlier versions of GStreamer, but apparently no longer, at least on MacOS where it results in errors such as "BaseSrc: [avfvideosrc1] : Internal data stream error"

codeanticode commented 1 year ago

Fixed with https://github.com/processing/processing-video/commit/ace6d59b7afb537f823e1204b0186a4aa82b8bc7