3 Commits

Author SHA1 Message Date
jp9000
6534bf5834 obs-x264: Move options parser to its own lib 2021-10-25 12:24:16 -07:00
Matthew Glazar
601aa3ffb1 obs-x264: Log ignored options
When an x264 option doesn't include a "=", it is silently ignored. This
is frustrating for users. Log when part of the options string is
ignored.

Aside from logging, this commit should not change behavior.
2020-05-17 15:08:39 -07:00
Matthew Glazar
40b4e32c41 obs-x264: Refactor tokenizing of options
We do a bad job of handling errors in user-supplied x264 options. I want
to improve our error handling. To make my job easier, move the code for
parsing the x264 options string into its own function. Also, add some
tests for the functionality.

Aside from a minor tweak to a log message for the opencl option, this
commit should not change behavior.
2020-05-17 15:08:34 -07:00