AppSrc.java problem

Morris Ford morrishford at gmail.com
Tue Feb 15 00:21:19 CET 2011


I am trying to use AppSrc.java to pipe rgb video buffers from a java
program. I based my interface on AppSrcTest.java. The interface works as
long as I use bpp=16, depth=16 and use a buffer that is width * height * 2.
The problem comes when I try to use a buffer that is width * height * 3. I
changed the caps setting to bpp=24, depth=24 without really knowing exactly
what settings I should use. My program sends buffers when NEED_DATA is
called and quits when ENOUGH_DATA is called. With the smaller buffer it
works and pipes data out. With the larger buffer I see one NEED_DATA
followed by one ENOUGH_DATA and then nothing.

Any help would be greatly appreciated

Morris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110214/42fde7fd/attachment.htm>
-------------- next part --------------
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list