mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-15 20:30:00 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user