Don't struggle with playercam, use videoplayer, the simplest GTK client
for camera interface. You can download it from here:
New version released today - it was tested with Player-3.0.0-rc2 and
Player-2.1.2, so I guess it should work for you fine.
On Mon, 17 Aug 2009, Kevin Sikorski wrote:
> I'm finding an assertion failure in playercam at line 464.
> assert(allocated_size > g_camera->image_count*3);
> I'm running it with the following configuration file:
> name "camerauvc"
> provides ["camera:0"]
> port "/dev/video0"
> size [640 480]
> So, I'm not running the camera with any blobfinder devices.
> What's weird is that I don't see any obvious changes in the code from player 2.1.3, and if I reinstall player 2.1.3, then the playercam works fine. For now, I've changed the memory allocation so that I allocate 3 times as much memory to satisfy the assertion.
> Does anyone know what's going on here?
> Kevin Sikorski
> Robotics Architect
> (800) 641-2676 x 713