[Mplayer-cvslog] CVS: main/loader/DirectShow DS_Filter.cpp,1.1.1.1,1.2

GEREOFFY arpi_esp at users.sourceforge.net
Thu Mar 29 14:38:54 CEST 2001


Update of /cvsroot/mplayer/main/loader/DirectShow
In directory usw-pr-cvs1:/tmp/cvs-serv20802

Modified Files:
	DS_Filter.cpp 
Log Message:
Setup_FS fix for directshow

Index: DS_Filter.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/loader/DirectShow/DS_Filter.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** DS_Filter.cpp	2001/03/20 00:05:37	1.1.1.1
--- DS_Filter.cpp	2001/03/29 12:38:51	1.2
***************
*** 16,19 ****
--- 16,22 ----
  extern "C" int STDCALL FreeLibrary(int);
  
+ extern "C" void Setup_LDT_Keeper();
+ extern "C" void setup_FS_Segment();
+ 
  DS_Filter::DS_Filter()
      :m_iHandle(0), m_pFilter(0), m_pInputPin(0),
***************
*** 26,29 ****
--- 29,35 ----
  void DS_Filter::Create(string dllname, const GUID* id, AM_MEDIA_TYPE* in_fmt, AM_MEDIA_TYPE* out_fmt)
  {
+ 
+     Setup_LDT_Keeper();
+ 
      try
      {
***************
*** 43,49 ****
  	if(result || (!factory)) throw FATAL("No such class object");;
          
!             printf("# factory = %X\n",(unsigned int)factory);
!             printf("# factory->vt = %X\n",(unsigned int)factory->vt);
!             printf("# factory->vt->CreateInstance = %X\n",(unsigned int)factory->vt->CreateInstance);
  
              printf("Calling factory->vt->CreateInstance()\n");
--- 49,57 ----
  	if(result || (!factory)) throw FATAL("No such class object");;
          
! //            printf("# factory = %X\n",(unsigned int)factory);
! //            printf("# factory->vt = %X\n",(unsigned int)factory->vt);
! //            printf("# factory->vt->CreateInstance = %X\n",(unsigned int)factory->vt->CreateInstance);
! 
!              setup_FS_Segment();
  
              printf("Calling factory->vt->CreateInstance()\n");


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list