summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2003-10-08 16:08:19 +0000
committerAndy Wingo <wingo@pobox.com>2003-10-08 16:08:19 +0000
commitc07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 (patch)
tree88f65b715d1fa83677b13286b3681a6096b5dcf2 /gst/qtdemux
parent69edaac422d50a0e365fae15d354c07c0f5419d4 (diff)
downloadgst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.tar.gz
gst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.tar.bz2
gst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.zip
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Diffstat (limited to 'gst/qtdemux')
-rw-r--r--gst/qtdemux/qtdemux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index f5a95c03..dfd4b2c5 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -462,7 +462,7 @@ static void gst_qtdemux_loop_header (GstElement *element)
if(index==-1){
for(i=0;i<qtdemux->n_streams;i++){
gst_pad_push(qtdemux->streams[i]->pad,
- GST_BUFFER(gst_event_new (GST_EVENT_EOS)));
+ GST_DATA(gst_event_new (GST_EVENT_EOS)));
}
ret = gst_bytestream_seek(qtdemux->bs, 0, GST_SEEK_METHOD_END);
GST_DEBUG ("seek returned %d",ret);
@@ -516,7 +516,7 @@ static void gst_qtdemux_loop_header (GstElement *element)
GST_BUFFER_TIMESTAMP(buf) = stream->samples[stream->sample_index].timestamp;
GST_BUFFER_DURATION(buf) = stream->samples[stream->sample_index].duration;
- gst_pad_push(stream->pad, buf);
+ gst_pad_push(stream->pad, GST_DATA (buf));
}
stream->sample_index++;
break;