Changeset 207882 in webkit


Ignore:
Timestamp:
Oct 26, 2016 1:42:37 AM (7 years ago)
Author:
eocanha@igalia.com
Message:

[GStreamer][MSE] Playback pipeline
https://bugs.webkit.org/show_bug.cgi?id=162901

Reviewed by Xabier Rodriguez-Calvar.

Encapsulate the responsibility to interact with the GStreamer playback pipeline and the
different streams managed by the WebKitMediaSrc element into a new PlaybackPipeline class.

  • platform/graphics/gstreamer/mse/PlaybackPipeline.cpp: Added.

(getStreamByTrackId):
(getStreamBySourceBufferPrivate):
(pushSample):
(WebCore::PlaybackPipeline::create):
(WebCore::PlaybackPipeline::PlaybackPipeline):
(WebCore::PlaybackPipeline::~PlaybackPipeline):
(WebCore::PlaybackPipeline::setWebKitMediaSrc):
(WebCore::PlaybackPipeline::webKitMediaSrc):
(WebCore::PlaybackPipeline::addSourceBuffer):
(WebCore::PlaybackPipeline::removeSourceBuffer):
(WebCore::PlaybackPipeline::attachTrack):
(WebCore::PlaybackPipeline::reattachTrack):
(WebCore::PlaybackPipeline::notifyDurationChanged):
(WebCore::PlaybackPipeline::markEndOfStream):
(WebCore::PlaybackPipeline::flushAndEnqueueNonDisplayingSamples):
(WebCore::PlaybackPipeline::enqueueSample):
(WebCore::PlaybackPipeline::pipeline):

  • platform/graphics/gstreamer/mse/PlaybackPipeline.h: Added.
Location:
trunk/Source/WebCore
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r207881 r207882  
     12016-10-26  Enrique Ocaña González  <eocanha@igalia.com>
     2
     3        [GStreamer][MSE] Playback pipeline
     4        https://bugs.webkit.org/show_bug.cgi?id=162901
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        Encapsulate the responsibility to interact with the GStreamer playback pipeline and the
     9        different streams managed by the WebKitMediaSrc element into a new PlaybackPipeline class.
     10
     11        * platform/graphics/gstreamer/mse/PlaybackPipeline.cpp: Added.
     12        (getStreamByTrackId):
     13        (getStreamBySourceBufferPrivate):
     14        (pushSample):
     15        (WebCore::PlaybackPipeline::create):
     16        (WebCore::PlaybackPipeline::PlaybackPipeline):
     17        (WebCore::PlaybackPipeline::~PlaybackPipeline):
     18        (WebCore::PlaybackPipeline::setWebKitMediaSrc):
     19        (WebCore::PlaybackPipeline::webKitMediaSrc):
     20        (WebCore::PlaybackPipeline::addSourceBuffer):
     21        (WebCore::PlaybackPipeline::removeSourceBuffer):
     22        (WebCore::PlaybackPipeline::attachTrack):
     23        (WebCore::PlaybackPipeline::reattachTrack):
     24        (WebCore::PlaybackPipeline::notifyDurationChanged):
     25        (WebCore::PlaybackPipeline::markEndOfStream):
     26        (WebCore::PlaybackPipeline::flushAndEnqueueNonDisplayingSamples):
     27        (WebCore::PlaybackPipeline::enqueueSample):
     28        (WebCore::PlaybackPipeline::pipeline):
     29        * platform/graphics/gstreamer/mse/PlaybackPipeline.h: Added.
     30
    1312016-10-26  Enrique Ocaña González  <eocanha@igalia.com>
    232
Note: See TracChangeset for help on using the changeset viewer.