FFMPEGMediaPlayer: Decode audio frames.

Re-enable code to decode audio frame.

Throw a runtime exception for unimplemented sp_avcodec_decode_audio3 fallback.

Fix pts calculation to prevent division by zero caused by type truncation.
Fix aPTS calculation to use valid data.

Hide pts & aPTS info while running non-verbose.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
FFMPEGMediaPlayer: Use the Audio codec to decode audio. Also prevent double free of packet memory.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
FFMPEGMediaPlayer: Lookup decoded audio data_size using av_samples_get_buffer_size

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
FFMPEGMediaPlayer: Decode all frames inside video packet.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
FFMPEGMediaPlayer: Workaround dropped video frames while decoding audio.

A temporal solution before we implement video decode and frame cache
in a separate thread.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
FFMPEGMediaPlayer: Workaround forward seek delay caused by video sync.

Prevent the video sync code to delay a frame more than 1 second.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
FFMPEGMediaPlayer: Add updateSound callback for passing decoded jni audio frames to java.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
partial implementation of Java Sound output
FFMPEGMediaPlayer: blocking Java Sound output
FFMPEGMediaPlayer: Poor mans audio/video sync.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
FFMPEGMediaPlayer: Limit video sync delay to 47ms in order to fix audio buffer underrun.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
FFMPEGMediaPlayer: fix audio pts for varying audio frame format.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Fix Bug 723: Remove VK_KP_<Cursor> numpad key-codes, use general VK_<Cursor> key-codes; Respect numpad printable keys; Use keySym for numpad if possible.

- KeyEvent keyCode/keySym values re-ordered!

- Remove VK_KP_<Cursor> numpad key-codes, use general VK_<Cursor> key-codes.
  Numpad cursor keys are not supported on some platforms (Windows),
  or not configured on most X11 configurations.

- Respect numpad printable keys,
  i.e. don't treat them as non-printable.

- Use keySym for numpad if possible.
  Numpad keys require modifiers, hence X11 and Windows shall return keySym.
NEWT: MouseEvent Ctor: Use proper float[] rotationXYZ and float rotationScale arguments.
Fix Bug 737: Add shader default precision for GLSL [1.30 .. 1.50[ - See GLSL Spec [1.30 - 1.40].
Fix Bug 711: Align Graphs's Curve Shader programmatically to used GL/GLSL version, following all other internal GLSL usage utilizing ShaderCode.
GLSL version determination: Use static GLSL version mapping in case of GLES - Mesa 9.1* fails otherwise since it supports ES3/300 which is returned.
JOGL GLSL ShaderProgram/State: Release of an unlinked ShaderProgram shall not throw an exception -> avoid calling useProgram(.., false).
GLPixelBuffer.dispose(): Set diposed:=true to allow isValid() to work properly; GLJPanel: Rely on GLPixelBuffer.requiresNewBuffer(..) for each frame, don't use local pixelBufferCheckSize (buggy w/ singleton)
Fix Bug 736: Add GL.GL_UNSIGNED_INT and GL2ES2.GL_INT case in GLArrayDataWrapper.getBufferClass()