Hi Pat,
We're having some TkVideo issues with aMSN...
First, the issue I told you about over IRC a while back :
http://www.amsn-project.net/forums/viewtopic.php?t=6370
That issue is about TkVideo showing only a black screen if the "ACE mega
codec pack" is installed on the system..
The second issue happens quite often too, it seems that if we create a
tkvideo window, then destroy it, sometimes (once it starts, it will always
reproduce itself) when we create a tkvideo window, the tkvideo will only
have 'configure' and 'cget' commands available, so it crashes on "$win
devices" saying that 'devices' is not a valid subcommand...
The third and most problematic issue we currently have (a release-blocker
actually) is that if gstreamer is loaded into aMSN, then TkVideo will either
:
- fail to load if it wasn't loaded before
- show a black screen or a frozen frame if the package was loaded before...
I don't have much more detail about this right now... I checked your SVN and
it doesn't look like you've fixed anything related to this lately (last
change was 2 years ago I think)..
Once I get home tonight, I'll try to debug and see what the problem is...
humm... I just took a quick look at the code to figure out why Tkvideo_Init
would return TCL_ERROR and it looks like in winvideo.cpp, the only reason
for TCL_ERROR to be returned is this :
VideopInit(Tcl_Interp *interp)
{
HRESULT hr = CoInitialize(0);
return SUCCEEDED(hr) ? TCL_OK : TCL_ERROR;
}
So I guess CoInitialize(0) does not succeed... from the MSDN reference :
http://msdn.microsoft.com/en-us/library/ms678543(VS.85).aspx
It says that it would return S_FALSE if "The COM library is already
initialized on this thread." So I think your code should handle the case
where the COM library was already initialized...
You should actually only check for : E_INVALIDARG, E_OUTOFMEMORY, and
E_UNEXPECTED.
For why it only shows a black screen, I don't know yet, I'll investigate
this a bit more tonight...
I would really appreciate if you could give me a hand on this, as I don't
know any of your code and have zero knowledge on the win32 API...
If you want to reproduce the issue, grab amsn's SVN (
http://amsn-project.net/wiki/SVN) all the binaries for windows are
precompiled and in the SVN repository, so no compilation needed.. launch
aMSN, and press Ctrl-N to go to the audio and video assistant, in there go
all the way to the end so gstreamer gets loaded and the video source
elements are initialized, then launch it again to see how Tkvideo behaves in
the second step of the assistant (or play with it manually using the tcl
shell that you can get by pressing Ctrl-Shift-C from the main window).
If you want to talk to me, I should be available on IRC as KaKaRoTo or
KaKaRoTo-KS.
Thanks,
KaKaRoTo
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel