[svn] / branches / dev-api-4 / xvidcore / vfw / src / driverproc.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/vfw/src/driverproc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1016, Tue May 13 12:48:20 2003 UTC revision 1017, Wed May 14 11:44:29 2003 UTC
# Line 30  Line 30 
30    
31  #include <windows.h>  #include <windows.h>
32  #include <vfw.h>  #include <vfw.h>
33    #include "vfwext.h"
34    
35  #include "debug.h"  #include "debug.h"
36  #include "codec.h"  #include "codec.h"
# Line 87  Line 88 
88                                  return 0;                                  return 0;
89                          }                          }
90    
91                codec->config.ci_valid = 0;
92                          codec->ehandle = codec->dhandle = NULL;                          codec->ehandle = codec->dhandle = NULL;
93                          codec->fbase = 25;                          codec->fbase = 25;
94                          codec->fincr = 1;                          codec->fincr = 1;
# Line 273  Line 275 
275          case ICM_DECOMPRESSEX:          case ICM_DECOMPRESSEX:
276                  return ICERR_UNSUPPORTED;                  return ICERR_UNSUPPORTED;
277    
278        /* VFWEXT entry point */
279        case ICM_USER+0x0fff :
280            if (lParam1 == VFWEXT_CONFIGURE_INFO) {
281                VFWEXT_CONFIGURE_INFO_T * info = (VFWEXT_CONFIGURE_INFO_T*)lParam2;
282                DPRINTF("%i %i %i %i %i %i",
283                    info->ciWidth, info->ciHeight,
284                    info->ciRate, info->ciScale,
285                    info->ciActiveFrame, info->ciFrameCount);
286    
287                codec->config.ci_valid = 1;
288                memcpy(&codec->config.ci, (void*)lParam2, sizeof(VFWEXT_CONFIGURE_INFO_T));
289                return ICERR_OK;
290            }
291            return ICERR_UNSUPPORTED;
292    
293          default:          default:
294                  return DefDriverProc(dwDriverId, hDriver, uMsg, lParam1, lParam2);                  return DefDriverProc(dwDriverId, hDriver, uMsg, lParam1, lParam2);
295          }          }

Legend:
Removed from v.1016  
changed lines
  Added in v.1017

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4