⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243610 in webkit


Ignore:
Timestamp:
Mar 28, 2019, 11:05:13 AM (7 years ago)
Author:
aboya@igalia.com
Message:

[MSE][GStreamer] Remove dead code in MediaPlayerPrivateGStreamer::doSeek()
https://bugs.webkit.org/show_bug.cgi?id=196352

Reviewed by Xabier Rodriguez-Calvar.

MediaPlayerPrivateGStreamerMSE overrides doSeek() and seek(), so this
branch is never reached.

This patch does not introduce behavior changes.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::MediaPlayerPrivateGStreamer::doSeek):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r243607 r243610  
     12019-03-28  Alicia Boya García  <aboya@igalia.com>
     2
     3        [MSE][GStreamer] Remove dead code in MediaPlayerPrivateGStreamer::doSeek()
     4        https://bugs.webkit.org/show_bug.cgi?id=196352
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        MediaPlayerPrivateGStreamerMSE overrides doSeek() and seek(), so this
     9        branch is never reached.
     10
     11        This patch does not introduce behavior changes.
     12
     13        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     14        (WebCore::MediaPlayerPrivateGStreamer::doSeek):
     15
    1162019-03-28  Simon Fraser  <simon.fraser@apple.com>
    217
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r243537 r243610  
    592592    MediaTime startTime = position, endTime = MediaTime::invalidTime();
    593593
    594     // TODO: Should do more than that, need to notify the media source
    595     // and probably flush the pipeline at least.
    596     if (isMediaSource())
    597         return true;
    598 
    599594    if (rate < 0) {
    600595        startTime = MediaTime::zeroTime();
Note: See TracChangeset for help on using the changeset viewer.