Some problem facing when using Direct show for streaming media
-
Hi All, (Sorry for my poor english ;) ) I am currently writting a software using Direct Show to play both streaming and audio (e.g. MP3, WMA, etc.), which somehow like a Music player as WMP/Winamp. First, I wrote a stand-alone player (with MFC in dialog-based approach) and it works fine. :) Then, I intergrate this dialog to be as a child dialog and put it into my main application, problems come :(( My application contains a main dialog, with two child dialogs build on it, while one is the player mentioned above and the other is for playlist purpose which contain List control for managing song record. The player works fine as it is when playing audio files, but problem occur when playing streaming media. I tried to figure out what happen and find that the failure of playing streaming media ONLY occur after the playlist dialog is being created! it report that no filter can be found ... It sounds a mircale to me as there is nothing related to Direct Show for the playlist dialog (you can treat it just a simple dialog-based function)..... Is there anyone can give me some suggestions? Thanks a lot!