From: Steinar H. Gunderson Date: Sat, 2 Oct 2010 00:00:38 +0000 (+0200) Subject: Move a function to the class definition. X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=c0d45e61e502ecdddcc22fbd48cb507bf86684ca Move a function to the class definition. --- diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp index 1afee5450c..690d39af09 100644 --- a/modules/access/decklink.cpp +++ b/modules/access/decklink.cpp @@ -159,7 +159,12 @@ public: return new_ref; } - virtual HRESULT STDMETHODCALLTYPE VideoInputFormatChanged(BMDVideoInputFormatChangedEvents, IDeckLinkDisplayMode*, BMDDetectedVideoInputFormatFlags); + virtual HRESULT STDMETHODCALLTYPE VideoInputFormatChanged(BMDVideoInputFormatChangedEvents, IDeckLinkDisplayMode*, BMDDetectedVideoInputFormatFlags) + { + msg_Dbg( p_demux_, "Video input format changed" ); + return S_OK; + } + virtual HRESULT STDMETHODCALLTYPE VideoInputFrameArrived(IDeckLinkVideoInputFrame*, IDeckLinkAudioInputPacket*); private: @@ -167,12 +172,6 @@ private: demux_t *p_demux_; }; -HRESULT DeckLinkCaptureDelegate::VideoInputFormatChanged(BMDVideoInputFormatChangedEvents events, IDeckLinkDisplayMode *mode, BMDDetectedVideoInputFormatFlags) -{ - msg_Dbg( p_demux_, "Video input format changed" ); - return S_OK; -} - HRESULT DeckLinkCaptureDelegate::VideoInputFrameArrived(IDeckLinkVideoInputFrame* videoFrame, IDeckLinkAudioInputPacket* audioFrame) { demux_sys_t *p_sys = p_demux_->p_sys;