[GEM-dev] videoV4L2 update

IOhannes m zmölnig zmoelnig at iem.at
Tue Feb 7 10:46:51 CET 2012


On 02/05/12 19:27, Antoine Villeret wrote:
>
> i didn't want to put some backend specific code in pix_video.cpp so I
> only work on videoV4L2.cpp

right, that's the idea.

> but to open a device with it's bus location, i'm assuming that all paths
> to devices start with a slash '/'
> it could be a limitation but i didn't find a better way...

you could check first whether the devicename is an existing (v4l2) 
devicefile, and if not check whether it is a valid bus-id...

>
> all the things are in the branch *videoV4L2* on my github repos :
> git://github.com/avilleret/Gem.git <http://github.com/avilleret/Gem.git>

cool, thanks; i merged that into "master".


 > i've updated the pix_video-help.pd patch with the add of a v4l2-specific
 > abstraction to explain what i've done

i rejected that, and instead tried to implement a more generic approach 
(allowing plugins to come with their own help-file extensions which are 
then dynamically displayed in the pix_video help-patch

>
> hope this help
> and i hope i've done the things in the right way this time :-)
> feedbacks are welcome

thanks a lot.

fga,sdr
IOhannes



More information about the GEM-dev mailing list