Bug 27774

Summary: [Gtk] Code cleanup in MediaPlayerPrivateGStreamer.cpp|h and VideoSinkGStreamer.cpp|h
Product: WebKit Reporter: Antonio Gomes <tonikitoo>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gustavo, kenneth
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
v0.1 - code style fixes + removal of unneeded includes
none
v0.2.1 - code style fixes
none
v0.2.2 - removal of unneeded includes
none
v0.3.1 - code style fixes
none
v0.4.1 - code style fixes
gustavo: review+
v0.5.1 - code style fixes none

Antonio Gomes
Reported 2009-07-28 11:49:55 PDT
Created attachment 33656 [details] v0.1 - code style fixes + removal of unneeded includes these files have coding style issues (accordingly to WebCore/Scripts/modules/cpplint.py). patch fixes them, and remove some unneeded includes (e.g. gdk.h or gtk.h). ps: this patch make gtk video backend work for EFL out of the box too.
Attachments
v0.1 - code style fixes + removal of unneeded includes (21.29 KB, patch)
2009-07-28 11:49 PDT, Antonio Gomes
no flags
v0.2.1 - code style fixes (22.63 KB, patch)
2009-07-30 08:01 PDT, Antonio Gomes
no flags
v0.2.2 - removal of unneeded includes (2.45 KB, patch)
2009-07-30 08:02 PDT, Antonio Gomes
no flags
v0.3.1 - code style fixes (21.56 KB, patch)
2009-07-30 09:44 PDT, Antonio Gomes
no flags
v0.4.1 - code style fixes (21.60 KB, patch)
2009-07-30 09:52 PDT, Antonio Gomes
gustavo: review+
v0.5.1 - code style fixes (21.60 KB, patch)
2009-07-30 10:03 PDT, Antonio Gomes
no flags
Antonio Gomes
Comment 1 2009-07-28 12:03:37 PDT
Comment on attachment 33656 [details] v0.1 - code style fixes + removal of unneeded includes clearing review flag, since xan asked to break it down in smaller patches: 1) for coding style 2) for removing unneeded includes.
Antonio Gomes
Comment 2 2009-07-30 08:01:09 PDT
Created attachment 33781 [details] v0.2.1 - code style fixes code style fixed pointed out by cpplint.py tool
Antonio Gomes
Comment 3 2009-07-30 08:02:55 PDT
Created attachment 33782 [details] v0.2.2 - removal of unneeded includes unneeded includes removal.
Antonio Gomes
Comment 4 2009-07-30 09:44:29 PDT
Created attachment 33788 [details] v0.3.1 - code style fixes kept NULL whereas compiler warning show up, suggested by kov
Antonio Gomes
Comment 5 2009-07-30 09:45:31 PDT
please apply v0.3.1 first then v0.2.2 on top.
Antonio Gomes
Comment 6 2009-07-30 09:52:33 PDT
Created attachment 33789 [details] v0.4.1 - code style fixes fixed, changelog message. again please apply v0.4.1 before, then 0.2.2
Gustavo Noronha (kov)
Comment 7 2009-07-30 09:55:49 PDT
Comment on attachment 33789 [details] v0.4.1 - code style fixes > - } else { > + } else > g_object_set(G_OBJECT(m_playBin), "volume", m_volume, NULL); > - } > + > } I'd remove this line. > - LOG_VERBOSE(Media, "m_source is NULL"); > + LOG_VERBOSE(Media, "m_source is 0"); I think you want to keep this as NULL here. Other than that looks good.
Antonio Gomes
Comment 8 2009-07-30 10:03:44 PDT
Created attachment 33792 [details] v0.5.1 - code style fixes fixed. carrying kov's r+ for the previous patch
Gustavo Noronha (kov)
Comment 9 2009-07-30 10:13:58 PDT
Comment on attachment 33792 [details] v0.5.1 - code style fixes right, thanks!
Gustavo Noronha (kov)
Comment 10 2009-07-30 10:39:20 PDT
Comment on attachment 33792 [details] v0.5.1 - code style fixes Landed as r46587. Clearing review flag.
Gustavo Noronha (kov)
Comment 11 2009-07-30 10:47:10 PDT
Comment on attachment 33782 [details] v0.2.2 - removal of unneeded includes Looks good.
Gustavo Noronha (kov)
Comment 12 2009-07-30 10:51:24 PDT
Comment on attachment 33782 [details] v0.2.2 - removal of unneeded includes Landed as r46588.
Gustavo Noronha (kov)
Comment 13 2009-07-30 10:51:51 PDT
This should do it =).
Note You need to log in before you can comment on or make changes to this bug.