gBroutin / gstreamer-java

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

XOverlay.java doesn't build on mac due to swt Composite api #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Try to build the gstreamer-java source

What is the expected output? What do you see instead?

The source should compile on all platforms, and should not directly
reference fields that are not part of the cross-platform portions SWT API. 

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

Version 1.1. The issue also effects the current SVN.

Please provide any additional information below.

The issue can be fixed by using the Java reflection API. It is evident from
the code that the user intends that the code only execute on Linux
platforms, and the invalid field access references a field only available
in the SWT API for X server based platforms. A corrected version of
XOverlay.java is attached.

Original issue reported on code.google.com by ekohl...@gmail.com on 15 Sep 2009 at 1:37

Attachments:

GoogleCodeExporter commented 8 years ago
we'll try to reimplement it using reflection.

Original comment by lfar...@gmail.com on 5 Nov 2009 at 5:56

GoogleCodeExporter commented 8 years ago

Original comment by lfar...@gmail.com on 5 Nov 2009 at 5:57

GoogleCodeExporter commented 8 years ago

Original comment by lfar...@gmail.com on 15 Dec 2009 at 1:57