flacparse: update for TOC API changes

This commit is contained in:
Tim-Philipp Müller 2012-07-28 11:20:08 +01:00
parent 0827f54b93
commit 1d5ed57cfa

View file

@ -995,7 +995,7 @@ gst_flac_parse_handle_cuesheet (GstFlacParse * flacparse, GstBuffer * buffer)
gst_buffer_map (buffer, &map, GST_MAP_READ);
gst_byte_reader_init (&reader, map.data, map.size);
toc = gst_toc_new ();
toc = gst_toc_new (GST_TOC_SCOPE_GLOBAL);
/* skip 4 bytes METADATA_BLOCK_HEADER */
/* http://flac.sourceforge.net/format.html#metadata_block_header */