mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1061252 - Fix more bad implicit constructors in media code; r=roc
This commit is contained in:
parent
178da73c35
commit
42db02677e
@ -40,7 +40,7 @@ GstMozVideoBufferData* gst_moz_video_buffer_get_data(const GstMozVideoBuffer* bu
|
||||
|
||||
class GstMozVideoBufferData {
|
||||
public:
|
||||
GstMozVideoBufferData(layers::PlanarYCbCrImage* aImage) : mImage(aImage) {}
|
||||
explicit GstMozVideoBufferData(layers::PlanarYCbCrImage* aImage) : mImage(aImage) {}
|
||||
|
||||
static void* Copy(void* aData) {
|
||||
return new GstMozVideoBufferData(reinterpret_cast<GstMozVideoBufferData*>(aData)->mImage);
|
||||
|
@ -38,7 +38,7 @@ class GStreamerReader : public MediaDecoderReader
|
||||
typedef gfx::IntRect IntRect;
|
||||
|
||||
public:
|
||||
GStreamerReader(AbstractMediaDecoder* aDecoder);
|
||||
explicit GStreamerReader(AbstractMediaDecoder* aDecoder);
|
||||
virtual ~GStreamerReader();
|
||||
|
||||
virtual nsresult Init(MediaDecoderReader* aCloneDonor);
|
||||
|
Loading…
Reference in New Issue
Block a user