Switching cast sender to media::VideoFrame

Aligning cast with the media library by using the media::VideoFrame in lieu of a cast specific class. Should reduce a potential memcpy. 

Follow up cl's include:
1. Switching cast receiver to use VideoFrame.
2. Using the timedelta in VideoFRame instead of an additional variable.

Review URL: https://codereview.chromium.org/62703003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236375 0039d316-1c4b-4281-b951-d872f2087c98
Certificate Transparency TLS extension patch for NSS


BUG=309578

Review URL: https://codereview.chromium.org/64553002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236376 0039d316-1c4b-4281-b951-d872f2087c98
Add a shortcut in DecryptingDemuxerStream when the buffer is not encrypted.

When the buffer is not encrytped, DDS doesn't not need to call Decryptor::Decrypt(). It can return a buffer right away. This could help reduce the start-up time when DDS is used and the encrypted stream has a clear lead.

TBR=ddorwin@chromium.org
BUG=321420
TEST=Playing video with clear start that uses clearkeycdm to do decrypt-only. The preroll time dropped from about 105ms to 30ms.

Review URL: https://codereview.chromium.org/68203022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236377 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 236376
Dynamically FIFO when OSX requests unexpected frame counts.

Previously we would just return silence in this case.  However we
did not invoke the AudioSourceCallback which would leave clients
hanging.

Traces don't seem to indicate this is the cause of OSX audio
dropouts (the "AUHALStream::Render" traces are not even present
when the bug occurs).  However I'd like to remove all instances
where we're returning silence w/o triggering an error.

This change fixes an additional issue where we weren't calculating
the latency correctly.  Chrome expects the AudioBuffersState to be
calculated for all channels, while CoreAudio expects mBytesPerFrame
to be sizeof(Float32) for planar data.

BUG=160920
TEST=force buffer size increase/decrease, check playback is okay.

Review URL: https://codereview.chromium.org/70903002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236378 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 236378