[Bug 796842] srt: Refactor plugin to support non-blocking SRT APIs

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 30 20:58:02 UTC 2018


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

--- Comment #50 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
Review of attachment 373213:
 --> (https://bugzilla.gnome.org/review?bug=796842&attachment=373213)

::: ext/srt/gstsrtbasesrc.c
@@ +212,3 @@
+  /* HACK: Since srt_epoll_wait() is not cancellable, install our event fd to
+   * epoll */
+  srt_epoll_add_ssock (self->poll_id, self->event_fd, NULL);

With this, we don't need the poll-timeout anymore. I think we can just poll
forever and use the cancellation with our own socket to unblock it.

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