[Bug 786442] segfault encoding rawvideo since omxvideoenc: ensure enough buffers are allocated in the pool

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 29 14:34:09 UTC 2017


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

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #358585|none                        |needs-work
             status|                            |

--- Comment #2 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Review of attachment 358585:
 --> (https://bugzilla.gnome.org/review?bug=786442&attachment=358585)

::: omx/gstomxvideoenc.c
@@ +1911,3 @@
+    return FALSE;
+
+  size = self->input_state->info.size;

I think you could read the caps from the query, tranform to VideoInfo and get
the size from there.

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