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

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


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





--- Comment #7 from Eric Carlson <eric.carlson at apple.com>  2010-03-26 08:23:28 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > Can't you do something like this in any case?
> > 
> > #if PLATFORM(MAC)
> >         MediaPlayerPrivate::registerMediaEngine(addMediaEngine);
> >         MediaPlayerPrivateGStreamer::registerMediaEngine(addMediaEngine);
> > #else
> >         MediaPlayerPrivate::registerMediaEngine(addMediaEngine);
> > #endif
> 
> Hmm but then the gst player won't be compiled for the gtk port. Could we rather
> add a new feature macro and use it like
> 
> #if ENABLE(GSTREAMER)
> ....
> #endif
> 
This seems reasonable.


(In reply to comment #6)
> and register the QTKit player for PLATFORM(MAC) || PLATFORM(WIN) ? Maybe it'd
> make sense to have a macro for this feature as well.
> 
QTKit is Mac only.

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