[mythtv] Moving V4L out of NuppelVideoRecorder?
nigel at ind.tansu.com.au
Sun Jan 30 23:59:46 EST 2005
> I want to create a VideoSource class, and then move all of the V4L
> specific code to a V4LVideoSource subclass. That would allow someone
> else to implement the Mac recording as another sublcass of
> VideoSource. One question I have is how to implement V4L2. Should it
> be part of the V4L class, since it will be substantially the same
> except for using slightly different ioctls, or should it be a separate
> class, since it would clutter up the V4L class with "if (using-v4l2)"?
I think a separate V4L2 class, but since there may be a lot of
commonality between them, either have a common VideoForLinuxBase,
or have V4L2 inherit from V4L1 and override as necessary.
> ... Can anyone think of a better name than VideoSource
VideoCapture? VideoGrabber? VideoFeed? VideoStream?
Nigel Pearson, nigel at ind.tansu.com.au | "In this city I confess
Telstra BI&D, Sydney, Australia | god is mammon, more is less
Office: 8255 4222 Fax: 8255 3153 | off like lemmings at the gun
Mobile: 0408 664435 Home: 9792 6998 | I know better, still I run"
More information about the mythtv-dev