[Bug 733916] Simple pipeline with textoverlay and fakesink fails to negotiate

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 29 17:50:30 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733916
  GStreamer | gst-plugins-base | 1.4.0

--- Comment #4 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-07-30 00:50:27 UTC ---
It has this code for negotiation:

  query = gst_query_new_allocation (target, TRUE);

  if (!gst_pad_peer_query (overlay->srcpad, query)) {
    /* no problem, we use the query defaults */
    GST_DEBUG_OBJECT (overlay, "ALLOCATION query failed");
  }

  if (gst_query_find_allocation_meta (query,
          GST_VIDEO_OVERLAY_COMPOSITION_META_API_TYPE, NULL))
    attach = TRUE;


So, even though fakesink will claim to accept the overlay meta it will reject
the allocation query with the meta in the caps. So 'attach' is marked as false
and then textoverlay will check if the negotiated caps (with the meta) is a
subset of the raw formats (without the meta) and it fails.

I also feel like there is something else wrong here.

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