mirror of
https://github.com/game-stop/veejay.git
synced 2026-01-06 23:15:30 +01:00
renderlist update
git-svn-id: svn://code.dyne.org/veejay/trunk@99 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -298,6 +298,7 @@ clip_info *clip_skeleton_new(long startFrame, long endFrame)
|
||||
si->selected_entry = 0;
|
||||
si->effect_toggle = 1;
|
||||
si->offset = 0;
|
||||
si->user_data = NULL;
|
||||
sprintf(si->descr, "%s", "Untitled");
|
||||
|
||||
/* the effect chain is initially empty ! */
|
||||
@@ -1178,6 +1179,21 @@ int clip_set_chain_source(int s1, int position, int input)
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
int clip_set_user_data(int s1, void *data)
|
||||
{
|
||||
clip_info *clip = clip_get(s1);
|
||||
if(!clip) return -1;
|
||||
clip->user_data = data;
|
||||
return ( clip_update(clip, s1) );
|
||||
}
|
||||
|
||||
void *clip_get_user_data(int s1)
|
||||
{
|
||||
clip_info *clip = clip_get(s1);
|
||||
if(!clip) return NULL;
|
||||
return clip->user_data;
|
||||
}
|
||||
|
||||
int clip_set_speed(int s1, int speed)
|
||||
{
|
||||
clip_info *clip = clip_get(s1);
|
||||
|
||||
Reference in New Issue
Block a user