[Mplayer-cvslog] CVS: main/loader/DirectShow DS_VideoDec.cpp,1.12,1.13
Arpi of Ize
arpi at mplayer.dev.hu
Thu Aug 16 20:45:04 CEST 2001
Update of /cvsroot/mplayer/main/loader/DirectShow
In directory mplayer:/var/tmp.root/cvs-serv3288
Modified Files:
DS_VideoDec.cpp
Log Message:
exception stuff fixed
Index: DS_VideoDec.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/loader/DirectShow/DS_VideoDec.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- DS_VideoDec.cpp 16 Aug 2001 18:39:49 -0000 1.12
+++ DS_VideoDec.cpp 16 Aug 2001 18:45:01 -0000 1.13
@@ -34,17 +34,16 @@
ci.dll=dllname;
ci.guid=*guid;
-// try {
+ try {
DS_VideoDecoder* dec=new DS_VideoDecoder(ci, *format, flip);
-// } catch (FatalError &e) {
-// _handle=NULL;
-// return -1;
-// }
-
- _d_ptr=d_ptr;
- _handle=(void*)dec;
+ _d_ptr=d_ptr;
+ _handle=(void*)dec;
+ return 0;
+ } catch (FatalError &e) { }
+
+ _handle=NULL;
+ return -1;
- return 0;
}
extern "C" void DS_VideoDecoder_Start(){
More information about the MPlayer-cvslog
mailing list