[Webkit-unassigned] [Bug 35333] [GTK] video playback position query flood when mouse over the video element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 8 14:06:32 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35333


Gustavo Noronha (kov) <gns at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #49802|review?                     |review-
               Flag|                            |




--- Comment #5 from Gustavo Noronha (kov) <gns at gnome.org>  2010-03-08 14:06:32 PST ---
(From update of attachment 49802)
 1572     float maxTime = maxTimeSeekable();
15721573     // FIXME real ranges support
1573      if (!maxTimeSeekable())
 1574     if (!maxTime)
15741575         return TimeRanges::create();
1575      return TimeRanges::create(minTimeSeekable(), maxTimeSeekable());
 1576     return TimeRanges::create(minTimeSeekable(), maxTime);

Unrelated micro-optimization? Is this really a problem? I'd put this in a
separate patch, and get Eric Carlson to look at it.

5864 // backend can live at runtime.
5965 typedef struct PlatformMedia {
6066     QTMovie* qtMovie;
 67     GstElement* gstPipeline;
6168 } PlatformMedia;

This looks weird to me. I don't think our struct should have a QTMovie in it.
Maybe we need a #if/#else here, instead? Or event better, just write an
implementation for platformMedia that returns the playbin! See:

77        virtual PlatformMedia platformMedia() const { return NoPlatformMedia;
}

676      return paintMediaButton(paintInfo.context, r, mediaElement->canPlay()
? m_playButton.get() : m_pauseButton.get(), m_panelColor, m_mediaIconSize);
 676     return paintMediaButton(paintInfo.context, r, mediaElement->paused() ?
m_playButton.get() : m_pauseButton.get(), m_panelColor, m_mediaIconSize);

This seems totally unrelated?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list