ascent12 / drm_info

Moved to https://gitlab.freedesktop.org/emersion/drm_info
MIT License
64 stars 13 forks source link

fourcc: Search entire file instead of one line at a time #32

Closed soreau closed 5 years ago

soreau commented 5 years ago

The regex matching formats and modifiers were reading ahead to a nonexistent condition since the code was reading one line at a time. Fix this by reading the entire file into a string and parsing it from there. This effectively adds *_GOB mod formats.

emersion commented 5 years ago

Build fails because meson's wrapdb is down, it seems.

ascent12 commented 5 years ago

Thanks!

(We won't worry about that build failure, since it's wrapdb)