Commit Graph

84 Commits

Author SHA1 Message Date
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ryan VanderMeulen
74321b023c Backed out changesets bde36c2eacc0 and 8dc40bbe844e (bug 862088) for causing bug 875769. 2013-05-25 09:21:29 -04:00
Ralph Giles
4b7c55dbb9 Bug 862088 - Fix build by removing obsolete call. r=bustage.
I swear this compiled locally.
2013-05-23 16:33:16 +08:00
Ralph Giles
4846d91dca Bug 862088 - Add raw mp3 sniffing.
Attempt to sniff raw mp3 with no id3 tag by looking for a header
followed by a second header at the expected offset from the packet
length.

Adds mp3 sniffing with and without id3 tags to the mediasniffer
xpcshell tests. These files are copies of files in content/media/test
truncated to 512 bytes. Our method can require up to 1.5k of data,
but these have 208/209 byte packets so sniffing still works.

notags-bad.mp3 has a corrupt header, and verifies sniffing fails.

Attempt to sniff raw mp3 with no id3 tag by looking for a header
followed by a second header at the expected offset from the packet
length.

Adds mp3 sniffing with and without id3 tags to the mediasniffer
xpcshell tests. These files are copies of files in content/media/test
truncated to 512 bytes. Our method can require up to 1.5k of data,
but these have 208/209 byte packets so sniffing still works.

notags-bad.mp3 has a corrupt header, and verifies sniffing fails.
2013-05-23 01:07:00 +08:00
Gregory Szorc
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Joey Armstrong
26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Marco Chen
69906d5894 Bug 859711 - [A/V] Add mp4 sniffer to recognizing isom/iso2 comptiable_brand. r=padenot 2013-05-07 10:17:34 +08:00
Joey Armstrong
321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
2f9c3f619e Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Honza Bambas
09a694848f Bug 843376 - nsMediaSniffer.cpp(13) : fatal error C1083: Cannot open include file: 'nestegg/nestegg.h', r=padenot 2013-02-21 14:27:00 +01:00
Paul Adenot
685963d17c Bug 835381 - Unit tests for the MediaSniffer to make sure Matroska files are not sniffed as WebM. r=kinetik 2013-02-13 19:04:00 +01:00
Paul Adenot
dfd0be7d58 Bug 835381 - Use the new libnestegg API to sniff for WebM. r=kinetik 2013-02-12 22:15:55 +01:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Saurabh Anand
6de7befa37 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Ehsan Akhgari
e55fd9da0a Bug 813433 - Make nsMediaSniffer accept null request arguments; r=bzbarsky
This patch will make the content sniffer useful to sniff the mimetype of
in-memory media buffers.
2012-11-20 00:01:30 -05:00
Paul Adenot
413efab32e Bug 790524 - Avoid overwriting the content-type by application/octet-stream in the sniffing logic. r=bz 2012-11-16 11:20:58 -08:00
Daniel Holbert
530b9fbdef Bug 793498: Annotate nsMediaSniffer as MOZ_FINAL. r=padenot 2012-09-23 13:12:21 -07:00
Paul Adenot
8ac3fd19fd Bug 790132 - Add a test to make sure media sniffing occurs only when we want. r=bz 2012-09-12 13:04:01 -07:00
Paul Adenot
7683743c75 Bug 789741 - Fix a crash in nsMediaSniffer::GetMIMETypeFromContent. r=bz 2012-09-10 09:57:17 -04:00
Paul Adenot
a84db6e368 Bug 789077 - Sniff for a media only if the Content-Type is unknown or octet-stream. r=bz 2012-09-07 16:18:59 -07:00
Paul Adenot
7ab1a757ed Bug 789077 - Remove sniffing for mp3 without ID3 because of false positives. r=cpearce 2012-09-07 16:14:05 -07:00
Ehsan Akhgari
4a8bc9fd25 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Paul Adenot
28e7684705 Bug 567077 - Remove the classinfo stubs. r=peterv 2012-09-05 12:26:20 -07:00
Paul Adenot
5d61981f79 Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce 2012-09-04 16:22:34 -07:00
Ryan VanderMeulen
12c1c8ace2 Backout bug 567077 for bustage. 2012-09-05 18:36:38 -04:00
Paul Adenot
a14ca7cbb4 Bug 567077 - Remove the classinfo stubs. r=peterv 2012-09-05 12:26:20 -07:00
Paul Adenot
0836baba74 Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce 2012-09-04 16:22:34 -07:00
Ed Morley
2c3082317d Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141 2012-08-08 13:11:34 +01:00
Paul Adenot
a769fb1ee2 Bug 567077 - Sniff types of media files that are served with no Content-Type r=cpearce 2012-08-07 15:54:30 -07:00