mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1404992 - Initialize primitive VP8TrackEncoder members in declarations. r=dminor
--HG-- extra : rebase_source : c121870ba14181687c5492d42fb748dcb666065f extra : source : 5cdee8077cab849ffe6e9dbf6f6498d6d20c6817
This commit is contained in:
parent
16fdd518b3
commit
15606e2807
@ -37,8 +37,6 @@ using namespace mozilla::dom;
|
||||
VP8TrackEncoder::VP8TrackEncoder(TrackRate aTrackRate,
|
||||
FrameDroppingMode aFrameDroppingMode)
|
||||
: VideoTrackEncoder(aTrackRate, aFrameDroppingMode)
|
||||
, mEncodedTimestamp(0)
|
||||
, mDurationSinceLastKeyframe(0)
|
||||
, mVPXContext(new vpx_codec_ctx_t())
|
||||
, mVPXImageWrapper(new vpx_image_t())
|
||||
{
|
||||
|
@ -65,7 +65,7 @@ private:
|
||||
int32_t aDisplayHeight, vpx_codec_enc_cfg_t& config);
|
||||
|
||||
// Encoded timestamp.
|
||||
StreamTime mEncodedTimestamp;
|
||||
StreamTime mEncodedTimestamp = 0;
|
||||
|
||||
// Total duration in mTrackRate extracted by GetEncodedPartitions().
|
||||
CheckedInt64 mExtractedDuration;
|
||||
@ -83,7 +83,7 @@ private:
|
||||
/**
|
||||
* A duration of non-key frames in milliseconds.
|
||||
*/
|
||||
StreamTime mDurationSinceLastKeyframe;
|
||||
StreamTime mDurationSinceLastKeyframe = 0;
|
||||
|
||||
/**
|
||||
* A local segment queue which takes the raw data out from mRawSegment in the
|
||||
|
Loading…
Reference in New Issue
Block a user