New upstream version 21.0.2+dfsg1
This commit is contained in:
parent
1f1bbb3518
commit
baafb6325b
706 changed files with 49633 additions and 5044 deletions
|
|
@ -44,6 +44,11 @@ static inline int64_t packet_dts_usec(struct encoder_packet *packet)
|
|||
return packet->dts * MICROSECOND_DEN / packet->timebase_den;
|
||||
}
|
||||
|
||||
struct tick_callback {
|
||||
void (*tick)(void *param, float seconds);
|
||||
void *param;
|
||||
};
|
||||
|
||||
struct draw_callback {
|
||||
void (*draw)(void *param, uint32_t cx, uint32_t cy);
|
||||
void *param;
|
||||
|
|
@ -82,6 +87,7 @@ struct obs_module {
|
|||
|
||||
bool (*load)(void);
|
||||
void (*unload)(void);
|
||||
void (*post_load)(void);
|
||||
void (*set_locale)(const char *locale);
|
||||
void (*free_locale)(void);
|
||||
uint32_t (*ver)(void);
|
||||
|
|
@ -318,6 +324,7 @@ struct obs_core_data {
|
|||
pthread_mutex_t audio_sources_mutex;
|
||||
pthread_mutex_t draw_callbacks_mutex;
|
||||
DARRAY(struct draw_callback) draw_callbacks;
|
||||
DARRAY(struct tick_callback) tick_callbacks;
|
||||
|
||||
struct obs_view main_view;
|
||||
|
||||
|
|
@ -393,7 +400,7 @@ struct obs_core {
|
|||
|
||||
extern struct obs_core *obs;
|
||||
|
||||
extern void *obs_video_thread(void *param);
|
||||
extern void *obs_graphics_thread(void *param);
|
||||
|
||||
extern gs_effect_t *obs_load_effect(gs_effect_t **effect, const char *file);
|
||||
|
||||
|
|
@ -609,6 +616,7 @@ struct obs_source {
|
|||
bool async_active;
|
||||
bool async_update_texture;
|
||||
bool async_unbuffered;
|
||||
bool async_decoupled;
|
||||
struct obs_source_frame *async_preload_frame;
|
||||
DARRAY(struct async_frame) async_cache;
|
||||
DARRAY(struct obs_source_frame*)async_frames;
|
||||
|
|
@ -679,9 +687,11 @@ struct obs_source {
|
|||
|
||||
struct audio_monitor *monitor;
|
||||
enum obs_monitoring_type monitoring_type;
|
||||
|
||||
obs_data_t *private_settings;
|
||||
};
|
||||
|
||||
extern const struct obs_source_info *get_source_info(const char *id);
|
||||
extern struct obs_source_info *get_source_info(const char *id);
|
||||
extern bool obs_source_init_context(struct obs_source *source,
|
||||
obs_data_t *settings, const char *name,
|
||||
obs_data_t *hotkey_data, bool private);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue