johnoneil / arib

Japan Association of Radio Industries and Businesses (ARIB) MPEG2 Transport Stream Closed Caption Decoding Tools
Apache License 2.0
56 stars 9 forks source link

.ass file created even if no closed caption data present in file #41

Closed johnoneil closed 7 years ago

johnoneil commented 7 years ago

Issue is this in arib-ts2ass: Application creates an .ass file on the first caption management data packet found in the file.

HOWEVER, i'm seeing a lot of files that have this management data (at least at the start of a program) but don't contain any actual closed captions in the .ts file.

The creation of the .ass file should be dependent upon finding actual closed caption data, not management data. Or both.