GNOME Bugzilla – Bug 521875
[osssrc] recording corrupts upon _get_caps
Last modified: 2008-03-11 23:13:37 UTC
Unlike e.g. alsasrc/sink and osssink, which return cached earlier probed caps, osssrc performs an actual (ioctl etc) probe upon _get_caps (e.g. during some caps negotiation), which interferes with possibly ongoing recording.
Created attachment 107097 [details] [review] Possible patch * Cache probed caps and return these in _get_caps request. [as is the case in the other aforementioned plugins]
Committed, thanks: 2008-03-11 Tim-Philipp Müller <tim at centricular dot net> Patch by: Mark Nauwelaerts <manauw skynet be> * sys/oss/gstosssrc.c: (gst_oss_src_init), (gst_oss_src_getcaps), (gst_oss_src_close): * sys/oss/gstosssrc.h: Cache probed caps, so _get_caps() during recording doesn't cause ioctl calls which may disrupt the recording (fixes #521875).