enable scene detection, update man page, add commandline parameter -S/--scene-detection. automatically creates new samples from video files loaded at startup.

This commit is contained in:
niels
2015-05-30 23:32:01 +02:00
parent fd3b55d4d5
commit 3e1a9f1f11
8 changed files with 76 additions and 3 deletions

View File

@@ -337,6 +337,8 @@ sample_info *sample_skeleton_new(long startFrame, long endFrame)
return si;
}
int sample_store(sample_info * skel)
{
hnode_t *sample_node;
@@ -359,6 +361,15 @@ int sample_store(sample_info * skel)
return 0;
}
void sample_new_simple( void *el, long start, long end )
{
sample_info *sample = sample_skeleton_new(start,end);
if(sample) {
sample->edit_list = el;
sample_store(sample);
}
}
/****************************************************************************************************
*
* sample_get(int sample_id)