[FFmpeg-cvslog] r15423 - trunk/libavdevice/vfwcap.c

Ramiro Polla ramiro
Fri Sep 26 12:40:34 CEST 2008


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




More information about the ffmpeg-cvslog mailing list