WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
124534
[GStreamer] Remove 0.10 codepath
https://bugs.webkit.org/show_bug.cgi?id=124534
Summary
[GStreamer] Remove 0.10 codepath
Xabier Rodríguez Calvar
Reported
2013-11-18 13:01:44 PST
[GStreamer] Remove 0.10 codepath
Attachments
Patch
(77.77 KB, patch)
2013-11-18 16:30 PST
,
Xabier Rodríguez Calvar
no flags
Details
Formatted Diff
Diff
Patch
(111.57 KB, patch)
2013-11-21 17:11 PST
,
Xabier Rodríguez Calvar
no flags
Details
Formatted Diff
Diff
Patch
(111.33 KB, patch)
2013-11-21 17:32 PST
,
Xabier Rodríguez Calvar
no flags
Details
Formatted Diff
Diff
Patch
(111.26 KB, patch)
2013-11-22 00:59 PST
,
Xabier Rodríguez Calvar
no flags
Details
Formatted Diff
Diff
Patch
(113.47 KB, patch)
2013-11-22 09:18 PST
,
Xabier Rodríguez Calvar
no flags
Details
Formatted Diff
Diff
patch for wrong bug
(1.72 KB, patch)
2013-11-25 09:20 PST
,
Xabier Rodríguez Calvar
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Xabier Rodríguez Calvar
Comment 1
2013-11-18 16:30:16 PST
Created
attachment 217247
[details]
Patch Removed the GStreamer 0.10 path.
EFL EWS Bot
Comment 2
2013-11-18 16:37:14 PST
Comment on
attachment 217247
[details]
Patch
Attachment 217247
[details]
did not pass efl-ews (efl): Output:
http://webkit-queues.appspot.com/results/28618017
Gyuyoung Kim
Comment 3
2013-11-18 17:02:34 PST
(In reply to
comment #2
)
> (From update of
attachment 217247
[details]
) >
Attachment 217247
[details]
did not pass efl-ews (efl): > Output:
http://webkit-queues.appspot.com/results/28618017
Please remove FullscreenVideoControllerEfl.cpp from Source/WebKit/PlatformEfl.cmake as well.
Martin Robinson
Comment 4
2013-11-18 17:18:23 PST
Comment on
attachment 217247
[details]
Patch This patch makes me happy.
Philippe Normand
Comment 5
2013-11-18 23:15:15 PST
Comment on
attachment 217247
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=217247&action=review
> Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:40 > static const char* gDecodebinName = "decodebin";
This doesn't need to be a static global anymore
> Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.cpp:34 > gst_object_ref_sink(gstObject);
For functions that are now a single line implementation I'm not sure it's worth to keep them, what do you think?
> Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.cpp:62 > return adoptGRef(gst_pipeline_get_bus(pipeline));
Same question :)
> Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:-982 > - if (!priv->haveAppSrc27) {
That member can be removed too
Philippe Normand
Comment 6
2013-11-19 08:01:47 PST
Please also remove GST_API_VERSION_1 from the EFL cmake stuff
Xabier Rodríguez Calvar
Comment 7
2013-11-19 08:18:24 PST
(In reply to
comment #5
)
> (From update of
attachment 217247
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=217247&action=review
> > > Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:40 > > static const char* gDecodebinName = "decodebin";
Missed it.
> This doesn't need to be a static global anymore > > > Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.cpp:34 > > gst_object_ref_sink(gstObject); > > For functions that are now a single line implementation I'm not sure it's worth to keep them, what do you think? > > > Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.cpp:62 > > return adoptGRef(gst_pipeline_get_bus(pipeline)); > > Same question :)
Actually I was thinking if the whole versioning still made sense, but I think there's still some stuff. I'll have a deeper look anyway and I agree on fixing these one liners.
> > Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:-982 > > - if (!priv->haveAppSrc27) { > > That member can be removed too
Roger. (In reply to
comment #3
)
> Please remove FullscreenVideoControllerEfl.cpp from Source/WebKit/PlatformEfl.cmake as well.
Roger. (In reply to
comment #6
)
> Please also remove GST_API_VERSION_1 from the EFL cmake stuff
Roger.
Xabier Rodríguez Calvar
Comment 8
2013-11-21 17:11:49 PST
Created
attachment 217632
[details]
Patch Honored comments and removed versioning.
Xabier Rodríguez Calvar
Comment 9
2013-11-21 17:32:13 PST
Created
attachment 217635
[details]
Patch Honored comments and removed versioning. Fixed a typo in ver project filters.
Philippe Normand
Comment 10
2013-11-21 23:40:39 PST
Comment on
attachment 217635
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=217635&action=review
Looks nice! Just a small comment/question
> Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.h:74 > +void mapGstBuffer(GstBuffer*); > +void unmapGstBuffer(GstBuffer*); > + > namespace WebCore { > bool initializeGStreamer(); > }
I wonder why the moved functions aren't in the WebCore namespace like the initializeGStreamer function.
Xabier Rodríguez Calvar
Comment 11
2013-11-22 00:50:34 PST
Comment on
attachment 217635
[details]
Patch (In reply to
comment #10
) Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.h:74
> > +void mapGstBuffer(GstBuffer*); > > +void unmapGstBuffer(GstBuffer*); > > + > > namespace WebCore { > > bool initializeGStreamer(); > > } > > I wonder why the moved functions aren't in the WebCore namespace like the initializeGStreamer function.
Cause they weren't before. Do you prefer them inside? Btw, I spotted a little problem with the IntSize class, which is now included in the .h instead of forwarded. I'll upload a new patch.
Xabier Rodríguez Calvar
Comment 12
2013-11-22 00:59:34 PST
Created
attachment 217658
[details]
Patch Moved IntSize.h include and forwarded declaration.
Philippe Normand
Comment 13
2013-11-22 02:08:54 PST
(In reply to
comment #11
)
> (From update of
attachment 217635
[details]
) > (In reply to
comment #10
) > Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.h:74 > > > +void mapGstBuffer(GstBuffer*); > > > +void unmapGstBuffer(GstBuffer*); > > > + > > > namespace WebCore { > > > bool initializeGStreamer(); > > > } > > > > I wonder why the moved functions aren't in the WebCore namespace like the initializeGStreamer function. > > Cause they weren't before. Do you prefer them inside?
Yes please it would be coherent.
Xabier Rodríguez Calvar
Comment 14
2013-11-22 09:18:34 PST
Created
attachment 217692
[details]
Patch Added GStreamer utility functions to WebCore namespace
WebKit Commit Bot
Comment 15
2013-11-23 06:33:01 PST
Comment on
attachment 217692
[details]
Patch Clearing flags on attachment: 217692 Committed
r159730
: <
http://trac.webkit.org/changeset/159730
>
WebKit Commit Bot
Comment 16
2013-11-23 06:33:05 PST
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 17
2013-11-25 09:05:07 PST
(In reply to
comment #15
)
> (From update of
attachment 217692
[details]
) > Clearing flags on attachment: 217692 > > Committed
r159730
: <
http://trac.webkit.org/changeset/159730
>
It broke the WinCairo build: 8>c:\projects\buildslave\win-cairo-release\build\source\webcore\platform\graphics\gstreamer\GStreamerUtilities.h(21): fatal error C1083: Cannot open include file: 'gst/gst.h': No such file or directory Brent, any idea?
Xabier Rodríguez Calvar
Comment 18
2013-11-25 09:20:46 PST
Reopening to attach new patch.
Xabier Rodríguez Calvar
Comment 19
2013-11-25 09:20:51 PST
Created
attachment 217813
[details]
patch for wrong bug Rebased
Xabier Rodríguez Calvar
Comment 20
2013-11-25 09:23:52 PST
(In reply to
comment #19
)
> Rebased
Ooops, patch for wrong bug O:)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug