[Bug 748521] videodecoder: decide_allocation w/ caps = NULL

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 27 06:27:31 PDT 2015


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

--- Comment #1 from Ilya Konstantinov <ilya.konstantinov at gmail.com> ---
Trying to see how we ended down there:

In gst_video_decoder_negotiate_default:

  if (!state) {
    GST_DEBUG_OBJECT (decoder,
        "Trying to negotiate the pool with out setting the o/p format");
    ret = gst_video_decoder_negotiate_pool (decoder, NULL);
                                                  // ^^^^

In gst_video_decoder_negotiate_pool:

   query = gst_query_new_allocation (caps, TRUE);
                                  // ^^^^ == NULL

That's how we end up sending gst_query_new_allocation with NULL caps.

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