[Webkit-unassigned] [Bug 36654] MediaPlayer supports only one MediaPlayerPrivateInterface implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 26 08:08:50 PDT 2010


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





--- Comment #4 from Eric Carlson <eric.carlson at apple.com>  2010-03-26 08:08:50 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > I guess I can rename MediaPlayerPrivate in the gstreamer backend to
> > MediaPlayerPrivateGStreamer :)
> > 
> > Renaming would be needed in other implementations as well.
> 
> MediaPlayerPrivate:: is used in MediaPlayer::installedMediaEngines :(
> 
> Eric, what do you think we could do?

I agree that the QTKit implementation class name should change, I will do that. 

Can't you do something like this in any case?

#if PLATFORM(MAC)
        MediaPlayerPrivate::registerMediaEngine(addMediaEngine);
        MediaPlayerPrivateGStreamer::registerMediaEngine(addMediaEngine);
#else
        MediaPlayerPrivate::registerMediaEngine(addMediaEngine);
#endif

-- 
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