Bug 55703 - [GStreamer] When seeking webKitWebSrcStop release the frame but should not.
Summary: [GStreamer] When seeking webKitWebSrcStop release the frame but should not.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 13:27 PST by Alexis Menard (darktears)
Modified: 2011-03-11 09:09 PST (History)
4 users (show)

See Also:


Attachments
Proposed patch. (1.54 KB, patch)
2011-03-03 13:28 PST, Alexis Menard (darktears)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Menard (darktears) 2011-03-03 13:27:02 PST
When calling webKitWebSrcStop in case of a seeking, the frame should not be reset (the source hasn't change). The frame may be used to get the network context. Some network stack (like Qt) are relaying on the network context.
Comment 1 Alexis Menard (darktears) 2011-03-03 13:28:29 PST
Created attachment 84616 [details]
Proposed patch.
Comment 2 Philippe Normand 2011-03-11 02:16:55 PST
This patch looks harmless :)

I tested it on GTK, runned the media tests fine and did testing on Vimeo and Youtube and had no problem.

The frame will now only be released on seek errors and in the PAUSED to READY transition, which sounds fine to me.
Comment 3 Philippe Normand 2011-03-11 02:23:52 PST
If the commit-queue lands this it might have issues with the ChangeLog as the patch doesn't seem to be based on HEAD, right?
Comment 4 Alexis Menard (darktears) 2011-03-11 03:15:19 PST
(In reply to comment #3)
> If the commit-queue lands this it might have issues with the ChangeLog as the patch doesn't seem to be based on HEAD, right?

I don't think so. It has some magic stuff for the changelogs :)
Comment 5 Philippe Normand 2011-03-11 04:05:02 PST
CCing possible reviewers
Comment 6 WebKit Commit Bot 2011-03-11 09:09:45 PST
Comment on attachment 84616 [details]
Proposed patch.

Clearing flags on attachment: 84616

Committed r80854: <http://trac.webkit.org/changeset/80854>
Comment 7 WebKit Commit Bot 2011-03-11 09:09:49 PST
All reviewed patches have been landed.  Closing bug.