[Bug 797355] overlaycomposition: Example crashes

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 1 10:15:43 UTC 2018


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

Philippe Normand <philn at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Philippe Normand <philn at igalia.com> ---
(In reply to Sebastian Dröge (slomo) from comment #1)
> > Which means a second glbufferpool is created, without the video meta option. 
> 
> Why does this bufferpool not have the video meta option? That seems wrong :)
> 

Now I can't reproduce the bug anymore... Yay for heisenbugs :/

> > Is it really necessary to make a new allocation query there? I commented it out and the example started to work :)
> 
> It's necessary unfortunately for correct negotiation in all cases. This is
> basically the same code as in textoverlay. Can you reproduce the same crash
> with textoverlay in the same pipeline?
> 
> > I think the video meta pointer should also be checked before being used.
> 
> What do you mean?

I mean the GstMeta* returned by gst_video_buffer_get_meta() in
gst_gl_composition_overlay_add_transformation() can potentially be NULL, in
theory :)

Anyway I'll just close this, since the crash no longer happens here. Sorry for
the noise.

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