Bug 36116 - [GStreamer] duration query optimizations
Summary: [GStreamer] duration query optimizations
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-15 08:06 PDT by Philippe Normand
Modified: 2010-03-15 13:19 PDT (History)
1 user (show)

See Also:


Attachments
proposed patch (3.95 KB, patch)
2010-03-15 08:22 PDT, Philippe Normand
gustavo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2010-03-15 08:06:59 PDT
If the duration of the media is unknown we always attempt to query it again. Instead, we should re-attempt the query only when we receive duration-changed messages.
Comment 1 Philippe Normand 2010-03-15 08:22:24 PDT
Created attachment 50709 [details]
proposed patch
Comment 2 Gustavo Noronha (kov) 2010-03-15 11:44:17 PDT
Comment on attachment 50709 [details]
proposed patch

Looks sane to me.
Comment 3 Philippe Normand 2010-03-15 13:19:31 PDT
Landed in r56010