Giter Site home page Giter Site logo

new Log class / callback about mp4v2 HOT 5 CLOSED

jailbreakc avatar jailbreakc commented on August 22, 2024
new Log class / callback

from mp4v2.

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Here's my initial implementation of the Log class, along with 
MP4SetLogCallback. 
Slightly different than the above.  Here's the current enum and callback 
signature:

typedef enum {
    MP4LogNone = 0,
    MP4LogError = 1,
    MP4LogWarning = 2,
    MP4LogInfo = 3,
    MP4LogVerbose1 = 4,
    MP4LogVerbose2 = 5,
    MP4LogVerbose3 = 6,
    MP4LogVerbose4 = 7
}  MP4LogLevel;

typedef void (*log_message_cb_func_t)(
    MP4LogLevel loglevel,
    const char* fmt,
    va_list     ap );

-DB

Original comment by [email protected] on 5 Feb 2009 at 9:04

Attachments:

from mp4v2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
One line change in the path to export MP4SetLogCallback.  Still messing with 
some
build settings...

-DB

Original comment by [email protected] on 6 Feb 2009 at 2:02

Attachments:

from mp4v2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
- remove const from Log::printf, etc.
- log_message_cb_func_t --> MP4LogCallback
- add release notes announcing new function MP4SetLogCallback
- used C++-style comments in log.cpp

-DB

Original comment by [email protected] on 10 Feb 2009 at 2:45

Attachments:

from mp4v2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Committed to https://mp4v2.googlecode.com/svn/branches/logging.  See that 
branch for
more progress here.

Original comment by [email protected] on 13 Feb 2009 at 9:08

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from mp4v2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Closing this since these changes (or similar ones) have made it into trunk.

Original comment by [email protected] on 27 Mar 2011 at 2:31

  • Changed state: Completed

from mp4v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.