Niels Möller
0f405825c7
New class FakePeriodicVideoTrackSource, simplifying shutdown logic.
...
Previous code had a FakePeriodicVideoSource and a
VideoTrackSource, where the latter is reference counted and
outlives the former. That results in potential races when
RemoveSink is called on the VideoTrackSource after the
FakePeriodicVideoSource is destroyed, with a complicated sequence
to do correct shutdown.
The new class, FakePeriodicVideoTrackSource, owns a
FakePeriodicVideoSource, and they get the same lifetime.
Bug: webrtc:6353
Change-Id: Ic33b393e00a31fa28893dce2018948d3f90e0a9e
Reviewed-on: https://webrtc-review.googlesource.com/76961
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23320}
2018-05-21 10:27:55 +00:00
..
2018-05-21 10:27:55 +00:00
2018-01-30 09:48:29 +00:00
2017-11-28 21:29:18 +00:00
2018-05-21 10:27:55 +00:00
2018-03-29 02:45:17 +00:00
2018-03-29 02:45:17 +00:00
2018-03-29 02:45:17 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-05-14 06:57:38 +00:00
2018-05-17 07:23:01 +00:00
2018-03-30 18:41:19 +00:00
2018-03-30 18:41:19 +00:00
2018-05-18 17:07:16 +00:00
2017-10-30 18:08:29 +00:00
2018-01-30 09:48:29 +00:00
2017-10-30 18:08:29 +00:00
2018-02-13 10:47:24 +00:00
2018-05-18 17:07:16 +00:00
2018-04-20 21:08:53 +00:00
2018-04-20 21:08:53 +00:00
2018-04-14 00:57:11 +00:00
2018-03-06 13:23:11 +00:00
2018-03-06 13:23:11 +00:00
2018-03-07 22:06:20 +00:00
2017-12-12 09:27:07 +00:00
2017-11-09 11:56:32 +00:00
2017-12-22 00:17:53 +00:00
2018-02-01 21:17:41 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-04-17 01:04:12 +00:00
2018-04-17 01:04:12 +00:00
2018-04-17 01:04:12 +00:00
2017-11-21 17:53:37 +00:00
2018-01-22 17:32:58 +00:00
2018-05-08 06:16:05 +00:00
2018-05-02 19:51:17 +00:00
2018-04-14 00:57:11 +00:00
2018-03-02 20:44:48 +00:00
2018-03-02 20:44:48 +00:00
2018-04-02 16:17:45 +00:00
2018-02-03 19:28:58 +00:00
2018-05-03 11:49:42 +00:00
2018-05-03 11:49:42 +00:00
2018-01-20 00:50:53 +00:00
2018-05-03 11:49:42 +00:00
2018-05-21 10:27:55 +00:00
2018-05-14 13:24:29 +00:00
2018-04-14 00:57:11 +00:00
2018-05-07 20:51:28 +00:00
2018-05-03 11:49:42 +00:00
2018-05-09 00:24:05 +00:00
2018-05-09 00:24:05 +00:00
2018-04-13 11:29:28 +00:00
2018-05-03 11:49:42 +00:00
2018-05-18 17:07:16 +00:00
2018-05-18 17:07:16 +00:00
2018-05-14 13:24:29 +00:00
2018-02-24 00:44:06 +00:00
2018-03-06 21:22:51 +00:00
2018-03-06 21:22:51 +00:00
2017-09-15 12:51:00 +00:00
2018-01-18 19:01:38 +00:00
2018-01-18 19:01:38 +00:00
2017-11-09 11:56:32 +00:00
2017-12-20 00:21:52 +00:00
2018-04-26 19:35:24 +00:00
2018-05-08 13:22:53 +00:00
2018-04-02 18:45:27 +00:00
2018-04-02 18:45:27 +00:00
2018-03-12 10:54:09 +00:00
2018-03-19 15:32:16 +00:00
2018-03-12 10:54:09 +00:00
2018-01-27 02:20:29 +00:00
2018-01-27 02:20:29 +00:00
2018-05-03 10:41:41 +00:00
2018-03-14 20:30:52 +00:00
2018-02-17 00:01:39 +00:00
2018-05-18 17:40:16 +00:00
2018-05-15 15:51:02 +00:00
2018-05-18 17:40:16 +00:00
2018-05-03 10:41:41 +00:00
2018-02-21 19:15:09 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2017-11-09 11:56:32 +00:00
2017-12-07 19:08:47 +00:00
2017-12-20 00:21:52 +00:00
2017-12-22 00:17:53 +00:00
2018-02-01 21:17:41 +00:00
2018-03-07 22:06:20 +00:00
2018-03-07 22:06:20 +00:00
2018-03-07 22:06:20 +00:00
2018-03-20 18:37:49 +00:00
2018-03-20 18:37:49 +00:00
2018-03-20 18:37:49 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-03-02 20:44:48 +00:00
2018-03-06 13:38:11 +00:00
2018-02-24 00:44:06 +00:00
2018-03-14 20:30:52 +00:00
2018-02-17 00:01:39 +00:00
2018-02-17 00:01:39 +00:00
2018-02-17 00:01:39 +00:00
2018-02-23 00:13:45 +00:00
2018-02-23 00:13:45 +00:00
2018-02-07 14:25:08 +00:00
2017-11-21 17:53:37 +00:00
2018-02-08 09:03:58 +00:00
2017-10-30 18:08:29 +00:00
2018-05-14 06:57:38 +00:00
2018-04-16 19:27:08 +00:00
2018-04-16 19:27:08 +00:00
2018-02-01 21:17:41 +00:00
2018-02-13 10:47:24 +00:00
2018-01-24 17:24:29 +00:00