This commit is contained in:
Wim Taymans 2017-05-26 18:19:51 +02:00
parent f7de744ec9
commit ded1ea69a1
54 changed files with 301 additions and 274 deletions

View file

@ -130,10 +130,10 @@ spa_ffmpeg_dec_node_set_callbacks(struct spa_node *node,
static int
spa_ffmpeg_dec_node_get_n_ports(struct spa_node *node,
uint32_t * n_input_ports,
uint32_t * max_input_ports,
uint32_t * n_output_ports,
uint32_t * max_output_ports)
uint32_t *n_input_ports,
uint32_t *max_input_ports,
uint32_t *n_output_ports,
uint32_t *max_output_ports)
{
if (node == NULL)
return SPA_RESULT_INVALID_ARGUMENTS;
@ -153,9 +153,9 @@ spa_ffmpeg_dec_node_get_n_ports(struct spa_node *node,
static int
spa_ffmpeg_dec_node_get_port_ids(struct spa_node *node,
uint32_t n_input_ports,
uint32_t * input_ids,
uint32_t *input_ids,
uint32_t n_output_ports,
uint32_t * output_ids)
uint32_t *output_ids)
{
if (node == NULL)
return SPA_RESULT_INVALID_ARGUMENTS;
@ -350,7 +350,7 @@ spa_ffmpeg_dec_node_port_alloc_buffers(struct spa_node *node,
struct spa_param **params,
uint32_t n_params,
struct spa_buffer **buffers,
uint32_t * n_buffers)
uint32_t *n_buffers)
{
return SPA_RESULT_NOT_IMPLEMENTED;
}

View file

@ -133,9 +133,10 @@ spa_ffmpeg_enc_node_set_callbacks(struct spa_node *node,
static int
spa_ffmpeg_enc_node_get_n_ports(struct spa_node *node,
uint32_t * n_input_ports,
uint32_t * max_input_ports,
uint32_t * n_output_ports, uint32_t * max_output_ports)
uint32_t *n_input_ports,
uint32_t *max_input_ports,
uint32_t *n_output_ports,
uint32_t *max_output_ports)
{
if (node == NULL)
return SPA_RESULT_INVALID_ARGUMENTS;
@ -155,8 +156,9 @@ spa_ffmpeg_enc_node_get_n_ports(struct spa_node *node,
static int
spa_ffmpeg_enc_node_get_port_ids(struct spa_node *node,
uint32_t n_input_ports,
uint32_t * input_ids,
uint32_t n_output_ports, uint32_t * output_ids)
uint32_t *input_ids,
uint32_t n_output_ports,
uint32_t *output_ids)
{
if (node == NULL)
return SPA_RESULT_INVALID_ARGUMENTS;
@ -344,7 +346,8 @@ spa_ffmpeg_enc_node_port_alloc_buffers(struct spa_node *node,
uint32_t port_id,
struct spa_param **params,
uint32_t n_params,
struct spa_buffer **buffers, uint32_t * n_buffers)
struct spa_buffer **buffers,
uint32_t *n_buffers)
{
return SPA_RESULT_NOT_IMPLEMENTED;
}