Commit Graph

58 Commits

Author SHA1 Message Date
Louis Christie
6545052865 Bug 851530: Part 1 - Added support for decoding uLaw and aLaw enconded wave files. r=jya
--HG--
extra : rebase_source : f9179aa998afb3bf6b7c3a2ef2b841aded6c1153
2016-02-12 14:45:28 +13:00
Jean-Yves Avenard
4de572ea7a Revert "Bug 1248570: Allow WAV into media element. r=lchristie"
This reverts commit b3f7abd15a
2016-02-17 16:09:51 +11:00
Jean-Yves Avenard
9df5f82b77 Bug 1248570: Allow WAV into media element. r=lchristie
MozReview-Commit-ID: AKIQq9EyCC6
2016-02-17 15:47:43 +11:00
Louis Christie
38e2de5ca1 Bug 1231793: Part 6 - Enabled the new Wave Data Decoder in DecoderTraits. r=jya
MozReview-Commit-ID: EdW4JJM3nO6
2016-02-17 00:28:50 +11:00
Chris Peterson
702f1619f7 Bug 1235503 - Fix -Wunreachable-code warnings in dom/media/. r=jya
dom/media/DecoderTraits.cpp:314:10 [-Wunreachable-code-return] 'return' will never be executed
dom/media/DecoderTraits.cpp:324:10 [-Wunreachable-code-return] 'return' will never be executed
2015-12-28 00:11:26 -07:00
Jean-Yves Avenard
de7c0385a1 Bug 1230054: Remove unused WebMReader. r=kinetik 2015-12-23 01:15:46 +11:00
Jean-Yves Avenard
8f79430f0e Bug 1234092: P1. Remove GStreamer support. r=kentuckyfriedtakahe
It was now unused by default.
2015-12-23 01:14:22 +11:00
Chris Peterson
90c0e0da61 Bug 1232223 - Part 3: Remove MOZ_WAVE #ifdefs because Wave is always supported. r=jya 2015-12-18 00:51:16 -08:00
Chris Peterson
88051371a9 Bug 1232223 - Part 1: Remove MOZ_WEBM #ifdefs because WebM is always supported, though not necessarily enabled. r=jya r=glandium 2015-12-12 13:49:07 -05:00
Dan Glastonbury
856e41412c Bug 1169212 - Part 2: Advertise support for ADTS via DecoderTraits. r=jya
for mimetype audio/aacp
2015-12-07 15:48:59 +10:00
Phil Ringnalda
a54f2a1eda Back out ce4623289f7f (bug 1230054) for crashtest bustage in 789075-1.html/795892-1.html, Android mochitest-chrome bustage in test_texttrack_chrome.html, and probably Gij video_list_test.js
CLOSED TREE
2015-12-03 22:12:01 -08:00
Jean-Yves Avenard
b2545f9af0 Bug 1230054: Remove unused WebMReader. r=kinetik 2015-12-04 15:23:43 +11:00
Jean-Yves Avenard
d6b653ae10 Bug 1229605: [MSE] Allow webm/audio independently of video. r=kentuckyfriedtakahe
This adds a media.mediasource.webm.audio.enabled preference (true by default) to disable opus or vorbis audio in webm mediasource.
2015-12-04 14:43:47 +11:00
Jean-Yves Avenard
72d555ab40 Bug 1191833: P1. Properly check webm mimetype against codec type. r=cpearce
Also move the logic inside WebMDecoder, this continue on with the logic used by MP4Decoder
2015-12-04 14:43:46 +11:00
Benjamin Chen
9008199c76 Bug 1198576 - Remove MediaCodecReader. r=bwu 2015-11-25 16:18:01 +08:00
Jean-Yves Avenard
3fbc97331d Bug 1209388: [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe
Following bug 1209410, it was no longer used.
2015-11-19 10:40:33 +11:00
Jean-Yves Avenard
d1b1c57939 Bug 1217170: P1. Rename functions to explicitly reflect what they are doing. r=kentuckyfriedtakahe 2015-10-27 23:57:13 +11:00
Jean-Yves Avenard
18ef6c89dc Bug 1214208: Do not use MP3Decoder on B2G. r=alfredo
the Gonk PDM doesn't support AudioOffloadPlayer leading to increased power consumption.
2015-10-27 23:52:27 +11:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
JW Wang
e470e1616d Bug 1214989. Part 1 - add MediaDecoderOwner to the constructors of MediaDecoder and sub-classes. r=gerald. 2015-10-15 11:36:21 +08:00
Chris Pearce
aaf1f72ba5 Bug 1211339 Part 2 - Make MP4Decoder::CanHandleMediaType() check all codecs are supported by a PDM before reporting support. r=jya 2015-10-06 16:52:58 +13:00
Carsten "Tomcat" Book
239ba800f1 Backed out 2 changesets (bug 1211339) for m3 test failures on a CLOSED TREE
Backed out changeset 91bff7bc67d7 (bug 1211339)
Backed out changeset d34f694b13cf (bug 1211339)
2015-10-05 14:34:44 +02:00
Chris Pearce
83d11d9363 Bug 1211339 Part 2 - Make MP4Decoder::CanHandleMediaType() check all codecs are supported by a PDM before reporting support. r=jya 2015-10-05 22:39:10 +13:00
Jean-Yves Avenard
04cdb572f3 Revert "Bug 1209388: [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe" r=me
This reverts commit ecbe6589d36e

May be better of waiting a little bit in case we find that the new MP3Demuxer isn't up to scratch
2015-10-02 19:24:54 +10:00
Jean-Yves Avenard
b2c18c37f4 Bug 1209388: [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe
Following bug 1209410, it was no longer used.
2015-10-02 18:44:34 +10:00
Jean-Yves Avenard
fc715601b9 Bug 1209410: [mp3] P3. Implement canPlayType for new MP3Decoder. r=kentuckyfriedtakahe 2015-10-02 18:44:33 +10:00
Jean-Yves Avenard
a9855a3bd6 Bug 1209410: [webm] P2. Never use gstreamer to decode webm. r=kentuckyfriedtakahe 2015-10-02 18:44:32 +10:00
JW Wang
f56fdd4173 Bug 1209886 - Clean up InstantiateDecoder() in DecoderTraits.cpp. r=kinetik. 2015-09-30 06:55:20 +08:00
Jean-Yves Avenard
e071e87392 Bug 1207429: P1. remove media.fragmented-mp4.exposed pref. r=kentuckyfriedtakahe 2015-09-27 15:19:27 +10:00
Eugen Sawin
5aabb1fe3a Bug 1194014 - Remove redundant includes. r=jya 2015-08-27 15:03:49 +02:00
Roman Reiss
70689c0fde Bug 875573 - Add video/x-m4v mime type. r=kentuckyfriedtakahe 2015-08-21 20:52:19 +02:00
Jean-Yves Avenard
cfc9c86adc Bug 1165772: P1. Refactor DecoderTraits::CanHandleMediaType. r=kentuckyfriedtakahe 2015-07-22 14:22:51 +10:00
Alfredo Yang
8393a2233e Bug 1163486 - Remove MP4Reader. r=jya 2015-07-21 02:48:00 +02:00
Carsten "Tomcat" Book
de3872af29 Backed out changeset 1704ea727e81 (bug 1163486) for at least b2g bustage 2015-07-21 08:42:54 +02:00
Alfredo Yang
23c919b20e Bug 1163486 - Remove MP4Reader. r=jya 2015-07-20 19:25:00 +02:00
Jan Gerber
7bed9a2be5 Bug 1148102: P7. Hookup WebMDemuxer. r=jya 2015-07-20 17:27:08 +10:00
Blake Wu
23138ad2dd Bug 1180621 - [FxOS] Enable VP9 codec for the Android version after KK. r=sotaro
--HG--
extra : rebase_source : e5a552dd8c75fe67545a33250a8977d5f1bd6b22
2015-07-06 18:02:50 +08:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Chris Pearce
2f60326595 Bug 1174055 - Remove WMFReader. r=jya
--HG--
rename : dom/media/wmf/DXVA2Manager.cpp => dom/media/platforms/wmf/DXVA2Manager.cpp
rename : dom/media/wmf/DXVA2Manager.h => dom/media/platforms/wmf/DXVA2Manager.h
rename : dom/media/wmf/WMF.h => dom/media/platforms/wmf/WMF.h
rename : dom/media/wmf/WMFUtils.cpp => dom/media/platforms/wmf/WMFUtils.cpp
rename : dom/media/wmf/WMFUtils.h => dom/media/platforms/wmf/WMFUtils.h
2015-06-16 14:28:01 +12:00
Bobby Holley
328eef7add Bug 1173001 - Explicitly instantiate WebReader in MediaSourceReader. r=jww
This will allow us to pass the borrowed task queue. It's also more explicit
about the fact that we only support mp4 and (sort of) webm.
2015-06-10 14:17:24 -07:00
Eugen Sawin
a5be92921a Bug 1168374 - Add MP3 decoder and integrate with MP3 demuxer. r=kinetik
--HG--
extra : rebase_source : a3d5d487895cddf37df5cb53e9c83f93f1e7f123
2015-06-05 15:53:31 +02:00
Jean-Yves Avenard
e2e250fdd5 Bug 1165585: Part2. Use MediaFormatReader with web audio. r=cpearce
Only used for MP4 content at present.
2015-05-16 22:35:22 +10:00
Bobby Holley
e84f76e414 Bug 1157476 - Remove synchronous dispatch in AndroidMediaResourceServer::Start. r=cajbir 2015-04-28 23:45:59 -07:00
Blake Wu
e18be58df6 Bug 1146729 - [FFOS] Enable MP4Reader for MSE and local playback. r=cpearce. r=jwwang
--HG--
extra : rebase_source : 01149921b494e7ca57983f3fceff89775ec8ed15
2015-04-23 20:40:32 +08:00
JW Wang
c9aefca214 Bug 1155533 - use blank-decoder on B2G when pref is on. r=edwin. 2015-04-20 11:24:47 +08:00
Naoki Hirata
a1cb354136 Backed out changeset 861b69f6f3b2 (bug 1146729) due to bug 1153831 2015-04-13 12:48:31 -07:00
Blake Wu
3abc5e1763 Bug 1146729 - [FFOS] Enable MP4Reader for MSE and local playback. r=cpearce.
--HG--
extra : rebase_source : 266be05dba0167a0740fb2ae71e363c65d051f74
2015-04-09 14:02:41 +08:00
Wes Kocher
02e9b2a663 Backed out changeset a9a186400dd8 (bug 1146729) for being the likely cause of breaking ICS debug m-13 permared 2015-04-03 13:09:56 -07:00
Blake Wu
4ae1b58790 Bug 1146729 - [FFOS] Enable MP4Reader for MSE and local playback. r=cpearce 2015-03-24 10:31:39 +08:00
Jim Porter
d0a2187ca7 Bug 1039639 - Add support for Flac on Firefox OS. r=cajbir 2014-12-02 16:37:00 -05:00