Commit Graph

11 Commits

Author SHA1 Message Date
Edwin Flores
ceed8781fc Bug 948326 - Actually address review comments in bug 918135 r=cpearce 2013-12-16 17:47:50 +13:00
Edwin Flores
19c2ca3567 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
19d0bbb775 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
514fe61054 Bug 922334 - Add zero division check and prevent unncecessary mp3 parsing r=doublec 2013-10-03 10:53:21 +02:00
Ehsan Akhgari
a4450fabc5 Bug 919572 follow-up: remove two unused variables 2013-09-28 17:08:30 -04:00
Edwin Flores
b6fd8179c4 Bug 919572 - Refactor the MP3 frame parser r=cpearce 2013-09-28 16:33:32 +12:00
Chris Pearce
3efa9e91aa Bug 916836 - Handle jumps off the end of the buffer in MP3FrameParser. r=padenot 2013-09-19 16:10:43 +12:00
Edwin Flores
7c5d7c8b9f Bug 914479 - Improve MP3FrameParser duration estimation r=padenot 2013-09-14 13:14:42 +12:00
Chris Pearce
9f5e5260f4 Bug 910966 - Bustage fix for 48a66737dc5c. Forgot to qref. r=bustage. 2013-09-09 09:52:20 +12:00
Chris Pearce
128925efa5 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
9d0d08ac4e 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