Reporting number of processed filters with -set_filter and -set_filter_r

master
Thomas Schmitt 14 years ago
parent c89febb7a1
commit f109865cc4
  1. 6
      xorriso/xorriso.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -16475,6 +16475,7 @@ out_of_mem:;
/* Options -set_filter , -set_filter_r */
/* @param flag bit0=recursive -set_filter_r
bit1= do not reset pacifier, no final pacifier message
*/
int Xorriso_option_set_filter(struct XorrisO *xorriso, char *name,
int argc, char **argv, int *idx, int flag)
@ -16489,6 +16490,8 @@ int Xorriso_option_set_filter(struct XorrisO *xorriso, char *name,
argc, argv, *idx, &end_idx, &optc, &optv, 0);
if(ret <= 0)
goto ex;
if(!(flag&2))
Xorriso_pacifier_reset(xorriso, 0);
for(i= 0; i<optc; i++) {
if(flag&1) {
@ -16514,6 +16517,9 @@ int Xorriso_option_set_filter(struct XorrisO *xorriso, char *name,
continue;
ret= 0; goto ex;
}
if(!(flag&2))
Xorriso_pacifier_callback(xorriso, "file filters processed",
xorriso->pacifier_count, 0, "", 1);
ret= 1;
ex:;
(*idx)= end_idx;

@ -1 +1 @@
#define Xorriso_timestamP "2009.04.04.144241"
#define Xorriso_timestamP "2009.04.05.110534"

Loading…
Cancel
Save