mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
Trivial fixes for GstBuffer->GstData migration
Original commit message from CVS: Trivial fixes for GstBuffer->GstData migration
This commit is contained in:
parent
f2d5cae8da
commit
a2fcfe72d1
3 changed files with 4 additions and 4 deletions
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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)));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue