wavparse: update for TOC API changes
authorTim-Philipp Müller <tim@centricular.net>
Sat, 28 Jul 2012 10:26:01 +0000 (11:26 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 28 Jul 2012 10:26:01 +0000 (11:26 +0100)
gst/wavparse/gstwavparse.c

index 3605955..97e19fc 100644 (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");