Some days ago,i download the source code of media
player classic.Then i compiled it.
I want to modify a problem: when the other application
is opening the file(maybe rm or avi) and writing,media
player classic cannot read it, and i display "Failed
to render the file".
My target: media player classic can read it when this
file is writed.
So i trace the code and found the error "Failed to
render the file" is created by
It contains the code:
if(FAILED(hr = m_pGB->AddSourceFilter(fnw, fnw, &pBF)))
I found that the code "m_pGB->AddSourceFilter(fnw,
fnw, &pBF)" would open the file and do other something
and it return the error "Failed to render the file".
I cannot trace this code ,because it use other COM.
I want to know : m_pGB->AddSourceFilter(fnw, fnw,
&pBF) how to open the file. Can i modify the code?
What can i do if i want to achieve my goal!
Log in to post a comment.