Commit Graph

11 Commits

Author SHA1 Message Date
Edwin Flores
19f0416295 Bug 948326 - Actually address review comments in bug 918135 r=cpearce 2013-12-16 17:47:50 +13:00
Edwin Flores
74bbe22522 Bug 918135 - Reduce MAX_SKIPPED_BYTES in MP3FrameParser r=cpearce
Now that we have stopped counting ID3 tags towards our count of non-MP3 data in
the MP3 frame parser, our threshold for claiming a stream is not MP3 can be far
lower than before.
2013-12-03 10:25:28 +13:00
Edwin Flores
4ed8c95e5e Bug 918135 - Parse VBR headers in MP3FrameParser for calculating exact duration r=cpearce
This patch adds support for Xing and VBRI headers to MP3FrameParser so that we
can calculate the exact duration of an MP3 file if these headers are present.
It is also now more robust against large ID3 tags and discontinuities in input.
2013-12-03 10:25:27 +13:00
Sotaro Ikeda
d9445e9be6 Bug 922334 - Add zero division check and prevent unncecessary mp3 parsing r=doublec 2013-10-03 10:53:21 +02:00
Ehsan Akhgari
250106025a Bug 919572 follow-up: remove two unused variables 2013-09-28 17:08:30 -04:00
Edwin Flores
9772d4c7cf Bug 919572 - Refactor the MP3 frame parser r=cpearce 2013-09-28 16:33:32 +12:00
Chris Pearce
cae0d13cb8 Bug 916836 - Handle jumps off the end of the buffer in MP3FrameParser. r=padenot 2013-09-19 16:10:43 +12:00
Edwin Flores
a0afa44085 Bug 914479 - Improve MP3FrameParser duration estimation r=padenot 2013-09-14 13:14:42 +12:00
Chris Pearce
83ca0489b5 Bug 910966 - Bustage fix for 48a66737dc5c. Forgot to qref. r=bustage. 2013-09-09 09:52:20 +12:00
Chris Pearce
9a6ec47677 Bug 910966 - Use MP3FrameParser in DirectShow's SourceFilter, to more accurately determine the offset of the first MP3 frame. This enables us to only pass the MP3 data into DirectShow, which can't handle large ID3v2 tags. r=padenot 2013-09-09 09:47:54 +12:00
Chris Pearce
cb69dfe1b0 Bug 910996 - Move MP3FrameParser out of B2G specific code, so it can be used on other platforms. r=padenot
--HG--
rename : content/media/omx/MP3FrameParser.cpp => content/media/MP3FrameParser.cpp
rename : content/media/omx/MP3FrameParser.h => content/media/MP3FrameParser.h
2013-09-09 09:47:29 +12:00