[FFmpeg-devel] Sorry state of AVOptions

Nicolas George george at nsup.org
Thu Jul 4 22:33:41 EEST 2024


Paul B Mahol (12024-07-04):
> Nobody sane uses text manipulation in GUIs.

Then how would you do it?

	} else if (opt->type == AV_OPT_TYPE_COLOR) {
		create_color_picker_widget(opt);
	} else if (opt->type == AV_OPT_TYPE_DATE) {
		create_calendar_widget(opt);
	} else {
		???
	}

What do you put in the else clause when you already handled all types
you know how to handle?

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list