tkchin
5ed5ed953d
Fix VideoToolbox backgrounding issues.
...
When the iOS application is not in the foreground, the hardware encoder and
decoder become invalidated. There doesn't seem to be a way to query their state
so we don't know they're invalid until we get an error code after an
encode/decode request. To solve the issue, we just don't encode/decode when the
app is not active, and reinitialize the encoder/decoder when the app is active
again.
Also fixes a leak in the decoder.
BUG=webrtc:4081
Review URL: https://codereview.webrtc.org/1732953003
Cr-Commit-Position: refs/heads/master@{#11916}
2016-03-08 18:51:58 +00:00
..
2016-03-08 18:51:58 +00:00
2016-03-08 11:36:22 +00:00
2016-02-29 13:52:06 +00:00
2016-03-07 07:22:42 +00:00
2016-02-24 06:49:48 +00:00
2016-02-24 06:49:48 +00:00
2016-02-24 06:49:48 +00:00
2016-02-02 14:40:13 +00:00
2016-02-29 13:52:06 +00:00
2015-12-21 11:04:57 +00:00
2015-12-21 11:04:57 +00:00
2016-01-26 15:18:56 +00:00
2015-12-21 12:12:45 +00:00
2015-11-18 21:00:33 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2016-01-21 13:43:18 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2016-01-21 13:43:18 +00:00
2015-11-18 21:00:33 +00:00
2016-02-02 14:40:13 +00:00
2016-02-02 14:40:13 +00:00
2016-01-28 18:12:09 +00:00
2016-02-29 13:52:06 +00:00
2016-03-08 11:36:22 +00:00
2016-03-08 12:06:55 +00:00
2016-03-08 11:36:22 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2016-02-29 13:52:06 +00:00
2016-02-29 13:52:06 +00:00
2016-02-29 13:52:06 +00:00
2015-11-18 21:00:33 +00:00
2016-02-01 15:31:17 +00:00
2015-12-21 12:12:45 +00:00
2016-01-28 22:55:45 +00:00
2016-02-29 13:52:06 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2016-02-29 13:52:06 +00:00
2015-12-21 12:12:45 +00:00
2016-03-08 11:36:22 +00:00
2016-03-08 11:36:22 +00:00
2016-03-08 11:36:22 +00:00
2015-12-16 19:44:39 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2016-02-29 13:52:06 +00:00
2016-02-29 13:52:06 +00:00
2016-02-29 13:52:06 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 12:12:45 +00:00
2015-12-21 16:23:29 +00:00
2016-02-29 13:52:06 +00:00
2015-12-21 16:23:29 +00:00
2016-01-25 13:58:27 +00:00
2015-12-21 16:23:29 +00:00
2016-02-29 13:52:06 +00:00
2016-02-29 13:52:06 +00:00
2016-02-29 13:52:06 +00:00
2016-03-02 18:46:25 +00:00
2016-03-08 11:36:22 +00:00
2016-02-29 13:52:06 +00:00
2016-02-25 12:50:09 +00:00
2016-02-29 13:52:06 +00:00
2016-03-07 07:22:42 +00:00