Trivial fixes for GstBuffer->GstData migration

Original commit message from CVS:
Trivial fixes for GstBuffer->GstData migration
This commit is contained in:
David Schleef 2003-10-09 02:23:01 +00:00
parent f2d5cae8da
commit a2fcfe72d1
3 changed files with 4 additions and 4 deletions

View file

@ -697,9 +697,9 @@ gst_dvdec_push (GstDVDec *dvdec, GstBuffer *outbuf, GstPad *pad, GstClockTime ts
if ((dvdec->end_position != -1) &&
(dvdec->next_ts >= dvdec->end_position)) {
if (dvdec->loop)
gst_pad_push (pad, GST_DATA(gst_event_new (GST_EVENT_SEGMENT_DONE))));
gst_pad_push (pad, GST_DATA(gst_event_new (GST_EVENT_SEGMENT_DONE)));
else
gst_pad_push (pad, GST_DATA(gst_event_new (GST_EVENT_EOS))));
gst_pad_push (pad, GST_DATA(gst_event_new (GST_EVENT_EOS)));
}
}

View file

@ -338,7 +338,7 @@ gst_mikmod_loop (GstElement *element)
}
else {
gst_element_set_eos (GST_ELEMENT (mikmod));
gst_pad_push (mikmod->srcpad, GST_DATA (gst_event_new (GST_EVENT_EOS))));
gst_pad_push (mikmod->srcpad, GST_DATA (gst_event_new (GST_EVENT_EOS)));
}
}

View file

@ -323,7 +323,7 @@ gst_dv1394src_get (GstPad *pad)
while (dv1394src->buf == NULL)
raw1394_loop_iterate(dv1394src->handle);
return dv1394src->buf;
return GST_DATA(dv1394src->buf);
}
static GstElementStateReturn