Revision 917519

Go back to digest for 1st February 2009

Other in Networking Tools

Detlev Casanova committed changes in /branches/work/kopete/jingle-video/kopete/libkopete/avdevice:

Separate V4L1 from V4L2.

It adds V4l1Device and V4l2Device. They both inherit from VideoDevice.
It now uses enumeration of supported frame sizes for V4L2.
As some driver still don't support that, I wiil add a way to make it work anyway.

The storage of all VideoDevice's uses now pointers to VideoDevice as we want late binding on V4l1Device and V4l2Device instead of early binding on VideoDevice.

The use of pixel_format and standard enum made no sense, it now uses V4L and V4L2 enums which are as good as the old ones in VideoDevice.

Switched pixelformat storage with unsigned int instead of int, it considerably decreases the number of warnings at compile time.

File Changes

Modified 12 files
  • /branches/work/kopete/jingle-video/kopete/libkopete/avdevice
  •   /CMakeLists.txt
  •   /dummyvideodevice.cpp
  •   /dummyvideodevice.h
  •   /v4l1device.cpp
  •   /v4l1device.h
  •   /v4l2device.cpp
  •   /v4l2device.h
  •   /videodevice.cpp
  •   /videodevice.h
  •   /videodevicepool.cpp
  •   /videodevicevector.cpp
  •   /videodevicevector.h
12 files changed in total