mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
New style process support.
This commit is contained in:
parent
2da0ea0b82
commit
d7d15a2fbd
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file
|
\file
|
||||||
\version \$Id: subtitles.cpp,v 1.1 2003/03/06 23:39:40 mosu Exp $
|
\version \$Id: subtitles.cpp,v 1.2 2003/04/11 11:54:36 mosu Exp $
|
||||||
\brief subtitle helper
|
\brief subtitle helper
|
||||||
\author Moritz Bunkus <moritz @ bunkus.org>
|
\author Moritz Bunkus <moritz @ bunkus.org>
|
||||||
*/
|
*/
|
||||||
@ -139,7 +139,8 @@ void subtitles_c::process(textsubs_packetizer_c *p) {
|
|||||||
sub_t *current;
|
sub_t *current;
|
||||||
|
|
||||||
while ((current = get_next()) != NULL) {
|
while ((current = get_next()) != NULL) {
|
||||||
p->process(current->start, current->end, current->subs);
|
p->process((unsigned char *)current->subs, 0, current->start,
|
||||||
|
current->end - current->start);
|
||||||
free(current->subs);
|
free(current->subs);
|
||||||
free(current);
|
free(current);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user