Commit Graph

2746 Commits

Author SHA1 Message Date
Matthew Gregan
1a7591bf44 Bug 1131340 - Avoid template aliasing since GCC 4.6 lacks support. r=cpearce 2015-02-10 14:27:36 +13:00
Nicholas Nethercote
ee41df7dc2 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Paul Adenot
3830f5aad3 Bug 1127213 - Fix various issues with the device change notification in the WASAPI cubeb backend. r=kinetik
This patch does the following:
- Introduces an owned_critical_section object to be able to assert that a
  current thread owns a critical section
- Change the auto_lock to use the above, add auto_unlock (basically like the
  Gecko AutoEnter/AutoExit things)
- Fix an issue during audio output device switch where the clock would use the
  old sample rate. Apparently I did not notice this because my headset and the
  sound card on this laptop have the same rate
- Check that we could acquire a device_enumerator in the ctor before
  deallocating in the dtor, as that can happen if a ton of streams are running at
  once (I had this issue running the full mochitest suite)
- Stop getting another device_enumator in unregister_notification_client, fixing a leak
- Assert that setup_wasapi_stream and close_wasapi_stream are called with the lock held, this was the cause of the crash for this bug
- Make close_wasapi_stream clear out its state to make sure setup_wasapi_stream
  and close_wasapi_stream are called in the right order (especially, not two
  setup_wasapi_stream without close in between, since that would leak stuff)
- In wasapi_stream_destroy, unregister the notification client before destroying
  the CRITICAL_SECTION (this was the cause of a crash I duped against this bug)
2015-02-09 14:42:43 +01:00
Carsten "Tomcat" Book
8da798492b Backed out changeset 2f46afa97421 (bug 1127213) for another bustage on a CLOSED TREE 2015-02-09 16:51:14 +01:00
Paul Adenot
3800ae52f4 Bug 1123768 - Backout bug 1108455 to avoid truncating the end of audio streams on Vista+. r=kinetik 2015-02-09 14:43:03 +01:00
Paul Adenot
c566e5e21b Bug 1127213 - Fix various issues with the device change notification in the WASAPI cubeb backend. r=kinetik
This patch does the following:
- Introduces an owned_critical_section object to be able to assert that a
  current thread owns a critical section
- Change the auto_lock to use the above, add auto_unlock (basically like the
  Gecko AutoEnter/AutoExit things)
- Fix an issue during audio output device switch where the clock would use the
  old sample rate. Apparently I did not notice this because my headset and the
  sound card on this laptop have the same rate
- Check that we could acquire a device_enumerator in the ctor before
  deallocating in the dtor, as that can happen if a ton of streams are running at
  once (I had this issue running the full mochitest suite)
- Stop getting another device_enumator in unregister_notification_client, fixing a leak
- Assert that setup_wasapi_stream and close_wasapi_stream are called with the lock held, this was the cause of the crash for this bug
- Make close_wasapi_stream clear out its state to make sure setup_wasapi_stream
  and close_wasapi_stream are called in the right order (especially, not two
  setup_wasapi_stream without close in between, since that would leak stuff)
- In wasapi_stream_destroy, unregister the notification client before destroying
  the CRITICAL_SECTION (this was the cause of a crash I duped against this bug)
2015-02-09 14:42:43 +01:00
Jean-Yves Avenard
fb71392d00 Bug 1129732: Part1. Dynamically adjust calculations using timestampoffset. r=mattwoodrow
Timestamp Offset calculations are now done exclusively by the Media Source
components which allow to recalculate them on the fly. By abstracting those
offsets it remove the need for the sub-decoders to handle them (which allows
to add WebM support).
2015-02-09 23:28:59 +11:00
Jean-Yves Avenard
bb2f19d2f6 Bug 1129071: Add log error should we run out of memory. r=k17e 2015-02-09 23:28:58 +11:00
Andreas Pehrson
a194bc9f62 Bug 1130290 - Remove PeerConnectionImpl::CreateFakeMediaStream. r=jesup 2015-02-05 23:56:00 +01:00
Andrew McCreight
1ee96e7527 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
0a02b5d31c Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Gian-Carlo Pascutto
f2529ddaab Bug 1129921 - Account for stopCapture possibly being called twice. r=jesup 2015-02-05 18:24:02 +01:00
Gian-Carlo Pascutto
25d94694e9 Bug 1129858 - Get the local preview surface (line dropped during merge). r=jesup 2015-02-05 18:24:02 +01:00
Gian-Carlo Pascutto
a466801c61 Bug 1129365 - Don't assume setPictureSize supports the same sizes as setPreviewSize. r=jesup 2015-02-05 18:24:02 +01:00
Birunthan Mohanathas
37ea92b9bf Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo 2015-02-03 18:52:28 +02:00
Edwin Flores
74b014c740 Bug 1075199 - Output a different clearkey.info depending on platform - r=cpearce,gps 2015-02-03 16:59:39 +13:00
Edwin Flores
6c5ab44557 Bug 1075199 - More logging in ClearKey CDM - r=cpearce 2015-01-27 18:35:36 +13:00
Edwin Flores
fbd5c844dc Bug 1075199 - WMF decoding in ClearKey CDM - r=cpearce 2015-01-16 10:37:54 +13:00
Edwin Flores
0ea4a6dbbb Bug 1075199 - Import WMF decoding code from cpearce's gmp-clearkey implementation - r=cpearce 2015-01-16 10:37:54 +13:00
Jean-Yves Avenard
809ddfa8b9 Bug 1128410: Part2. Make memory allocation dynamic. r=kentuckyfriedtakahe
Allocations are fallibles.
2015-02-02 21:36:51 +11:00
Jean-Yves Avenard
3c65632f4c Bug 1128410: Lazily allocate the MP4 parser buffer. r=kentuckyfriedtakahe
This buffer is unsused for fragmented MP4. So we don't need to unecessarily
allocate it and block a chunk of 3MB data. Also, this removes the restriction
of playing YouTube video > 1080p
2015-02-02 21:36:48 +11:00
Nils Ohlmeier [:drno]
2806379310 Bug 1120065 - unit test for TURN deallocation. r=bwc 2015-01-30 12:36:00 +01:00
Nils Ohlmeier [:drno]
787cb49674 Bug 1120065 - release TURN resources on PC release. r=bwc 2015-01-27 01:18:00 +01:00
Nils Ohlmeier [:drno]
712c121e15 Bug 1120065 - removed dead function nr_ice_candidate_destroy_cb. r=bwc 2015-01-23 13:47:00 +01:00
Mike Hommey
50e6916b40 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
JW Wang
0c9543d8d7 Bug 1083658 - add "output-downscaled" to GMP. r=cpearce. 2015-02-01 09:18:39 +08:00
JW Wang
1fafe74708 Bug 1121332. Part 1 - add media key status to gmp-api. r=cpearce. 2015-01-31 13:22:12 +13:00
Edwin Flores
7864dd0bfa Bug 1127115 - Make MP4 parser assertion non-fatal - r=ajones 2015-01-30 16:54:12 +13:00
Paul Kerr [:pkerr]
644457e17d Bug 1099318: Fix for conduit receive then send creation order issue. Now insensitive to order. r=bwc" 2015-01-29 08:52:40 -08:00
Gian-Carlo Pascutto
aad30d486a Bug 1109248: Merge with webrtc.org update (android compile/merge fixes) r=jesup
ON A CLOSED TREE
2015-01-29 18:34:16 -05:00
Randell Jesup
439295ff1b Bug 1109248: remove unused media/webrtc/trunk/base directory (ancient) rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
645d066621 Bug 1109248: Include/etc fixes for B2G from webrtc.org update rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
fb72067ce3 Bug 1109248: webrtc.org update needs some floating point routines on Android rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
2333147169 Bug 1109248: Merge webrtc.org update with our OpenSLES changes rs=jesup 2015-01-29 18:33:36 -05:00
Gian-Carlo Pascutto
9ba529fb42 Bug 1109248: fixes for changes to webrtc Android camera fps handling r=jesup 2015-01-29 18:33:36 -05:00
Gian-Carlo Pascutto
974d6435e4 Bug 1109248: Revert removal of SetAndroidObjects calls in webrtc.org r=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
cf043c0ba4 Bug 1109248: Adapt GMP video decoder code to API changes in webrtc.org 40 r=ehugg 2015-01-29 18:33:36 -05:00
Randell Jesup
6754335535 Bug 1109248: basic adapation of new webrtc/base directory to build in mozilla rs=jesup 2015-01-29 18:33:36 -05:00
Landry Breuil
7edaac5678 Bug 1109248 - build fixes for OpenBSD r=jesup
- check for __GLIBC__ instead of __GLIBCXX__ to include <execinfo.h>
- check for WEBRTC_BSD instead of BSD to include <stdlib.h>
2015-01-29 18:33:36 -05:00
Randell Jesup
f004b532aa Bug 1109248: basic compile fixes for webrtc.org 40 update rs=jesup
Mostly #ifdefing Chrome-specific code and replacing WEBRTC_TRACE with LOG_F/etc
2015-01-29 18:33:36 -05:00
Randell Jesup
971df42891 Bug 1109248: gyp changes to adapt to webrtc.org 40 update r=ted 2015-01-29 18:33:36 -05:00
Randell Jesup
39fc4b91d6 Bug 1109248: revert removal of webrtc audio ExternalRecording interface rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
6b85bfac08 Bug 1109248: Revert webrtc upstream Issue 18399004 which removed APIs we're using rs=jesup
https://webrtc-codereview.appspot.com/18399004
2015-01-29 18:33:36 -05:00
Randell Jesup
d38e4b8d98 Bug 1109248: Rollup of changes previously applied to media/webrtc/trunk/webrtc rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
ab0973c6bc Bug 1109248: Webrtc updated to branch 40 7864; pull made Wed Dec 10 12:23:33 EST 2014 rs=jesup 2015-01-29 18:33:35 -05:00
Byron Campen [:bwc]
f5de114332 Bug 1095218 - Part 2: Multistream support. r=mt 2014-12-10 11:17:09 -08:00
Byron Campen [:bwc]
9eb5462cd8 Bug 1095218 - Part 1: msid support. r=mt 2014-12-01 21:19:57 -08:00
Wes Kocher
955764c7b5 Backed out changeset 774ff21aecb3 (bug 1120128) for build bustage 2015-01-27 17:48:43 -08:00
Matt Woodrow
dd32da83ab Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas 2015-01-26 13:34:28 +13:00
Byron Campen [:bwc]
30e41b06e1 Bug 1099414: Ensure that NrSocketIpc is destroyed on STS, for consistency. r=ekr 2014-12-23 16:22:02 -08:00