[Bug 739334] New: GstGLVideoMixer input caps can not be dynamically changed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 29 00:24:32 PDT 2014


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

           Summary: GstGLVideoMixer input caps can not be dynamically
                    changed
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: comicfans44 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


construct pipeline as videotestsrc ! capsfilter ! glvideomixer ! glimagesink
then changing capsfilter width or height , trigger 

 basesrc
../../../../libs/gst/base/gstbasesrc.c:2932:gst_base_src_loop:<videotestsrc0>
error: Internal data flow error.
0:00:01.122883120 15610  0x9d3e290 WARN                 basesrc
../../../../libs/gst/base/gstbasesrc.c:2932:gst_base_src_loop:<videotestsrc0>
error: streaming task paused, reason not-negotiated (-4)



trace shows that when changing caps, 
GST_QUERY_CAPS
--->gl_mixer_sink_query 
---> gst_videoaggregator_sink_query 
--->gst_videoaggregator_pad_sink_getcaps (line 731)
the srccaps previously decided has GST_CAPS_FEATURE_MEMORY_GL_MEMORY 
but the filter passed in (new caps) has GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY
leads result empty


before commit f0caf04a
videoaggregator: operate on caps rather than video info
srccaps in gst_videoaggregator_pad_sink_getcaps also has
GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY (maybe incorrectly)

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