servo / media

Mozilla Public License 2.0
82 stars 54 forks source link

Run a glib main loop for the GStreamer backend #408

Closed mrobinson closed 1 year ago

mrobinson commented 1 year ago

This is a workaround for an issue where GStreamer does not deliver end of stream signals unless there is a main loop running. See [1] for more information.

  1. https://github.com/servo/media/pull/393#issuecomment-1813934250

Co-authored-by: Víctor Manuel Jáquez Leal vjaquez@igalia.com

ceyusa commented 1 year ago

:( https://github.com/servo/media/pull/407

mrobinson commented 1 year ago

Let's land this one as it deals with the client trying to create two backends at once using a synchronous OnceCell. I've added you as a co-author @ceyusa. Thank you!