mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 01:08:21 +00:00
Bug 1064247: only look at h264_enabled pref if HW OMX H.264 is enabled r=jib
This commit is contained in:
parent
82f2e7e4bf
commit
894e29d461
@ -386,9 +386,11 @@ nsresult PeerConnectionCtx::Initialize() {
|
||||
//codecMask |= VCM_CODEC_RESOURCE_H263;
|
||||
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
#ifdef MOZ_WEBRTC_OMX
|
||||
if (Preferences::GetBool("media.peerconnection.video.h264_enabled")) {
|
||||
codecMask |= VCM_CODEC_RESOURCE_H264;
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
// Outside MOZILLA_INTERNAL_API ensures H.264 available in unit tests
|
||||
codecMask |= VCM_CODEC_RESOURCE_H264;
|
||||
|
Loading…
x
Reference in New Issue
Block a user