After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729485 - avfvideosrc: Cannot reconfigure caps
avfvideosrc: Cannot reconfigure caps
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Mac OS
: Normal normal
: 1.7.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2014-05-03 22:51 UTC by Robert Swain
Modified: 2016-01-19 21:14 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Robert Swain 2014-05-03 22:51:16 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
Comment 1 Sebastian Dröge (slomo) 2016-01-19 21:14:36 UTC
This is fixed now, last commit that reenabled it all is:

commit b0f5d4f1d59ded0057ae4f27d8ea530e87c0e88f
Author: Alessandro Decina <>
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.