mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-19 22:30:06 +01:00
issue #42
This commit is contained in:
@@ -4671,8 +4671,10 @@ static void load_samplelist_info(gboolean with_reset_slotselection)
|
||||
if( fxtext ) free(fxtext);
|
||||
fxlen = 0;
|
||||
|
||||
load_from = (info->status_tokens[PLAY_MODE] == MODE_STREAM ?
|
||||
info->status_tokens[ SAMPLE_COUNT ] : info->status_tokens[ SAMPLE_INV_COUNT ] );
|
||||
// load_from = (info->status_tokens[PLAY_MODE] == MODE_STREAM ?
|
||||
// info->status_tokens[ SAMPLE_COUNT ] : info->status_tokens[ SAMPLE_INV_COUNT ] );
|
||||
|
||||
load_from = 0; /* usually there are not that many streams but FIXME: offset wrong by one */
|
||||
if( load_from < 0 )
|
||||
{
|
||||
load_from = 0;
|
||||
|
||||
@@ -241,6 +241,7 @@ int vj_perform_take_bg(veejay_t *info, VJFrame *frame)
|
||||
fx_id == VJ_IMAGE_EFFECT_BGSUBTRACT ||
|
||||
fx_id == VJ_IMAGE_EFFECT_BGSUBTRACTGAUSS ||
|
||||
fx_id == VJ_VIDEO_EFFECT_DIFF ||
|
||||
fx_id == VJ_IMAGE_EFFECT_BGPUSH ||
|
||||
fx_id == VJ_IMAGE_EFFECT_CONTOUR )
|
||||
{
|
||||
vj_effect_prepare( frame, fx_id );
|
||||
@@ -263,6 +264,7 @@ int vj_perform_take_bg(veejay_t *info, VJFrame *frame)
|
||||
fx_id == VJ_IMAGE_EFFECT_BGSUBTRACT ||
|
||||
fx_id == VJ_IMAGE_EFFECT_BGSUBTRACTGAUSS ||
|
||||
fx_id == VJ_VIDEO_EFFECT_DIFF ||
|
||||
fx_id == VJ_IMAGE_EFFECT_BGPUSH ||
|
||||
fx_id == VJ_IMAGE_EFFECT_CONTOUR )
|
||||
{
|
||||
vj_effect_prepare( frame, fx_id );
|
||||
|
||||
Reference in New Issue
Block a user