|
@@ -690,7 +690,6 @@ static void framerate_list(struct camera_device *dev, uint32_t pixelformat,
|
|
const struct spa_rectangle *resolution,
|
|
const struct spa_rectangle *resolution,
|
|
obs_property_t *prop)
|
|
obs_property_t *prop)
|
|
{
|
|
{
|
|
- g_autoptr(GHashTable) framerates_map = NULL;
|
|
|
|
g_autoptr(GArray) framerates = NULL;
|
|
g_autoptr(GArray) framerates = NULL;
|
|
struct param *p;
|
|
struct param *p;
|
|
obs_data_t *data;
|
|
obs_data_t *data;
|
|
@@ -703,9 +702,7 @@ static void framerate_list(struct camera_device *dev, uint32_t pixelformat,
|
|
struct obs_pw_video_format obs_pw_video_format;
|
|
struct obs_pw_video_format obs_pw_video_format;
|
|
enum spa_choice_type choice;
|
|
enum spa_choice_type choice;
|
|
const struct spa_pod_prop *prop;
|
|
const struct spa_pod_prop *prop;
|
|
- struct spa_pod_parser pod_parser;
|
|
|
|
struct spa_rectangle this_resolution;
|
|
struct spa_rectangle this_resolution;
|
|
- struct spa_fraction framerate;
|
|
|
|
struct spa_pod *framerate_pod;
|
|
struct spa_pod *framerate_pod;
|
|
uint32_t media_subtype;
|
|
uint32_t media_subtype;
|
|
uint32_t media_type;
|
|
uint32_t media_type;
|
|
@@ -1259,7 +1256,6 @@ static const char *pipewire_camera_get_name(void *data)
|
|
static void *pipewire_camera_create(obs_data_t *settings, obs_source_t *source)
|
|
static void *pipewire_camera_create(obs_data_t *settings, obs_source_t *source)
|
|
{
|
|
{
|
|
struct camera_portal_source *camera_source;
|
|
struct camera_portal_source *camera_source;
|
|
- bool set;
|
|
|
|
|
|
|
|
camera_source = bzalloc(sizeof(struct camera_portal_source));
|
|
camera_source = bzalloc(sizeof(struct camera_portal_source));
|
|
camera_source->source = source;
|
|
camera_source->source = source;
|