gBroutin / gstreamer-java

Automatically exported from code.google.com/p/gstreamer-java
0 stars 0 forks source link

Illegal cast from long to int in Xoverlay.java when using 64 bit SWT on Linux #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Switch out the SWT libraries for 64 bit SWT on linux.
2.Run SWTVideoTest.java

What is the expected output? What do you see instead?
There should be one shell open with a video test pattern. Instead, two 
shells open, one empty and one with a test pattern. A stack trace is 
printed in the console, saying that there is an illegal cast from long to 
int. The problem is that the 32 and 64 bit SWT implementations use 
different types for their fields.

What version of the product are you using? On what operating system?

SVN revision 328 of Xoverlay.java

Please provide any additional information below.

A patch is provided for the issue.

Original issue reported on code.google.com by ekohl...@gmail.com on 29 Jan 2010 at 1:44

Attachments:

GoogleCodeExporter commented 8 years ago
thanks for the patch. i add it to the next release.

Original comment by lfar...@gmail.com on 26 Apr 2010 at 1:01