[Bug 748179] ximagesink: Setting height of ximagesink to 1 freezes output

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 20 09:04:01 PDT 2015


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

--- Comment #6 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
If I dump some random values in the "input line" in video converter in the
following bit of code, there's no freeze.

@@ -2815,10 +2817,12 @@ video_converter_generic (GstVideoConverter * convert,
const GstVideoFrame * src,
     if (!convert->identity_pack) {
       /* take away the border */
       guint8 *l = ((guint8 *) lines[0]) - lb_width;
+//memset(l,rand(),out_maxwidth);
       /* and pack into destination */
       GST_DEBUG ("pack line %d %p (%p)", i + out_y, lines[0], l);
       PACK_FRAME (dest, l, i + out_y, out_maxwidth);
     }

That hints that l is stale. It's fetched from a cache which I don't understand
at the moment. Disabling the cache doesn't seem obviously possible (when the
cache search function returns NULL when not found, the caller crashes, which
tells me cache misses aren't expected).

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