[gst-devel] gstreamer patch for MJPEG/V4L devices part 2
rbultje at ronald.bitfreak.net
Tue Oct 2 23:27:04 CEST 2001
here's a patch that, as requested by Wim and Erik, uses a bufferpool.
Tested and works like a charm here. Has custom buffer_copy (g_malloc a new
buffer, memcpy and don't have custom copy, new or free functions),
buffer_free (i.e. re-queue the buffer rather than to delete it) and
buffer_new (just because this is needed) functions. The buffer also gets
the correct timestamp and the correct JPEG size. I didn't encounter any
errors or crashes, just had a few JPEG decoding errors if the CPU usage was
100%. This is probably the reasons because during other tests, which took
much longer but with less demanding configuration options, nothing bad
Btw, the Makefile.am which was missing (oops) is now also included.
- /V\ | Ronald Bultje <rbultje at ronald.bitfreak.net>
- // \\ | Running: Linux 2.4.4 and OpenBSD 2.8
- /( )\ | http://ronald.bitfreak.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12468 bytes
Desc: not available
More information about the gstreamer-devel