caprica/vlcj — pull request #92 by hjohn (2012-09-07 19:32:37+00:00)
Title: New DirectMediaPlayer (mostly compatible)

I've added a new constructor to DirectMediaPlayer and made the old constructor call the new one since the new one is more general.

I introduced a BufferFormat class for configuring the format of the buffers in the newly introduced call back interface BufferFormatCallback. I also understand now how VLC handles multiple "buffers" -- they are planes actually for formats that have several buffers (like YV42 where the buffers are not all the same size for each color component).

I've implemented this support as well, so multiple buffers can be allocated if required.

I was unable to run your tests -- I donot know if I broke anything, but probably I guess. Let me know what you think.