audiocdsrc: Only push TOC event, the TOC message is handled by the sinks
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 3 Jul 2012 15:31:54 +0000 (17:31 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 3 Jul 2012 15:31:54 +0000 (17:31 +0200)
gst-libs/gst/audio/gstaudiocdsrc.c

index 8ab0563..e8c1508 100644 (file)
@@ -1436,9 +1436,6 @@ gst_audio_cd_src_add_toc (GstAudioCdSrc * src)
   }
   toc->entries = entries.head;
 
-  gst_element_post_message (GST_ELEMENT_CAST (src),
-      gst_message_new_toc (GST_OBJECT (src), toc, FALSE));
-
   /* If we're in continuous mode (stream = whole disc), send a TOC event
    * downstream, so matroskamux etc. can write a TOC to indicate where the
    * various tracks are */