1. 09 8月, 2014 14 次提交
    • J
      (API Change) Use 'get' convention in libobs (base) · a3682fc8
      jp9000 提交于
      Instead of having functions like obs_signal_handler() that can fail to
      properly specify their actual intent in the name (does it signal a
      handler, or does it return a signal handler?), always prefix functions
      that are meant to get information with 'get' to make its functionality
      more explicit.
      
      Previous names:             New names:
      -----------------------------------------------------------
      obs_audio                   obs_get_audio
      obs_video                   obs_get_video
      obs_signalhandler           obs_get_signal_handler
      obs_prochandler             obs_get_proc_handler
      obs_source_signalhandler    obs_source_get_signal_handler
      obs_source_prochandler      obs_source_get_proc_handler
      obs_output_signalhandler    obs_output_get_signal_handler
      obs_output_prochandler      obs_output_get_proc_handler
      obs_service_signalhandler   obs_service_get_signal_handler
      obs_service_prochandler     obs_service_get_proc_handler
      a3682fc8
    • J
      (API Change) Unsquish libobs (base) names · 73baaa59
      jp9000 提交于
      Previous names:             New names:
      -----------------------------------------------------------
      obs_view_setsource          obs_view_set_source
      obs_view_getsource          obs_view_get_source
      obs_source_getdisplayname   obs_source_get_display_name
      obs_source_getwidth         obs_source_get_width
      obs_source_getheight        obs_source_get_height
      obs_filter_getparent        obs_filter_get_parent
      obs_filter_gettarget        obs_filter_get_target
      obs_source_filter_setorder  obs_source_filter_set_order
      obs_source_getsettings      obs_source_get_settings
      obs_source_getname          obs_source_get_name
      obs_source_setname          obs_source_set_name
      obs_source_setvolume        obs_source_set_volume
      obs_source_getvolume        obs_source_get_volume
      obs_scene_getsource         obs_scene_get_source
      obs_scene_fromsource        obs_scene_from_source
      obs_scene_findsource        obs_scene_find_source
      obs_output_getdisplayname   obs_output_get_display_name
      obs_output_getname          obs_output_get_name
      obs_encoder_getname         obs_encoder_get_name
      obs_service_getdisplayname  obs_service_get_display_name
      obs_service_getname         obs_service_get_name
      73baaa59
    • J
      (API Change) Remove obs_graphics() · 41176eef
      jp9000 提交于
      API Removed:
      - graphics_t obs_graphics();
      Replaced With:
      - void obs_enter_graphics();
      - void obs_leave_graphics();
      
      Description:
        obs_graphics() was somewhat of a pointless function.  The only time
      that it was ever necessary was to pass it as a parameter to
      gs_entercontext() followed by a subsequent gs_leavecontext() call after
      that.  So, I felt that it made a bit more sense just to implement
      obs_enter_graphics() and obs_leave_graphics() functions to do the exact
      same thing without having to repeat that code.  There's really no need
      to ever "hold" the graphics pointer, though I suppose that could change
      in the future so having a similar function come back isn't out of the
      question.
      
      Still, this at least reduces the amount of unnecessary repeated code for
      the time being.
      41176eef
    • J
      (API Change) Un-squish obs_sceneitem_* · b007c6b1
      jp9000 提交于
      Renamed:                         To:
      -----------------------------------------------------------
      obs_sceneitem_getscene           obs_sceneitem_get_scene
      obs_sceneitem_getsource          obs_sceneitem_get_source
      obs_sceneitem_setpos             obs_sceneitem_set_pos
      obs_sceneitem_setrot             obs_sceneitem_set_rot
      obs_sceneitem_setscale           obs_sceneitem_set_scale
      obs_sceneitem_setalignment       obs_sceneitem_set_alignment
      obs_sceneitem_setorder           obs_sceneitem_set_order
      obs_sceneitem_getpos             obs_sceneitem_get_pos
      obs_sceneitem_getrot             obs_sceneitem_get_rot
      obs_sceneitem_getscale           obs_sceneitem_get_scale
      obs_sceneitem_getalignment       obs_sceneitem_get_alignment
      b007c6b1
    • J
      (API Change) Split obs_source_gettype · e42af671
      jp9000 提交于
      Changed:
      - obs_source_gettype
      To:
      - enum obs_source_type obs_source_get_type(obs_source_t source);
      - const char *obs_source_get_id(obs_source_t source);
      
      This function was inconsistent for a number of reasons.  First, it
      returns both the ID and the type of source (input/transition/filter),
      which is inconsistent with the name of "get type".  Secondly, the
      'squishy' naming convention which has just turned out to be bad
      practice and causes inconsistencies.  So it's now replaced with two
      functions that just return the type and the ID.
      e42af671
    • J
      (API Change) Rename source_audio structure · 0961af6e
      jp9000 提交于
      Rename source_audio to obs_source_audio to make it more consistent with
      the rest of the API
      0961af6e
    • J
      (API Change) Rename filtered_audio structure · 45eec068
      jp9000 提交于
      Reanmed filtered_audio to obs_audio_data, to improve the naming and
      prefix with obs_ for the sake with consistency with the rest of the API
      45eec068
    • 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 4 次提交
    • 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