Bug 1184867: [vp9] P1. VPXDecoder pass DTS to VideoData::Create. r=jya
☠☠ backed out by 82b165aa3192 ☠ ☠
authorJan Gerber <j@mailb.org>
Tue, 28 Jul 2015 12:53:22 +0200
changeset 287084 a093b996bafab09dc51de4c1b2a6aa653d5972a8
parent 287083 734cc0057221997ac368ad99ec2ce32891892ea9
child 287085 4624de03e2e5906e382531554632a212b29908a7
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1184867
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1184867: [vp9] P1. VPXDecoder pass DTS to VideoData::Create. r=jya
dom/media/platforms/agnostic/VPXDecoder.cpp
--- a/dom/media/platforms/agnostic/VPXDecoder.cpp
+++ b/dom/media/platforms/agnostic/VPXDecoder.cpp
@@ -130,17 +130,17 @@ VPXDecoder::DoDecodeFrame(MediaRawData* 
     info.mDisplay = nsIntSize(mDisplayWidth, mDisplayHeight);
     nsRefPtr<VideoData> v = VideoData::Create(info,
                                               mImageContainer,
                                               aSample->mOffset,
                                               aSample->mTime,
                                               aSample->mDuration,
                                               b,
                                               aSample->mKeyframe,
-                                              -1,
+                                              aSample->mTimecode,
                                               picture);
 
     if (!v) {
       LOG("Image allocation error source %ldx%ld display %ldx%ld picture %ldx%ld",
           img->d_w, img->d_h, mDisplayWidth, mDisplayHeight,
           picture.width, picture.height);
       return -1;
     }