GNOME Bugzilla – Bug 729485
avfvideosrc: Cannot reconfigure caps
Last modified: 2016-01-19 21:14:36 UTC
Once avfvideosrc caps are fixated in setCaps, setCaps is not allowed to be called again without taking down the element to stop it from running. A simple test to demonstrate this can be achieved with a pipeline as follows: avfvideosrc ! capsfilter ! fakesink And then switch the caps on the caps filter after having the pipeline run for a second or two. This actually hits an assertion: ERROR:avfvideosrc.m:585:__30-[GstAVFVideoSrcImpl setCaps:]_block_invoke: assertion failed: (![session isRunning]) Abort trap: 6
This is fixed now, last commit that reenabled it all is: commit b0f5d4f1d59ded0057ae4f27d8ea530e87c0e88f Author: Alessandro Decina <alessandro.d@gmail.com> Date: Wed Jan 6 16:50:00 2016 +1100 applemedia: avfvideosrc: enable renegotiation We can actually renegotiate now, so remove old check which disabled it.