Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sub: add demux_libass wrapper, drop old hacks | wm4 | 2013-06-25 | 1 | -0/+108 |
demux_libass.c allows us to make subtitle format detection part of the normal file loading process. libass has no probe function, but trying to load the start of a file (the first 4 KB) is good enough. Hope that libass can even handle random binary input gracefully without printing stupid log messages, and that the libass parser doesn't accept too many non-ASS files as input. This doesn't handle the -subcp option correctly yet. This will be fixed later. |