mirror of https://github.com/mpv-player/mpv
do not fault if Filter_Create failed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3457 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f7527242b1
commit
26fc72a94e
|
@ -143,6 +143,12 @@ DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEAD
|
|||
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue