Skip to content

videoinput lib global statics #697

Closed

Description

@danomatika

I'm trying to build ofxPd in Visual Studio and running into multiple define issues related to the videoinput lib, namely static verbose: https://github.com/openframeworks/openFrameworks/blob/master/libs/videoInput/include/videoInput.h#L115

Couldn't this variable as well as comInitCount be moved to the implementation files? or at least in a header hidden from the global namespace? At the least, verbose could be renamed to something not so common ...

Activity

  1. danomatika commented on Apr 21, 2012

    @danomatika
    ContributorAuthor

    No change on this?

  2. danomatika commented on Jul 19, 2012

    @danomatika
    ContributorAuthor

    This is still an issue for ofxPd users on Windows ...

  3. bilderbuchi commented on Jul 19, 2012

    @bilderbuchi
    Member

    at least verbose looks like it should be factored out and replaced by ofLog calls, anyway.

  4. bilderbuchi commented on Oct 8, 2012

    @bilderbuchi
    Member

    @danomatika you wanna tackle this for 0073?
    @ofTheo just making sure this code is still relevant? last changes to videoInput.h were in 2009...

  5. bakercp commented on Oct 8, 2012

    @bakercp
    Member

    @ofTheo and while you're in there @danomatika (if you tackle this) this might be a good time add a concentrated effort to redefine listDevices() from the base class on up so that it actually returning something actionable, rather than printing a device list to the console. I'm happy to help on the OSX and Gstreamer end. I got hung up on the videoInput.h side of things b/c of my linux/osx tendencies.

    See related discussions, some research I did and a TODO listing off where the changes need to be made across the board:

    #645 #91 #461

  6. bilderbuchi commented on Oct 8, 2012

    @bilderbuchi
    Member

    Wouldn't it be better to put this in a separate, new issue, Christopher?

  7. bakercp commented on Oct 8, 2012

    @bakercp
    Member

    Yes it should be a different issue, but I didn't open an issue on it, b/c there are already two duplicated on the same topic (one opened by @danomatika #461 and one by @arturoc #91). Just trying to provoke some discussion with the above post. Perhaps you could merge the two for a concentrated discussion there?

  8. bilderbuchi commented on Oct 8, 2012

    @bilderbuchi
    Member

    I see. I just closed 461, best to continue the discussion in #91.

  9. ofTheo commented on Oct 9, 2012

    @ofTheo
    Member

    yeah - def mark for 0073
    I can update videoInput and fix this issue and also add device listing to string vector.

  10. ghost assigned on Oct 9, 2012
  11. ofTheo commented on Jul 6, 2013

    @ofTheo
    Member

    Okay this is now fixed in https://github.com/ofTheo/videoInput/commits/update2013
    I will be merging this branch to develop soon and then build new libs for 0.8.0 release.

  12. added a commit that references this issue on Jul 14, 2013
    cc4bb89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions