[Bug 747517] New: appsrc: caps cannot be changed before pipeline starts

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 8 08:40:31 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747517

            Bug ID: 747517
           Summary: appsrc: caps cannot be changed before pipeline starts
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ilya.konstantinov at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

On appsrc, before pipeline starts, caps can be set with gst_app_src_set_caps or
through the "caps" property.

In both cases, if the caps were already set once, then the new caps will be
pushed into a queue that won't be checked before the pipeline starts.

Henceforth, you get the counterintutuive behavior:

  g_object_set (G_OBJECT (appsrc), "caps", caps1, NULL);
  g_object_set (G_OBJECT (appsrc), "caps", caps2, NULL);
  gst_element_set_state(pipeline, GST_STATE_READY);
  /* ^ the old caps1 will be considered during negotiation */

-- 
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