[Bug 729485] New: avfvideosrc: Cannot reconfigure caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat May 3 15:51:21 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729485
  GStreamer | gst-plugins-bad | git

           Summary: avfvideosrc: Cannot reconfigure caps
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: robert.swain at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list