Separate state
Store the approved original file and preview state in different fields. Record whether a transcoding step is intentional and preserve source-relative timing.
Verify the outgoing file kind
Before upload, confirm the binary, byte count and allowed media type. Compare the returned API kind and validated duration.
Test a source change
Pick a second file and ensure any older preview task cannot replace the original approved input in flight.
Pass condition
The selected and quoted asset is the one intended for generation, independent of how preview renders it.