+ /* Statistics input/output preferences */
+ var_Get( p_enc, SOUT_CFG_PREFIX "stat-in", &val );
+ if( val.psz_string && *val.psz_string )
+ {
+ p_sys->param.rc.b_stat_read = 1;
+ p_sys->param.rc.psz_stat_in = val.psz_string;
+
+ msg_Dbg( p_enc, "Reading encoding statistics from \"%s\"\n",
+ p_sys->param.rc.psz_stat_in );
+ }
+ else
+ {
+ p_sys->param.rc.b_stat_read = 0;
+ }
+
+ var_Get( p_enc, SOUT_CFG_PREFIX "stat-out", &val );
+ if( val.psz_string && *val.psz_string )
+ {
+ p_sys->param.rc.b_stat_write = 1;
+ p_sys->param.rc.psz_stat_out = val.psz_string;
+
+ msg_Dbg( p_enc, "Writing encoding statistics to \"%s\"\n",
+ p_sys->param.rc.psz_stat_out );
+ }
+ else
+ {
+ p_sys->param.rc.b_stat_write = 0;
+ }
+