[Bug 738129] GstGLMixer download texture even if sink element is gl based

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 13 00:35:00 PDT 2014


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

--- Comment #1 from comicfans44 <comicfans44 at gmail.com> 2014-10-13 07:34:57 UTC ---
seems that gst_videoaggregator_update_src_caps has problem related to this bug

line 588:

    caps = gst_video_info_to_caps (&info);  ------>caps from video info always
missed the GLMemory feature (when subclass is GstGLMixer)

    peercaps = gst_pad_peer_query_caps (agg->srcpad, NULL);
    if (peercaps) {
      ......
    }

    gst_caps_unref (caps);                  -----> maybe these two lines
    caps = gst_video_info_to_caps (&info);  -----> should be deleted? 

    if (gst_videoaggregator_src_setcaps (vagg, caps)) {
      ......
    }

temp hack these seems get the correct intersected caps with downstream element, 
makes _negotiated_caps receiving the correct out_caps

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