s->pf_read = Read;
s->pf_peek = Peek;
s->pf_control = Control;
+ stream_FilterSetDefaultReadDir( s );
return VLC_SUCCESS;
}
/* Create file name
* TODO allow prefix configuration */
- psz_file = input_CreateFilename( VLC_OBJECT(s), psz_path, INPUT_RECORD_PREFIX, psz_extension );
+ psz_file = input_CreateFilename( s->p_input, psz_path, INPUT_RECORD_PREFIX, psz_extension );
free( psz_path );