Skip to content
Snippets Groups Projects
  1. Sep 15, 2014
    • fryshorts's avatar
      Use helper function to set format in v4l2 input. · 6c8216c6
      fryshorts authored
      Since the helper function also needs to pack/unpack the resolution, the
      pack/unpack functions were moved to the helper library and prefixed with
      v4l2_ in order to avoid possible collisions.
      6c8216c6
    • fryshorts's avatar
      8d95a7fb
    • fryshorts's avatar
      Do not explicitly set a default device in v4l2 input. · 0abf0f57
      fryshorts authored
      This was added at a time where the source properties dialog did not
      pop up automatically on source creation. Now when the properties are
      displayed the first device in the select input will be selected by
      default if there was none already specified by the source settings.
      
      This will make the code cleaner and also save one redundant round of
      device enumeration.
      0abf0f57
    • fryshorts's avatar
      Fix device capability checking in v4l2 input. · 841f02be
      fryshorts authored
      The capabilities flags that were used previously describe all
      capabilities the physical device offers. This would cause devices
      that are accessible through multiple device nodes to show up with
      all device nodes while only one of the nodes might actually offer
      the needed video capture capability.
      
      If the device has more nodes the CAP_DEVICES_CAP flag might be set
      in which case the device_caps field is filled with the capabilities
      that only apply to that specific node that is opened.
      841f02be
  2. Aug 11, 2014
  3. Aug 09, 2014
    • Jim's avatar
      (API Change) Unsquish obs_data_* names · 04712b5f
      Jim authored
      Changed:                 To:
      -----------------------------------------------
      obs_data_getjson         obs_data_get_json
      obs_data_getstring       obs_data_get_string
      obs_data_getint          obs_data_get_int
      obs_data_getdouble       obs_data_get_double
      obs_data_getbool         obs_data_get_bool
      obs_data_getobj          obs_data_get_obj
      obs_data_getarray        obs_data_get_array
      obs_data_setstring       obs_data_set_string
      obs_data_setint          obs_data_set_int
      obs_data_setdouble       obs_data_set_double
      obs_data_setbool         obs_data_set_bool
      obs_data_setobj          obs_data_set_obj
      obs_data_setarray        obs_data_set_array
      obs_data_item_getstring  obs_data_item_get_string
      obs_data_item_getint     obs_data_item_get_int
      obs_data_item_getdouble  obs_data_item_get_double
      obs_data_item_getbool    obs_data_item_get_bool
      obs_data_item_getobj     obs_data_item_get_obj
      obs_data_item_getarray   obs_data_item_get_array
      obs_data_item_setstring  obs_data_item_set_string
      obs_data_item_setint     obs_data_item_set_int
      obs_data_item_setdouble  obs_data_item_set_double
      obs_data_item_setbool    obs_data_item_set_bool
      obs_data_item_setobj     obs_data_item_set_obj
      obs_data_item_setarray   obs_data_item_set_array
      04712b5f
    • Jim's avatar
      (API Change) Use 'get' convention: API callbacks · 2d606dd8
      Jim authored
      Renamed:                       To:
      -------------------------------------------------------
      obs_source_info::defaults       obs_source_info::get_defaults
      obs_source_info::properties     obs_source_info::get_properties
      obs_output_info::defaults       obs_output_info::get_defaults
      obs_output_info::properties     obs_output_info::get_properties
      obs_output_info::total_bytes    obs_output_info::get_total_bytes
      obs_output_info::dropped_frames obs_output_info::get_dropped_frames
      obs_encoder_info::defaults      obs_encoder_info::get_defaults
      obs_encoder_info::properties    obs_encoder_info::get_properties
      obs_encoder_info::extra_data    obs_encoder_info::get_extra_data
      obs_encoder_info::sei_data      obs_encoder_info::get_sei_data
      obs_encoder_info::audio_info    obs_encoder_info::get_audio_info
      obs_encoder_info::video_info    obs_encoder_info::get_video_fino
      obs_service_info::defaults      obs_service_info::get_defaults
      obs_service_info::properties    obs_service_info::get_properties
      2d606dd8
  4. Aug 08, 2014
    • Jim's avatar
      (API Change) Unsquish libobs API callback names · c83d0511
      Jim authored
      Renamed:                    To:
      -------------------------------------------------------
      obs_source_info::getname    obs_source_info::get_name
      obs_source_info::getwidth   obs_source_info::get_width
      obs_source_info::getheight  obs_source_info::get_height
      obs_output_info::getname    obs_output_info::get_name
      obs_encoder_info::getname   obs_encoder_info::get_name
      obs_service_info::getname   obs_service_info::get_name
      c83d0511
    • Jim's avatar
      (API Change) Rename 'source_frame' + related · 4122a5b9
      Jim authored
      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
  5. Jul 26, 2014
  6. Jul 25, 2014
  7. Jul 16, 2014
  8. Jul 11, 2014
  9. Jun 25, 2014
    • Jim's avatar
      Remove 'locale' parameter from all callbacks · 0b4a259e
      Jim authored
      The locale parameter was a mistake, because it puts extra needless
      burden upon the module developer to have to handle this variable for
      each and every single callback function.  The parameter is being removed
      in favor of a single centralized module callback function that
      specifically updates locale information for a module only when needed.
      0b4a259e
    • Jim's avatar
      Remove 'locale' from properties · 74b4743b
      Jim authored
      Having the value stored here is somewhat pointless, so this is one step
      in fixing the locale handling.  Locale should be handled by the modules
      themselves with their own loaded locale lookup information.
      74b4743b
  10. Jun 18, 2014
Loading