renderlist update

git-svn-id: svn://code.dyne.org/veejay/trunk@99 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2004-12-12 19:40:16 +00:00
parent 1dc8035a86
commit 8496f6fddd
11 changed files with 416 additions and 17 deletions

View File

@@ -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);