diff options
Diffstat (limited to 'gst/isomp4/qtdemux.c')
-rw-r--r-- | gst/isomp4/qtdemux.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index ccb6c4f61..61dd18b86 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -2339,15 +2339,16 @@ qtdemux_parse_sidx (GstQTDemux * qtdemux, const guint8 * buffer, gint length) GstIsoffParserResult res; guint consumed; - gst_isoff_sidx_parser_init (&sidx_parser); + gst_isoff_qt_sidx_parser_init (&sidx_parser); res = - gst_isoff_sidx_parser_add_data (&sidx_parser, buffer, length, &consumed); + gst_isoff_qt_sidx_parser_add_data (&sidx_parser, buffer, length, + &consumed); GST_DEBUG_OBJECT (qtdemux, "sidx parse result: %d", res); - if (res == GST_ISOFF_PARSER_DONE) { + if (res == GST_ISOFF_QT_PARSER_DONE) { check_update_duration (qtdemux, sidx_parser.cumulative_pts); } - gst_isoff_sidx_parser_clear (&sidx_parser); + gst_isoff_qt_sidx_parser_clear (&sidx_parser); } /* caller verifies at least 8 bytes in buf */ |