Chris Peterson
516b62db95
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
61af2782b9
Bug 1230054: Remove unused WebMReader. r=kinetik
2015-12-23 01:15:46 +11:00
Jean-Yves Avenard
04d6e7da9f
Bug 1234092: P1. Remove GStreamer support. r=kentuckyfriedtakahe
...
It was now unused by default.
2015-12-23 01:14:22 +11:00
Chris Peterson
c3636fea5a
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
5655d03320
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
d0b7fedc36
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
a5aaa90e5b
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
b65e351ea5
Bug 1230054: Remove unused WebMReader. r=kinetik
2015-12-04 15:23:43 +11:00
Jean-Yves Avenard
b82d1220dc
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
0536b67b4e
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
56b0e97af9
Bug 1198576 - Remove MediaCodecReader. r=bwu
2015-11-25 16:18:01 +08:00
Jean-Yves Avenard
0ff8b287c3
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
9019d1e66b
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
bd59a0cee7
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
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
JW Wang
1b514602de
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
61ebed3903
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
3e53b6e59e
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
10d35f109b
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
f8d2e02fda
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
ddd7bfc5c5
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
773c6e55bd
Bug 1209410: [mp3] P3. Implement canPlayType for new MP3Decoder. r=kentuckyfriedtakahe
2015-10-02 18:44:33 +10:00
Jean-Yves Avenard
1bc8f732ca
Bug 1209410: [webm] P2. Never use gstreamer to decode webm. r=kentuckyfriedtakahe
2015-10-02 18:44:32 +10:00
JW Wang
01eca2f54f
Bug 1209886 - Clean up InstantiateDecoder() in DecoderTraits.cpp. r=kinetik.
2015-09-30 06:55:20 +08:00
Jean-Yves Avenard
42236f95ef
Bug 1207429: P1. remove media.fragmented-mp4.exposed pref. r=kentuckyfriedtakahe
2015-09-27 15:19:27 +10:00
Eugen Sawin
770f6ac500
Bug 1194014 - Remove redundant includes. r=jya
2015-08-27 15:03:49 +02:00
Roman Reiss
26d3f58637
Bug 875573 - Add video/x-m4v mime type. r=kentuckyfriedtakahe
2015-08-21 20:52:19 +02:00
Jean-Yves Avenard
00a021ef86
Bug 1165772: P1. Refactor DecoderTraits::CanHandleMediaType. r=kentuckyfriedtakahe
2015-07-22 14:22:51 +10:00
Alfredo Yang
1b6dc03704
Bug 1163486 - Remove MP4Reader. r=jya
2015-07-21 02:48:00 +02:00
Carsten "Tomcat" Book
76c76e960f
Backed out changeset 1704ea727e81 (bug 1163486) for at least b2g bustage
2015-07-21 08:42:54 +02:00
Alfredo Yang
888725d0cf
Bug 1163486 - Remove MP4Reader. r=jya
2015-07-20 19:25:00 +02:00
Jan Gerber
e7a15d99b1
Bug 1148102: P7. Hookup WebMDemuxer. r=jya
2015-07-20 17:27:08 +10:00
Blake Wu
cc73905e55
Bug 1180621 - [FxOS] Enable VP9 codec for the Android version after KK. r=sotaro
2015-07-06 18:02:50 +08:00
Birunthan Mohanathas
a29151dc87
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
10b7282ba0
Bug 1174055 - Remove WMFReader. r=jya
2015-06-16 14:28:01 +12:00
Bobby Holley
8c6be296b5
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
a3fc28ed82
Bug 1168374 - Add MP3 decoder and integrate with MP3 demuxer. r=kinetik
2015-06-05 15:53:31 +02:00
Jean-Yves Avenard
eccd852937
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
f81b48cbd3
Bug 1157476 - Remove synchronous dispatch in AndroidMediaResourceServer::Start. r=cajbir
2015-04-28 23:45:59 -07:00
Blake Wu
9bdc0e769f
Bug 1146729 - [FFOS] Enable MP4Reader for MSE and local playback. r=cpearce. r=jwwang
2015-04-23 20:40:32 +08:00
JW Wang
7938ab8772
Bug 1155533 - use blank-decoder on B2G when pref is on. r=edwin.
2015-04-20 11:24:47 +08:00
Naoki Hirata
7711915274
Backed out changeset 861b69f6f3b2 (bug 1146729) due to bug 1153831
2015-04-13 12:48:31 -07:00
Blake Wu
e1ed2c79cb
Bug 1146729 - [FFOS] Enable MP4Reader for MSE and local playback. r=cpearce.
2015-04-09 14:02:41 +08:00
Wes Kocher
3ea0c0d172
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
9c7bea64b7
Bug 1146729 - [FFOS] Enable MP4Reader for MSE and local playback. r=cpearce
2015-03-24 10:31:39 +08:00
Jim Porter
c799929bb3
Bug 1039639 - Add support for Flac on Firefox OS. r=cajbir
2014-12-02 16:37:00 -05:00
Jean-Yves Avenard
d249eccf5f
Bug 1134387: Prevent crash when decoder couldn't be created. r=edwin
2015-02-27 11:31:46 +11:00
Blake
c32880bd2b
Bug 1080484 - Support avi/divx, ts/m2ts, and mkv media formats. r=cajbir
2014-12-23 10:20:25 +08:00
Chris Pearce
8562ed2a55
Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv
2014-11-18 22:13:02 +13:00
Carsten "Tomcat" Book
6c841ba00c
Backed out changeset 7fa6291d952d (bug 1095257) for suspicion of causing jit tests
2014-11-18 13:14:36 +01:00