| 558 | } |
| 559 | |
| 560 | virtual void EncodingComplete() { |
| 561 | shutting_down = true; |
| 562 | |
| 563 | // Release the reference to the external objects, because it is no longer safe to call them |
| 564 | host_ = nullptr; |
| 565 | callback_ = nullptr; |
| 566 | TearDownEncoder(); |
| 567 | |
| 568 | Release(); |
| 569 | } |
| 570 | |
| 571 | private: |
| 572 | virtual ~OpenH264VideoEncoder() { |
nothing calls this directly
no outgoing calls
no test coverage detected