summaryrefslogtreecommitdiffstats
path: root/ext/ivorbis/vorbisfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ivorbis/vorbisfile.c')
-rw-r--r--ext/ivorbis/vorbisfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c
index 5b270fb9..fa9f8ef3 100644
--- a/ext/ivorbis/vorbisfile.c
+++ b/ext/ivorbis/vorbisfile.c
@@ -609,7 +609,7 @@ gst_ivorbisfile_loop (GstElement *element)
discont = gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME, time,
GST_FORMAT_DEFAULT, samples, NULL);
- gst_pad_push (ivorbisfile->srcpad, GST_BUFFER (discont));
+ gst_pad_push (ivorbisfile->srcpad, GST_DATA (discont));
}
}
@@ -623,7 +623,7 @@ gst_ivorbisfile_loop (GstElement *element)
}
if (GST_PAD_IS_USABLE (ivorbisfile->srcpad))
- gst_pad_push (ivorbisfile->srcpad, outbuf);
+ gst_pad_push (ivorbisfile->srcpad, GST_DATA (outbuf));
else
gst_buffer_unref (outbuf);
}