Closed
Bug 1206296
Opened 9 years ago
Closed 9 years ago
Remove last bits of a Froyo-specific media code in libcubeb and OMX plugin
Categories
(Firefox for Android Graveyard :: Audio/Video, defect)
Firefox for Android Graveyard
Audio/Video
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: miketaylr, Assigned: miketaylr)
References
Details
Attachments
(2 files, 2 obsolete files)
11.58 KB,
patch
|
miketaylr
:
review+
|
Details | Diff | Splinter Review |
10.76 KB,
patch
|
miketaylr
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Just uploading before I hop on a cab to the airport.
Assignee | ||
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a06b17fbdfbf
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8663185 [details] [diff] [review] 1041882.-Remove-Froyo-specific-support-from-libc.patch Jean-Yves, would you mind reviewing?
Attachment #8663185 -
Flags: review?(jyavenard)
Assignee | ||
Updated•9 years ago
|
Attachment #8663186 -
Flags: review?(jyavenard)
Comment 5•9 years ago
|
||
Comment on attachment 8663185 [details] [diff] [review] 1041882.-Remove-Froyo-specific-support-from-libc.patch Review of attachment 8663185 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, but I don't think I'm the best person to review it. I have no idea of what that was for (can only guess looking at the code) ; nor the rationale behind removing support for 2.2 .. snorp is probably the person that should look into it.
Attachment #8663185 -
Flags: review?(jyavenard) → review?(snorp)
Comment 6•9 years ago
|
||
Comment on attachment 8663186 [details] [diff] [review] 1041882.-Remove-Froyo-specific-OMX-plugin-suppor.patch Review of attachment 8663186 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, passing on to snorp
Attachment #8663186 -
Flags: review?(jyavenard) → review?(snorp)
Assignee | ||
Comment 7•9 years ago
|
||
Thanks for taking a look Jean-Yves!
Comment on attachment 8663185 [details] [diff] [review] 1041882.-Remove-Froyo-specific-support-from-libc.patch Review of attachment 8663185 [details] [diff] [review]: ----------------------------------------------------------------- looks good, but maybe padenot should look?
Attachment #8663185 -
Flags: review?(snorp)
Attachment #8663185 -
Flags: review?(padenot)
Attachment #8663185 -
Flags: review+
Comment on attachment 8663186 [details] [diff] [review] 1041882.-Remove-Froyo-specific-OMX-plugin-suppor.patch Review of attachment 8663186 [details] [diff] [review]: ----------------------------------------------------------------- We have basically no testing for this. Did you confirm that media still works on a 2.3 device? ::: media/omx-plugin/OmxPlugin.cpp @@ +30,5 @@ > > #undef LOG > #define LOG(args...) __android_log_print(ANDROID_LOG_INFO, "OmxPlugin" , ## args) > > +#if !defined(MOZ_ANDROID_GB) && !defined(MOZ_ANDROID_HC) I think you broke GB. We need to define MOZ_ANDROID_V2_X_X there, according to previous logic. @@ +267,5 @@ > // 16 = Force hardware decoding > int32_t flags = 0; > aPluginHost->GetIntPref("media.stagefright.omxcodec.flags", &flags); > if (flags != 0) { > +#if !defined(MOZ_ANDROID_GB) Ah, nevermind.
Attachment #8663186 -
Flags: review?(snorp) → review+
Comment 10•9 years ago
|
||
Comment on attachment 8663185 [details] [diff] [review] 1041882.-Remove-Froyo-specific-support-from-libc.patch Review of attachment 8663185 [details] [diff] [review]: ----------------------------------------------------------------- Yeah looks good.
Attachment #8663185 -
Flags: review?(padenot) → review+
Assignee | ||
Comment 11•9 years ago
|
||
> We have basically no testing for this. Did you confirm that media still works on a 2.3 device?
Uhhh, not yet. But I'll do that before landing.
Thanks for the reviews padenot and snorp.
Assignee | ||
Comment 12•9 years ago
|
||
Updating commit message to reflect r+, carrying forward r+.
Attachment #8663185 -
Attachment is obsolete: true
Attachment #8666370 -
Flags: review+
Assignee | ||
Comment 13•9 years ago
|
||
Ditto. Still haven't managed to get my hands on a Gingerbread device to test this, but I'll be in the Paris office next week -- maybe someone will have one to lend me.
Attachment #8663186 -
Attachment is obsolete: true
Attachment #8666371 -
Flags: review+
Comment 14•9 years ago
|
||
I have an HTC with android 2.2. Will that help?
Assignee | ||
Comment 16•9 years ago
|
||
(In reply to Jean-Yves Avenard [:jya] from comment #14) > I have an HTC with android 2.2. Will that help? I've got an old Desire on 2.2 as well. ^_^ I just need to manually verify that nothing breaks on 2.3 before feeling confident enough to land this.
Assignee | ||
Comment 17•9 years ago
|
||
OK, padenot lent me a 2.3 device he found in a pile of dusty phones and these patches play the same videos and audio as a regular Nightly (mp4 is kinda glitchy, but I assume that's because it's running on an underpowered device or something). I tested with http://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5 and http://hpr.dogphilosophy.net/test/ for audio. One thing to note is the webm and ogg videos don't stretch to the full size of the player and are surrounded by green (or pink), but that happens in Nightly with or without this patchset. ¯\_(ツ)_/¯
Keywords: checkin-needed
Comment 18•9 years ago
|
||
(In reply to Mike Taylor [:miketaylr] from comment #17) > One thing to note is the webm and ogg videos don't stretch to the full size > of the player and are surrounded by green (or pink), but that happens in > Nightly with or without this patchset. ¯\_(ツ)_/¯ Was that with bug 1190379 or without ? the libvpx decoder properly handles margins , but I doubt anyone tried to check how the android's built-in decoder manages those.
Comment 19•9 years ago
|
||
ah never mind, that's 2.3, AndroidDecoderModule is only available on 4.2 and later.
Assignee | ||
Comment 20•9 years ago
|
||
Fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1041882#c5.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 21•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f8d280b9d4fe https://hg.mozilla.org/mozilla-central/rev/0b4987e8fe7d
Keywords: checkin-needed
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•