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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 9 11:21:05 PDT 2018


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

Thibault Saunier <tsaunier at gnome.org> changed:

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

--- Comment #9 from Thibault Saunier <tsaunier at gnome.org> ---
Created attachment 339991

  --> https://bugs.webkit.org/attachment.cgi?id=339991&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/20180509/ea68e875/attachment.html>


More information about the webkit-unassigned mailing list