pub async fn process_caption_file(path: &Path) -> Result<()>Expand description
Processes a caption file using the functionality in the caption module.
This is a wrapper function that delegates the actual processing to the caption module’s implementation.
§Arguments
path- Path to the caption file to process
§Returns
Result<()>- Success or failure of the operation
§Errors
Returns an error if the caption processing fails