dvr: don't run postproc script unless there is actually a file to process
This commit is contained in:
parent
03e9f1179d
commit
665ca55b4e
1 changed files with 1 additions and 1 deletions
|
@ -628,6 +628,6 @@ dvr_thread_epilog(dvr_entry_t *de)
|
|||
de->de_mux = NULL;
|
||||
|
||||
dvr_config_t *cfg = dvr_config_find_by_name_default(de->de_config_name);
|
||||
if(cfg->dvr_postproc)
|
||||
if(cfg->dvr_postproc && de->de_filename)
|
||||
dvr_spawn_postproc(de,cfg->dvr_postproc);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue