The GST_PLAY_FLAG_BUFFERING value is wrong now (how come?), the deinterlace and soft-colorbalance flags are missing.
This is going to be fun to support.
Created attachment 224521 [details] Patch
Comment on attachment 224521 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224521&action=review > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:170 > + GFlagsClass* flagsClass = static_cast<GFlagsClass*>(g_type_class_ref(g_type_from_name("GstPlayFlags"))); I was thinking of caching this by making it static. What do you think, Phil?
Comment on attachment 224521 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224521&action=review > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:168 > +static unsigned getGstPlaysFlag(const char* nick) Perhaps this could be moved to GStreamerUtilities >> Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:170 >> + GFlagsClass* flagsClass = static_cast<GFlagsClass*>(g_type_class_ref(g_type_from_name("GstPlayFlags"))); > > I was thinking of caching this by making it static. What do you think, Phil? Ok but then no unref below I suppose :)
Created attachment 224606 [details] Patch
(In reply to comment #4) > > +static unsigned getGstPlaysFlag(const char* nick) > > Perhaps this could be moved to GStreamerUtilities Done. > >> + GFlagsClass* flagsClass = static_cast<GFlagsClass*>(g_type_class_ref(g_type_from_name("GstPlayFlags"))); > > > > I was thinking of caching this by making it static. What do you think, Phil? > > Ok but then no unref below I suppose :) Of course, done.
Comment on attachment 224606 [details] Patch Clearing flags on attachment: 224606 Committed r164362: <http://trac.webkit.org/changeset/164362>
All reviewed patches have been landed. Closing bug.