wavparse: update for TOC API changes

This commit is contained in:
Tim-Philipp Müller 2012-07-28 11:26:01 +01:00
parent 5b4eb723b6
commit 1ddb71e5b6

View file

@ -1283,7 +1283,8 @@ gst_wavparse_create_toc (GstWavParse * wav)
return FALSE;
}
toc = gst_toc_new ();
/* FIXME: send CURRENT scope toc too */
toc = gst_toc_new (GST_TOC_SCOPE_GLOBAL);
/* add cue edition */
entry = gst_toc_entry_new (GST_TOC_ENTRY_TYPE_EDITION, "cue");