[Webkit-unassigned] [Bug 184588] [GStreamer] Fix the way GstStreamCollection is handled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 23 06:11:00 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184588

Thibault Saunier <tsaunier at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #337887|0                           |1
        is obsolete|                            |
 Attachment #338581|                            |review?, commit-queue?
              Flags|                            |

--- Comment #6 from Thibault Saunier <tsaunier at gnome.org> ---
Created attachment 338581

  --> https://bugs.webkit.org/attachment.cgi?id=338581&action=review

[GStreamer] Fix the way GstStreamCollection is handled

The stream collection message replaces the collection of stream previously
advertised, this means that we should rebuild our set of Track from scratch
and not update previously exposed tracks.

In the end, this simplifies the code as we do not care about what
tracks existed previously, we just need to expose what GStreamer tells
us, deleting any previous state.

Handle the STREAM_COLLECTION message from the sync handler so that tracks
are updated before we mark the pipeline as READY for the live case (everything
happen synchronously with the call to the `load()` method in that case),
still the update happens on the main thread.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180423/83db265a/attachment.html>


More information about the webkit-unassigned mailing list