FEATURE: propagate improvements from CLI and web-API versions to web-frontend
This commit is contained in:
@@ -70,9 +70,10 @@ export const UploadZone: React.FC = () => {
|
||||
|
||||
// Fetch recommended format and update options
|
||||
try {
|
||||
// Inside UploadZone.tsx, after fetching recommended format:
|
||||
const rec = await getRecommendedFormat(taskId)
|
||||
// Update only the format; keep other options (e.g., transcode_to) as defaults
|
||||
setOptions({ format: rec.format })
|
||||
// Update options store with container (not format)
|
||||
setOptions({ container: rec.format })
|
||||
} catch (err) {
|
||||
console.warn('Failed to fetch recommended format, using default', err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user