mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1028143 - Privatizing public destructor of MediaPipeline. r=jesup
This commit is contained in:
parent
c1c35560a8
commit
f453c4e828
@ -68,14 +68,6 @@ class PeerIdentity;
|
||||
// For a receiving conduit, "input" is RTP and "output" is RTCP.
|
||||
//
|
||||
|
||||
class MediaPipeline;
|
||||
|
||||
template<>
|
||||
struct HasDangerousPublicDestructor<MediaPipeline>
|
||||
{
|
||||
static const bool value = true;
|
||||
};
|
||||
|
||||
class MediaPipeline : public sigslot::has_slots<> {
|
||||
public:
|
||||
enum Direction { TRANSMIT, RECEIVE };
|
||||
@ -117,8 +109,6 @@ class MediaPipeline : public sigslot::has_slots<> {
|
||||
transport_ = new PipelineTransport(this);
|
||||
}
|
||||
|
||||
virtual ~MediaPipeline();
|
||||
|
||||
// Must be called on the STS thread. Must be called after ShutdownMedia_m().
|
||||
void ShutdownTransport_s();
|
||||
|
||||
@ -172,6 +162,7 @@ class MediaPipeline : public sigslot::has_slots<> {
|
||||
} RtpType;
|
||||
|
||||
protected:
|
||||
virtual ~MediaPipeline();
|
||||
virtual void DetachMediaStream() {}
|
||||
|
||||
// Separate class to allow ref counting
|
||||
|
Loading…
Reference in New Issue
Block a user