Commit Graph

129 Commits

Author SHA1 Message Date
Chris Double
cb749708f5 Backed out changeset 364777bc90b5 due to test failures 2009-02-09 15:51:16 +13:00
Chris Pearce
8d5bc5908a Bug 476731 - Media element should fire error event when src is a 404 - r=doublec sr=roc 2009-02-09 14:04:10 +13:00
Chris Double
0757196440 Bug 469923 - Support X-Content-Duration for improved duration retrieval for Ogg media - r+sr=roc 2009-02-07 23:10:34 +13:00
Jesse Ruderman
2e1fda752f Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744 2009-02-07 21:33:31 -08:00
Robert O'Callahan
c94a302481 Bug 455654. Rework the download-rate, playback-rate and related statistics so they're managed by the decoders in a thread-safe way. Implement proper HTML5 readyState handling with event firing, including 'canplay' and 'canplaythrough' events and autoplay behaviour. Also changes buffering so that we buffer when we're actually about to run out of data, instead of trying to guess when to buffer based on rate estimates. r=doublec 2009-02-05 21:02:21 +13:00
Robert O'Callahan
c752fcbe22 Backed out changeset ba595db2b681 2009-02-05 23:51:24 +13:00
Robert O'Callahan
3c26c1d1a0 Bug 455654. Rework the download-rate, playback-rate and related statistics so they're managed by the decoders in a thread-safe way. Implement proper HTML5 readyState handling with event firing, including 'canplay' and 'canplaythrough' events and autoplay behaviour. Also changes buffering so that we buffer when we're actually about to run out of data, instead of trying to guess when to buffer based on rate estimates. r=doublec 2009-02-05 21:02:21 +13:00
Chris Double
27dc9d2650 Bug 452698. Ensure that YUV to RGB conversion puts bytes in the right order for big-endian machines (PPC). r+sr=roc
--HG--
extra : rebase_source : 8939f59496da5548509ebd64a515947b071c204d
2009-01-30 20:30:37 +13:00
Matthew Gregan
e8b10c972d Bug 469698. Convert little-endian Wave data to native endinaness on big-endian machines (e.g. PPC). r+sr=roc
--HG--
extra : rebase_source : a791e7474167faed8bebfdfd9bf960fe6fb752df
2009-01-30 20:27:43 +13:00
Robert O'Callahan
6710c49b25 Bug 466410. Make sure videoWidth and videoHeight are posted to the element before metadataloaded fires. r=doublec 2009-01-28 22:33:37 +13:00
Chris Double
625058e17b Bug 475369. Fix regression from bug 451958 in passing mSeeking and mOffset to nsChannelToPipeListener. r+sr=roc 2009-01-28 22:27:09 +13:00
Chris Double
85e6295f63 Bug 451958 - Disable tests that fail randomly on Windows - r=roc 2009-01-27 15:33:03 +13:00
Chris Pearce
241aa1c5b2 Bug 451958. Add more CheckLoadURIs (part 4). r+sr=roc
--HG--
extra : rebase_source : de1defd553b7f14cd5a5c1f04ccd0821b4422e4d
2009-01-25 21:08:06 +13:00
Chris Pearce
389d3c06a1 Bug 451958. Add more CheckLoadURIs (part 3). r+sr=roc
--HG--
extra : rebase_source : e4fbaea74fa01592896982d4c3862fa8a0ad86dd
2009-01-25 21:07:54 +13:00
Chris Pearce
0c4bfb13af Bug 451958. Add more CheckLoadURIs (part 2). r+sr=roc
--HG--
extra : rebase_source : 09323fc6904d59a7b747187293c5850351401580
2009-01-25 21:07:43 +13:00
Chris Pearce
3b0b1c6e28 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : 4a180379a401040f16c4fce80ef116da139ba2cb
2009-01-25 00:00:17 +13:00
Daniel Holbert
31c18a6827 Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst 2009-01-23 01:02:09 -08:00
Robert O'Callahan
876f275609 Backed out changeset a87563d6594e
--HG--
extra : rebase_source : e4687a80f8e88f7f0e156a34ca95f96a1eaf85f6
2009-01-23 17:39:45 +13:00
Chris Pearce
f816163290 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : ab0be3a0dc18e6accfb4059c5d0f3e252b890afc
2009-01-23 16:13:19 +13:00
Robert O'Callahan
66b0586b81 test_progress1.html still fails, sigh 2009-01-23 08:32:08 +13:00
Ted Mielczarek
961ec917de bug 474754 - sporadic test failures in test_wav_trunc.html. disable this test for now 2009-01-22 10:08:36 -05:00
Robert O'Callahan
6041ff18b9 Reenable test_progress1 to see if it passes now 2009-01-22 22:36:03 +13:00
Robert O'Callahan
4b882b6a59 Bug 474393. Fix bytes-downloaded count. r=doublec 2009-01-22 22:35:27 +13:00
Daniel Holbert
2fc6f19341 Backed out changeset e6566d187edd (bug 466410) on suspicion of causing linux reftest failures in 'ogg-video/basic-1.html' and 'ogg-video/zoomed-1.html' 2009-01-21 22:36:22 -08:00
Robert O'Callahan
1ff5269fcc Bug 466410. Ensure that videoWidth and videoHeight are valid when metadataloaded fires on Ogg videos. r=doublec
--HG--
extra : rebase_source : 9e2a9c286a97ad9ba376a68d53a901af6b8ed312
2009-01-22 13:52:06 +13:00
Chris Double
c8da86bd29 Bug 460738 - Suspend media downloads when in bfcache - r=kinetik sr=roc 2009-01-22 12:54:40 +13:00
Robert O'Callahan
8a01e6f96e Add missing tests for bug 463830 2009-01-17 22:26:55 +13:00
Chris Pearce
dd26dee475 Bug 463830. Use the video file name as the window title for standalone video objects, for now. r+sr=roc,r+sr=bzbarsky
--HG--
extra : rebase_source : b9ee2200c86a0c3fa06cdb163a39a183aa313380
2009-01-16 22:07:26 +13:00
Chris Pearce
dab0d6b3f3 Bug 469446. Necko should be able to cache byte-range requests when the start offset is zero. Then we can make our initial video load a byte-range request to detect whether the server supports byte-range requests, and the video data can still be cached. r=doublec,sr=roc,r=bzbarsky
--HG--
extra : rebase_source : acec408274be2b770b5f1936b4f915ef1bafa60b
2009-01-16 21:22:08 +13:00
Robert O'Callahan
b77d06a80b Bug 472878. Allow nsMediaDecoder::Invalidate to UpdateMediaSize on the element even if there is no frame for the element. r=doublec
--HG--
extra : rebase_source : dcafd327c98d1da7076f06c86b23eb7d5dd1edcb
2009-01-16 20:57:37 +13:00
Robert O'Callahan
82f8d8d1cb Disable randomly-failing progress-event test, properly 2009-01-16 15:24:52 +13:00
Robert O'Callahan
134102b6da Disable randomly-failing progress-event test 2009-01-16 15:15:21 +13:00
Chris Double
525b4dcecb Bug 464376 - Dispatch progress events while media resource is downloading - r+sr=roc 2009-01-16 09:26:51 +13:00
Matthew Gregan
a854c4ee45 Bug 471590. Update wave-decoder Pause to handle possible asynchyronous loading. r=doublec,sr=roc
--HG--
extra : rebase_source : 4146cd1a399875992e44769d752effc4f312841f
2009-01-08 21:44:38 +13:00
Chris Double
cdee3a861f Backed out changeset f155c8f39715 2009-01-07 16:33:42 +13:00
Chris Double
508543fa18 Bug 464376 - Fire audio/video progress events as per spec - r+sr=roc 2009-01-07 14:48:52 +13:00
Jesse Ruderman
22cd32241d Add five crashtests 2009-01-06 16:47:56 -08:00
Chris Pearce
d79cdb7eae Bug 472204. Define event handler scripts before the video/audio elements that reference them, to guard against situations where the video element loads before we've parsed the event handlers. r=roc 2009-01-06 14:18:40 +13:00
Robert O'Callahan
c149ac33a2 Backed out changeset a5587354082a 2009-01-05 16:33:01 +13:00
Chris Pearce
5f79974815 Bug 451958. Implement load policy for media elements. r+sr=roc
--HG--
extra : rebase_source : 6554a080e91e0cf61807dd29ca5103dd35531cd8
2009-01-05 13:50:33 +13:00
Robert O'Callahan
374cd3a20b Bug 449142. Scale video so that it fits in the content-box of the element and has the same aspect ratio as the video source. Also adds some Ogg video reftests. r=doublec,sr=dbaron 2008-12-29 21:20:27 +13:00
Robert O'Callahan
d7e2ae3261 Backed out changeset 1a4e7f55120d 2008-12-18 23:17:30 +13:00
Chris Double
fd9291b7fe Bug 464376. Fire progress events reliably and especially be sure to fire a final progress event when the resource finishes loading. r+sr=roc
--HG--
extra : rebase_source : 387866a3c9ad9f05e35e9876ebd1db1224237798
2008-12-18 20:56:32 +13:00
Robert O'Callahan
f4013df6e7 Backed out changeset 70b57b58afe2 2008-12-18 16:55:38 +13:00
Chris Double
9e493d5b6d Bug 464376. Fire progress events more consistently, especially being sure to fire a progress event at the end of a load. r+sr=roc 2008-12-18 14:48:44 +13:00
Robert O'Callahan
50bd83420a Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Matthew Gregan
c88fcaacd3 Bug 469595 - Changes to tests only: test_wav_seek* intermittent test failure - r=doublec 2008-12-16 17:58:33 +13:00
Matthew Gregan
fd9f596d87 Bug 464158 - nsHTMLMediaElement::PickMediaElement does not do media type switching - r=doublec sr=roc 2008-12-16 16:32:03 +13:00
Matthew Gregan
da8f3b4280 Bug 469628 - Playing 8-bit Wave files can block writing to the audio backend - r=doublec sr=roc 2008-12-16 12:37:42 +13:00
Matthew Gregan
32d671a197 Bug 466405 - Ogg and Wave specific mochitests should be hidden by appropriate build-time conditional - r=ted.mielczarek 2008-12-16 12:31:51 +13:00