Closed Bug 1198576 Opened 9 years ago Closed 9 years ago

Remove MediaCodecReader.

Categories

(Core :: Audio/Video: Playback, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox43 --- affected
firefox45 --- fixed

People

(Reporter: bechen, Assigned: bechen)

References

Details

Attachments

(1 file, 2 obsolete files)

Since we prefer the PlatformDecoderModule and the emulator-kk tryserver progress is so slow. The MediaCodecReader won't be enable anymore.

I'm going to remove them once I have free time. Maybe middle of September.
Priority: -- → P2
Attached patch bug-1198576.v02.patch (obsolete) — Splinter Review
Comment on attachment 8685294 [details] [diff] [review]
bug-1198576.v02.patch

Review of attachment 8685294 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/media/DecoderTraits.cpp
@@ -650,5 @@
>    if (IsRtspSupportedType(aType)) {
> -#if ANDROID_VERSION >= 18
> -    decoder = MediaDecoder::IsOmxAsyncEnabled()
> -      ? static_cast<MediaDecoder*>(new RtspMediaCodecDecoder(aOwner))
> -      : static_cast<MediaDecoder*>(new RtspOmxDecoder(aOwner));

Does currently RTSP use MediaCodecDecoder? 
If yes, would it cause any problems in RTSP if we rollback to OmxDecoder?
Comment on attachment 8685294 [details] [diff] [review]
bug-1198576.v02.patch

Review of attachment 8685294 [details] [diff] [review]:
-----------------------------------------------------------------

Per discussing offline with Benjamin, RTSP currently doesn't use MediaCodecDecoder due to pref off and we should remove that pref as well.
So cancel this review for next patch.
Attachment #8685294 - Flags: review?(bwu)
Attached patch bug-1198576.v02.patch (obsolete) — Splinter Review
Remove |MediaDecoder::IsOmxAsyncEnabled| function. And the preference never exist in b2g.js.
Attachment #8685294 - Attachment is obsolete: true
Attachment #8690630 - Flags: review?(bwu)
Comment on attachment 8690630 [details] [diff] [review]
bug-1198576.v02.patch

Review of attachment 8690630 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks! This patch removes unused codes to make our codes cleaner.
Attachment #8690630 - Flags: review?(bwu) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/5223d6786b2b
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Blocks: 1237545
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: