r15423 - trunk/libavdevice/vfwcap.c
Author: bcoudurier Date: Fri Sep 26 05:20:35 2008 New Revision: 15423 Log: sync to latest mingw api, remove no more needed struct definitions Modified: trunk/libavdevice/vfwcap.c Modified: trunk/libavdevice/vfwcap.c ============================================================================== --- trunk/libavdevice/vfwcap.c (original) +++ trunk/libavdevice/vfwcap.c Fri Sep 26 05:20:35 2008 @@ -43,42 +43,6 @@ #define BI_RGB 0 -typedef struct videohdr_tag { - LPBYTE lpData; - DWORD dwBufferLength; - DWORD dwBytesUsed; - DWORD dwTimeCaptured; - DWORD dwUser; - DWORD dwFlags; - DWORD_PTR dwReserved[4]; -} VIDEOHDR, NEAR *PVIDEOHDR, FAR * LPVIDEOHDR; - -typedef struct { - DWORD dwRequestMicroSecPerFrame; - BOOL fMakeUserHitOKToCapture; - UINT wPercentDropForError; - BOOL fYield; - DWORD dwIndexSize; - UINT wChunkGranularity; - BOOL fUsingDOSMemory; - UINT wNumVideoRequested; - BOOL fCaptureAudio; - UINT wNumAudioRequested; - UINT vKeyAbort; - BOOL fAbortLeftMouse; - BOOL fAbortRightMouse; - BOOL fLimitEnabled; - UINT wTimeLimit; - BOOL fMCIControl; - BOOL fStepMCIDevice; - DWORD dwMCIStartTime; - DWORD dwMCIStopTime; - BOOL fStepCaptureAt2x; - UINT wStepCaptureAverageFrames; - DWORD dwAudioBufferSize; - BOOL fDisableWriteCache; - UINT AVStreamMaster; -} CAPTUREPARMS; /* End of missing MinGW defines */ struct vfw_ctx {
On Fri, Sep 26, 2008 at 05:20:35AM +0200, bcoudurier wrote:
Log: sync to latest mingw api, remove no more needed struct definitions
Since this is a recurring mistake of yours: You cannot say "no more needed". Correct would be "no longer needed" or "unneeded". Diego
bcoudurier wrote:
Author: bcoudurier Date: Fri Sep 26 05:20:35 2008 New Revision: 15423
Log: sync to latest mingw api, remove no more needed struct definitions
Modified: trunk/libavdevice/vfwcap.c
Modified: trunk/libavdevice/vfwcap.c ============================================================================== --- trunk/libavdevice/vfwcap.c (original) +++ trunk/libavdevice/vfwcap.c Fri Sep 26 05:20:35 2008 @@ -43,42 +43,6 @@
#define BI_RGB 0
-typedef struct videohdr_tag { - LPBYTE lpData; - DWORD dwBufferLength; - DWORD dwBytesUsed; - DWORD dwTimeCaptured; - DWORD dwUser; - DWORD dwFlags; - DWORD_PTR dwReserved[4]; -} VIDEOHDR, NEAR *PVIDEOHDR, FAR * LPVIDEOHDR; - -typedef struct { - DWORD dwRequestMicroSecPerFrame; - BOOL fMakeUserHitOKToCapture; - UINT wPercentDropForError; - BOOL fYield; - DWORD dwIndexSize; - UINT wChunkGranularity; - BOOL fUsingDOSMemory; - UINT wNumVideoRequested; - BOOL fCaptureAudio; - UINT wNumAudioRequested; - UINT vKeyAbort; - BOOL fAbortLeftMouse; - BOOL fAbortRightMouse; - BOOL fLimitEnabled; - UINT wTimeLimit; - BOOL fMCIControl; - BOOL fStepMCIDevice; - DWORD dwMCIStartTime; - DWORD dwMCIStopTime; - BOOL fStepCaptureAt2x; - UINT wStepCaptureAverageFrames; - DWORD dwAudioBufferSize; - BOOL fDisableWriteCache; - UINT AVStreamMaster; -} CAPTUREPARMS; /* End of missing MinGW defines */
struct vfw_ctx {
This needs a check in configure to disable vfwcap if CAPTUREPARMS or some such is not found. Ramiro Polla
participants (3)
-
diego@biurrun.de -
ramiro@lisha.ufsc.br -
subversion@mplayerhq.hu