projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LADSPA_PATH env var processing
[goodguy/history.git]
/
cinelerra-5.0
/
cinelerra
/
pluginfclient.C
diff --git
a/cinelerra-5.0/cinelerra/pluginfclient.C
b/cinelerra-5.0/cinelerra/pluginfclient.C
index 4efbe2d561496910a8fa62b4ed9680ea816e9fd1..2a222cbe0b3a380308b00604b885de3866c8cb99 100644
(file)
--- a/
cinelerra-5.0/cinelerra/pluginfclient.C
+++ b/
cinelerra-5.0/cinelerra/pluginfclient.C
@@
-803,11
+803,10
@@
int PluginFAClient::process_buffer(int64_t size, Samples **buffer, int64_t start
int in_channels = 0, out_channels = 0;
if( load_configuration() )
int in_channels = 0, out_channels = 0;
if( load_configuration() )
- plugin_position = -1;
- if( plugin_position != start_position ) {
- filter_position = plugin_position = start_position;
reactivate();
reactivate();
- }
+
+ if( plugin_position != start_position )
+ filter_position = plugin_position = start_position;
AVFrame *frame = 0;
int ret = activate();
AVFrame *frame = 0;
int ret = activate();
@@
-897,11
+896,10
@@
int PluginFVClient::process_buffer(VFrame **frames, int64_t position, double fra
int height = vframe->get_h();
if( load_configuration() )
int height = vframe->get_h();
if( load_configuration() )
- plugin_position = -1;
- if( plugin_position != position ) {
- filter_position = plugin_position = position;
reactivate();
reactivate();
- }
+
+ if( plugin_position != position )
+ filter_position = plugin_position = position;
int colormodel = vframe->get_color_model();
int ret = activate(width, height, colormodel);
int colormodel = vframe->get_color_model();
int ret = activate(width, height, colormodel);
@@
-1135,10
+1133,10
@@
void MWindow::init_ffmpeg_index(MWindow *mwindow, Preferences *preferences, FILE
if( server ) {
int result = server->open_plugin(1, preferences, 0, 0);
if( !result ) {
if( server ) {
int result = server->open_plugin(1, preferences, 0, 0);
if( !result ) {
- server->write_table(fp,
PLUGIN_FFMPEG_ID
);
+ server->write_table(fp,
filter->name, PLUGIN_FFMPEG_ID, 0
);
server->close_plugin();
}
server->close_plugin();
}
-
server->delete_this()
;
+
delete server
;
if( result ) fprintf(fp, "#%s\n", filter->name);
}
}
if( result ) fprintf(fp, "#%s\n", filter->name);
}
}