Bug 125852

Summary: [GStreamer] video/audio seeking is not unified.
Product: WebKit Reporter: Piotr Grad <piotr.grad>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, commit-queue, eric.carlson, glenn, gustavo, jer.noble, menard, mrobinson, pnormand
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
patch none

Description Piotr Grad 2013-12-17 04:42:04 PST
Seeking should be unified in that way we are always sure negative playback rate is always taken into account.
Comment 1 Piotr Grad 2013-12-17 04:42:29 PST
Already working on solution.
Comment 2 Piotr Grad 2013-12-17 05:22:07 PST
Created attachment 219411 [details]
Patch
Comment 3 Philippe Normand 2013-12-17 05:50:24 PST
Comment on attachment 219411 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=219411&action=review

> Source/WebCore/ChangeLog:11
> +        Test: media/video-seek-with-negative-playback.html

This is skipped in EFL but not in GTK, it seems. I guess it can now be unskipped?

> Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:614
> +bool MediaPlayerPrivateGStreamer::seekIncludingRate(gint64 position, float rate, GstSeekFlags seekType)

Hum what about doSeek() ? Having only the rate mentioned in the name is a bit odd.
Comment 4 Piotr Grad 2013-12-23 03:39:46 PST
Created attachment 219904 [details]
patch
Comment 5 Piotr Grad 2013-12-23 03:55:01 PST
(In reply to comment #3)
> (From update of attachment 219411 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=219411&action=review
> 
> > Source/WebCore/ChangeLog:11
> > +        Test: media/video-seek-with-negative-playback.html
> 
> This is skipped in EFL but not in GTK, it seems. I guess it can now be unskipped?
> 
> > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:614
> > +bool MediaPlayerPrivateGStreamer::seekIncludingRate(gint64 position, float rate, GstSeekFlags seekType)
> 
> Hum what about doSeek() ? Having only the rate mentioned in the name is a bit odd.

Unfortunatelly this test is still flaky for EFL becouse of some race condition.
Comment 6 WebKit Commit Bot 2013-12-23 05:11:42 PST
Comment on attachment 219904 [details]
patch

Clearing flags on attachment: 219904

Committed r160992: <http://trac.webkit.org/changeset/160992>
Comment 7 WebKit Commit Bot 2013-12-23 05:11:45 PST
All reviewed patches have been landed.  Closing bug.