mirror of
https://github.com/game-stop/veejay.git
synced 2026-01-06 06:55:31 +01:00
update livido plugins to new api
This commit is contained in:
@@ -40,7 +40,7 @@ livido_deinit_f deinit_instance( livido_port_t *my_instance )
|
||||
}
|
||||
|
||||
|
||||
livido_process_f process_instance( livido_port_t *my_instance, double timecode )
|
||||
int process_instance( livido_port_t *my_instance, double timecode )
|
||||
{
|
||||
int len =0;
|
||||
uint8_t *O[4]= {NULL,NULL,NULL,NULL};
|
||||
@@ -52,7 +52,7 @@ livido_process_f process_instance( livido_port_t *my_instance, double timecode
|
||||
//@ get output channel details
|
||||
int error = lvd_extract_channel_values( my_instance, "out_channels", 0, &w,&h, O,&palette );
|
||||
if( error != LIVIDO_NO_ERROR )
|
||||
return LIVIDO_ERROR_HARDWARE; //@ error codes in livido flanky
|
||||
return LIVIDO_ERROR_NO_OUTPUT_CHANNELS; //@ error codes in livido flanky
|
||||
|
||||
int uv_len = lvd_uv_plane_len( palette,w,h );
|
||||
len = w * h;
|
||||
|
||||
Reference in New Issue
Block a user