[Bug 768365] shmsrc: gst_poll_remove_fd: assertion 'fd->fd >= 0' failed

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 4 10:21:53 UTC 2016


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

--- Comment #4 from Marcin Lewandowski <marcin at saepia.net> ---
I have taken a look at the code and I think the problem is obvious.

In gst_shm_src_start_reading if there was an error, self->pollfd.fd is never
assigned, but in gst_shm_src_stop_reading gst_poll_remove_fd is called
regardless of that.

Please take a look at my patch.

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