1. 09 8月, 2014 7 次提交
    • J
      (API Change) Rename allow_direct_render enum · 4d1272e6
      jp9000 提交于
      For the sake of consistency, changed allow_direct_render to
      obs_allow_direct_render
      4d1272e6
    • J
      (API Change) Rename order_movement · d2b4f826
      jp9000 提交于
      Prefix with obs_ for the sake of consistency
      
      Renamed enums:
      - order_movement (now obs_order_movement)
      
      Affected functions:
      - obs_source_filter_setorder
      - obs_sceneitem_setorder
      d2b4f826
    • J
      (API Change) Rename 'source_frame' + related · 4122a5b9
      jp9000 提交于
      For the sake of naming consistency with the rest of obs.h, prefix this
      structure and associated functions with obs_.
      
      Renamed structures:
      - struct source_frame (now obs_source_frame)
      
      Renamed functions:
      - source_frame_init (now obs_source_frame_init)
      - source_frame_free (now obs_source_frame_free)
      - source_frame_create (now obs_source_frame_create)
      - source_frame_destroy (now obs_source_frame_destroy)
      
      Affected functions:
      - obs_source_output_video
      - obs_source_get_frame
      - obs_source_release_frame
      4122a5b9
    • J
      (API Change) Rename obs_source_get(/release)frame · 7b402245
      jp9000 提交于
      Renamed functions:
      - obs_source_getframe (rename to obs_source_get_frame)
      - obs_source_releaseframe (rename to obs_source_release_frame)
      
      For the sake of consistency and helping to get rid of the "squishy
      function name" issue
      7b402245
    • J
      (API Change) Rename obs_sceneitem_info structure · 24bd82a0
      jp9000 提交于
      Change obs_sceneitem_info structure to obs_transform_info - this
      structure will not just be used with scene items in the future.
      24bd82a0
    • J
      Remove duplicate 'strref_isempty' · 2f21e2a4
      jp9000 提交于
      2f21e2a4
    • J
      Don't use "type" of source, use "id" of source · e63ebdce
      jp9000 提交于
      The naming here is a poor choice, a source type determines if a source
      is either a regular input, a filter, or a transition.  The ID is the
      actual unique identifier of a source.
      e63ebdce
  2. 06 8月, 2014 8 次提交
  3. 03 8月, 2014 1 次提交
    • P
      Make OSX test application compatible with current 10.10 beta SDK · e5c0cad3
      Palana 提交于
      The NSApplication delegate was changed from a setDelegate/delegate
      method pair to a property, while the definition of NSApp didn't change
      (its type is id while the type should be NSApplication* or similar)
      
      Fixes jp9000/obs-studio#221
      e5c0cad3
  4. 02 8月, 2014 1 次提交
    • J
      Fix automatic scaling bug · b203f361
      jp9000 提交于
      The bug here is that when conversion is active, the source video frame
      is initialized with the destination height/width/format instead of the
      source height/width/format.
      b203f361
  5. 01 8月, 2014 2 次提交
  6. 30 7月, 2014 4 次提交
  7. 29 7月, 2014 6 次提交
  8. 28 7月, 2014 11 次提交
    • J
      Add extra search path for third party plugins · 11c7e07e
      jp9000 提交于
      The OBSBasic UI will now allow the use of a subdirectory of the user
      application data directory for third-party plugins.  Though I'm not
      entirely sure if this ideal or not.  Regardless, this is one of the
      first (of many) steps towards a plugin manager.
      
      On windows, this is %appdata%/obs-studio/plugins
      On linux, this is ~/.obs-studio/plugins
      On mac, this is ~/Library/Application Support/obs-sudio/plugins
      11c7e07e
    • J
      Add API functions to get information about modules · e87ed914
      jp9000 提交于
      e87ed914
    • J
      Remove macro to free locale · 892fdea8
      jp9000 提交于
      This functionality can now be handled automatically because locale can
      now be freed seaparately from obs_module_unload with
      obs_module_free_locale, which is called automatically when the module is
      being freed.
      892fdea8
    • J
      Remove version parameter from obs_module_load · f0ac19ab
      jp9000 提交于
      Replaced by obs_get_version() API
      f0ac19ab
    • J
      (API Change) Refactor module handling · 59ea3bec
      jp9000 提交于
      Changed API:
      - char *obs_find_plugin_file(const char *sub_path);
      
        Changed to: char *obs_module_file(const char *file);
      
        Cahnge it so you no longer need to specify a sub-path such as:
        obs_find_plugin_file("module_name/file.ext")
      
        Instead, now automatically handle the module data path so all you need
        to do is:
        obs_module_file("file.ext")
      
      - int obs_load_module(const char *name);
      
        Changed to: int obs_open_module(obs_module_t *module,
                                        const char *path,
                                        const char *data_path);
                    bool obs_init_module(obs_module_t module);
      
        Change the module loading API so that if the front-end chooses, it can
        load modules directly from a specified path, and associate a data
        directory with it on the spot.
      
        The module will not be initialized immediately; obs_init_module must
        be called on the module pointer in order to fully initialize the
        module.  This is done so a module can be disabled by the front-end if
        the it so chooses.
      
      New API:
      - void obs_add_module_path(const char *bin, const char *data);
      
        These functions allow you to specify new module search paths to add,
        and allow you to search through them, or optionally just load all
        modules from them.  If the string %module% is included, it will
        replace it with the module's name when that string is used as a
        lookup.  Data paths are now directly added to the module's internal
        storage structure, and when obs_find_module_file is used, it will look
        up the pointer to the obs_module structure and get its data directory
        that way.
      
        Example:
        obs_add_module_path("/opt/obs/my-modules/%module%/bin",
                            "/opt/obs/my-modules/%module%/data");
      
        This would cause it to additionally look for the binary of a
        hypthetical module named "foo" at /opt/obs/my-modules/foo/bin/foo.so
        (or libfoo.so), and then look for the data in
        /opt/obs/my-modules/foo/data.
      
        This gives the front-end more flexibility for handling third-party
        plugin modules, or handling all plugin modules in a custom way.
      
      - void obs_find_modules(obs_find_module_callback_t callback, void
                              *param);
      
        This searches the existing paths for modules and calls the callback
        function when any are found.  Useful for plugin management and custom
        handling of the paths by the front-end if desired.
      
      - void obs_load_all_modules(void);
      
        Search through the paths and both loads and initializes all modules
        automatically without custom handling.
      
      - void obs_enum_modules(obs_enum_module_callback_t callback,
                              void *param);
      
        Enumerates currently opened modules.
      59ea3bec
    • J
      Change macro to MODULE_MISSING_EXPORTS for clarity · c2a0b9c0
      jp9000 提交于
      This is a bit more clear than MODULE_FUNCTION_NOT_FOUND.
      c2a0b9c0
    • J
      Add functions to specify OS module extensions · 16f24750
      jp9000 提交于
      16f24750
    • J
      Merge pull request #214 from BtbN/libprefix · c3d03f41
      Jim 提交于
      Search for plugins without lib prefix
      c3d03f41
    • B
      Search for plugins without lib prefix · 1098c75d
      BtbN 提交于
      Fixes #213
      1098c75d
    • J
      Fix incompatible pointer type warning · c5c8cba7
      jp9000 提交于
      Well, needless to say I'm very happy this didn't end up exploding.  I'm
      surprised GCC and clang let this through.
      c5c8cba7
    • J
      Add function to get current core version · ee4a93b4
      jp9000 提交于
      The version macro that modules use to compile versus the actual core
      version that may be in use may be different, so this is a way to compare
      them to check for compatibility issues later on.
      ee4a93b4