Closed farindk closed 5 years ago
I added an option to ignore the frame-rate of the inputs as I experienced a problem when processing single frames with fake frame rates.
Furthermore, I fixed the parsing of the Y4M header. This trace shows how it was going wrong before: |W1216 H912 F25:1 Ip A0:0 C420jpeg XYSCSS=420JPEG | |H912 F25:1 Ip A0:0 C420jpeg XYSCSS=420JPEG | |F25:1 Ip A0:0 C420jpeg XYSCSS=420JPEG | |Ip A0:0 C420jpeg XYSCSS=420JPEG | |A0:0 C420jpeg XYSCSS=420JPEG | |C420jpeg XYSCSS=420JPEG | |XYSCSS=420JPEG | |CSS=420JPEG |
The parameter starting with 'X' was not correctly skipped and then mistaken for a 'C' parameter.
The changes seem reasonable to me :)
Static floating point member variable initialization must be constexpr.