Commit Graph

14 Commits

Author SHA1 Message Date
Alastor Wu
b25ce830dd Bug 1403832 - part2 : reuse ErrorName() in MediaResult::Description(). r=jya
MozReview-Commit-ID: AN6v18RwlAw

--HG--
extra : rebase_source : 4d8e7370a166441005b5e9d7d632e526be666b10
2017-09-29 00:37:50 +08:00
Alastor Wu
e22a7e735d Bug 1402206 - print error name for MediaFormatReader::OnSeekFailed(). r=jya
Print error code couldn't effectively help people understand the reason of error, we should print its name.

MozReview-Commit-ID: KaBTi8zpq91

--HG--
extra : rebase_source : 64eebd9af18fcb5062ff347464045bb9327fb716
2017-09-22 16:23:08 +08:00
Alastor Wu
686b38b20a Bug 1397141 - part5 : update error description from GPU process. r=jya,mattwoodrow
MozReview-Commit-ID: 9aKyYftBnUo

--HG--
extra : rebase_source : a497e12d98e3a2b0e0ec2afa60298cacbe1a5ea9
2017-09-13 15:37:24 +08:00
Sebastian Hengst
7d84900829 Backed out changeset 6dade48b3326 (bug 1397141) 2017-09-13 09:25:39 +02:00
Alastor Wu
45f6a63ccf Bug 1397141 - part5 : update error description from GPU process. r=jya,mattwoodrow
MozReview-Commit-ID: CuBZOtjh4g2

--HG--
extra : rebase_source : 82c68ea3fe54b148b0cf98fe37d954efd4acbcbe
2017-09-13 15:05:59 +08:00
Kaku Kuo
15e39cee1b Bug 1393399 P2 - keep the GPU process crash time and send back to MFR; r=gerald
We keep the GPU crash time and send back to MFR through MediaResult.

We cannot save the information in VideoDecoderChild as a static member because we are going to read it in MFR's task queue and the data was written in VideoDecoderManager's thread. This is going to be racing.

MozReview-Commit-ID: FXqOgelWY6e

--HG--
extra : rebase_source : 5c0561e009ad16983e1ff910216f9cf7901b5542
2017-08-31 17:21:28 +08:00
Gerald Squelart
c76a0fb731 Bug 1341452 - Write nsresult name in MediaResult::Description() - r=jya
Also only show the separator between code and message if there actually is a
message.

MozReview-Commit-ID: 6Cb4YnFi2fT

--HG--
extra : rebase_source : 98183484972fa1c910f0e5e7fe4d46c763e97eb8
2017-02-21 16:30:44 +11:00
Gerald Squelart
dbb8cb16a7 Bug 1341452 - Use MSC's __FUNCSIG__ or gcc/clang's __PRETTY_FUNCTION__ in MediaResult's RESULT_DETAIL - r=jya
Since these are used in diagnostic messages intended for developers, more
detailed information should help with distinguishing some issues. E.g.:
Before: "Init"
After: "virtual RefPtr<MP4Demuxer::InitPromise> mozilla::MP4Demuxer::Init()"

MozReview-Commit-ID: TgNNn66Ilj

--HG--
extra : rebase_source : 572af3a82d046bb790c4b54e13bc45451229c9e0
2017-02-21 14:44:40 +11:00
Tom Tromey
d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Jean-Yves Avenard
c38cb38487 Bug 1303673: P1. Add RESULT_DETAIL convenience macro. r=cpearce
MozReview-Commit-ID: 12YaMnNsvNI

--HG--
extra : rebase_source : afb2d9f4c167c53d7515558d28d0fc74a0402c73
2016-09-20 15:50:31 +10:00
Jean-Yves Avenard
9b10344e7c Bug 1302632: P2. Only have Description return a non-empty string in case of error. r=jwwang
Will simplify the code in the following patch, not having to perform unnecessary test.

MozReview-Commit-ID: 5zUzSZgzrG9

--HG--
extra : rebase_source : c409a70d1aa5975b1a990a884856b3b5712bc190
2016-09-14 16:49:56 +10:00
Phil Ringnalda
cd6041148f Backed out 5 changesets (bug 1302632) for forthcoming failures
Backed out changeset f2ced742d6aa (bug 1302632)
Backed out changeset 55e7962d4fc0 (bug 1302632)
Backed out changeset b20f7c887e6c (bug 1302632)
Backed out changeset 22772e4a9c72 (bug 1302632)
Backed out changeset 7d7558864a66 (bug 1302632)
2016-09-15 21:39:00 -07:00
Jean-Yves Avenard
6f81b3394d Bug 1302632: P2. Only have Description return a non-empty string in case of error. r=jwwang
Will simplify the code in the following patch, not having to perform unnecessary test.

MozReview-Commit-ID: 5zUzSZgzrG9

--HG--
extra : rebase_source : dc11f757ece90a5fb00459de0938a9dfc63ca36a
2016-09-14 16:49:56 +10:00
Jean-Yves Avenard
ccf43e591a Bug 1299072: P3. Add MediaResult object. r=gerald
MozReview-Commit-ID: CNedjeEi6PE

--HG--
extra : rebase_source : 809450efef0f5e32cb80540881b1454545fe83b2
2016-09-10 01:23:31 +10:00