WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
115355
[gstreamer] Prevent race when pad caps is set on gstreamer player
https://bugs.webkit.org/show_bug.cgi?id=115355
Summary
[gstreamer] Prevent race when pad caps is set on gstreamer player
Andre Moreira Magalhaes
Reported
2013-04-29 08:00:48 PDT
Prevent race when pad caps is set on gstreamer player. Patch to follow.
Attachments
Patch
(5.51 KB, patch)
2013-04-29 08:05 PDT
,
Andre Moreira Magalhaes
pnormand
: review+
pnormand
: commit-queue-
Details
Formatted Diff
Diff
Patch
(5.48 KB, patch)
2013-05-20 09:39 PDT
,
Andre Moreira Magalhaes
pnormand
: review+
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Patch
(5.51 KB, patch)
2013-06-04 10:16 PDT
,
Andre Moreira Magalhaes
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Andre Moreira Magalhaes
Comment 1
2013-04-29 08:05:06 PDT
Created
attachment 200012
[details]
Patch
Philippe Normand
Comment 2
2013-05-13 03:17:18 PDT
Comment on
attachment 200012
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=200012&action=review
> Source/WebCore/ChangeLog:12 > + No new tests (OOPS!).
Commit queue will complain here. Please remove this line. Also the entry format is wrong. Should be something like bug title bug link Reviewed by... Change description
Andre Moreira Magalhaes
Comment 3
2013-05-20 09:39:20 PDT
Created
attachment 202281
[details]
Patch
> > Source/WebCore/ChangeLog:12 > > + No new tests (OOPS!). > > Commit queue will complain here. Please remove this line. Also the entry format is wrong. Should be something like > > bug title > bug link > > Reviewed by... > > Change description
Done
Andre Moreira Magalhaes
Comment 4
2013-05-20 10:30:49 PDT
Thanks all for the review, all patches are updated now with comments applied.
Philippe Normand
Comment 5
2013-05-27 03:45:02 PDT
Comment on
attachment 202281
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=202281&action=review
> Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:30 > +#include <glib.h>
Too bad enums can't be forward-declared, it would have been good to avoid this include.
WebKit Commit Bot
Comment 6
2013-05-31 00:59:29 PDT
Comment on
attachment 202281
[details]
Patch Rejecting
attachment 202281
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 202281, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: 383 with fuzz 1 (offset 51 lines). 1 out of 4 hunks FAILED -- saving rejects to file Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp.rej patching file Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h Hunk #1 succeeded at 27 with fuzz 1. Hunk #2 succeeded at 123 (offset 14 lines). Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Philippe Normand']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output:
http://webkit-queues.appspot.com/results/664222
Philippe Normand
Comment 7
2013-05-31 01:03:56 PDT
Can you please rebase the patch with the "Reviewed by" field updated and mark it cq? ? Thanks :)
Andre Moreira Magalhaes
Comment 8
2013-06-04 10:16:16 PDT
Created
attachment 203709
[details]
Patch (In reply to
comment #7
)
> Can you please rebase the patch with the "Reviewed by" field updated and mark it cq? ? Thanks :)
Done, rebased patch attached.
WebKit Commit Bot
Comment 9
2013-06-04 11:07:07 PDT
Comment on
attachment 203709
[details]
Patch Clearing flags on attachment: 203709 Committed
r151175
: <
http://trac.webkit.org/changeset/151175
>
WebKit Commit Bot
Comment 10
2013-06-04 11:07:11 PDT
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 11
2013-06-05 00:23:45 PDT
It broke the build with gstreamer 0.1 (Qt WK2 perf bot and Qt MIPS bot): /data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: In member function 'virtual WebCore::IntSize WebCore::MediaPlayerPrivateGStreamerBase::naturalSize() const': /data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:171:32: error: invalid conversion from 'const GMutex* {aka const _GMutex*}' to 'GMutex* {aka _GMutex*}' [-fpermissive] /usr/mipsel-linux-gnu/include/glib-2.0/glib/gthread.h:157:17: error: initializing argument 1 of 'void g_mutex_lock(GMutex*)' [-fpermissive] /data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:173:34: error: invalid conversion from 'const GMutex* {aka const _GMutex*}' to 'GMutex* {aka _GMutex*}' [-fpermissive] Isn't gstreamer 1.0 mandatory long time ago? If no, it needs buildfix. If yes, Qt build system should be fixed to require gstreamer 1.0 installed. ( I mean removing the 0.1 fallback introduced in
https://trac.webkit.org/changeset/144208
)
Philippe Normand
Comment 12
2013-06-05 00:34:18 PDT
Qt should switch to gst 1.x, there's a bug about that, but this is not my call :) Someone should indeed fix this build error, we need gst 0.10 support building. Why did that patch pass on the qt EWS?
Csaba Osztrogonác
Comment 13
2013-06-05 00:47:37 PDT
(In reply to
comment #12
)
> Qt should switch to gst 1.x, there's a bug about that, but this is not my call :) > > Someone should indeed fix this build error, we need gst 0.10 support building. Why did that patch pass on the qt EWS?
All Qt bots (EWS bots too) already use gst 1.0 (from the related thread on webkit-dev mailing list), but the MIPS and WK2 perf bot.
Philippe Normand
Comment 14
2013-06-05 02:17:52 PDT
https://trac.webkit.org/r151203
Balazs Kelemen
Comment 15
2013-06-09 16:01:20 PDT
Could you provide some information about why did you only fixed it for the old version? Thanks.
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