Commit Graph

11 Commits

Author SHA1 Message Date
Edwin Flores
d04aeec4bc Bug 948326 - Actually address review comments in bug 918135 r=cpearce 2013-12-16 17:47:50 +13:00
Edwin Flores
ad6b57b100 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
6510155080 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
0ff2ce37ce Bug 922334 - Add zero division check and prevent unncecessary mp3 parsing r=doublec 2013-10-03 10:53:21 +02:00
Ehsan Akhgari
95088a8476 Bug 919572 follow-up: remove two unused variables 2013-09-28 17:08:30 -04:00
Edwin Flores
f3bb4d41d8 Bug 919572 - Refactor the MP3 frame parser r=cpearce 2013-09-28 16:33:32 +12:00
Chris Pearce
ede5d5a39d Bug 916836 - Handle jumps off the end of the buffer in MP3FrameParser. r=padenot 2013-09-19 16:10:43 +12:00
Edwin Flores
6be9a829f9 Bug 914479 - Improve MP3FrameParser duration estimation r=padenot 2013-09-14 13:14:42 +12:00
Chris Pearce
91273541bb Bug 910966 - Bustage fix for 48a66737dc5c. Forgot to qref. r=bustage. 2013-09-09 09:52:20 +12:00
Chris Pearce
ddd2cfddd7 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
82fc0dde57 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