[Mplayer-cvslog] CVS: main/loader/dshow DS_VideoDecoder.c,1.13,1.14
Alex Beregszaszi
alex at mplayer.dev.hu
Tue Dec 11 15:48:46 CET 2001
Update of /cvsroot/mplayer/main/loader/dshow
In directory mplayer:/var/tmp.root/cvs-serv14915
Modified Files:
DS_VideoDecoder.c
Log Message:
do not fault if Filter_Create failed
Index: DS_VideoDecoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/dshow/DS_VideoDecoder.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- DS_VideoDecoder.c 10 Dec 2001 21:53:13 -0000 1.13
+++ DS_VideoDecoder.c 11 Dec 2001 14:48:42 -0000 1.14
@@ -143,6 +143,12 @@
this->m_pDS_Filter = DS_FilterCreate(dllname, guid, &this->m_sOurType, &this->m_sDestType);
+
+ if (!this->m_pDS_Filter)
+ {
+ printf("Failed to create DirectShow filter\n");
+ return 0;
+ }
if (!flip)
{
More information about the MPlayer-cvslog
mailing list