From 5a0097d767e6da919a97b2f5c63550967547311a Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Tue, 2 Feb 2010 03:47:06 +0100 Subject: Clarify that libass expects subtitle packets in Matroska format --- libass/ass.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libass/ass.h b/libass/ass.h index 822e3f7..c3a91e0 100644 --- a/libass/ass.h +++ b/libass/ass.h @@ -299,7 +299,8 @@ void ass_free_event(ASS_Track *track, int eid); void ass_process_data(ASS_Track *track, char *data, int size); /** - * \brief Parse Codec Private section of subtitle stream. + * \brief Parse Codec Private section of the subtitle stream, in Matroska + * format. See the Matroska specification for details. * \param track target track * \param data string to parse * \param size length of data @@ -307,8 +308,8 @@ void ass_process_data(ASS_Track *track, char *data, int size); void ass_process_codec_private(ASS_Track *track, char *data, int size); /** - * \brief Parse a chunk of subtitle stream data. In Matroska, - * this contains exactly 1 event (or a commentary). + * \brief Parse a chunk of subtitle stream data. A chunk contains exactly one + * event in Matroska format. See the Matroska specification for details. * \param track track * \param data string to parse * \param size length of data -- cgit v1.2.3