mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
gst/rtsp/gstrtspsrc.c: Fix for core changes.
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_add_element), (gst_rtspsrc_play): Fix for core changes.
This commit is contained in:
parent
a88aaf5b03
commit
bae4e2ad4a
3 changed files with 9 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_add_element),
|
||||||
|
(gst_rtspsrc_play):
|
||||||
|
Fix for core changes.
|
||||||
|
|
||||||
2005-07-18 Jan Schmidt <thaytan@mad.scientist.com>
|
2005-07-18 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* ext/mad/gstid3tag.c: (gst_id3_tag_sink_event):
|
* ext/mad/gstid3tag.c: (gst_id3_tag_sink_event):
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit ac7272b7af934c2294a44ac1c0f3fac3f8d17ec6
|
Subproject commit 6f9b691adc2a0300598311671dd7c4d9d2035afa
|
|
@ -244,8 +244,6 @@ static gboolean
|
||||||
gst_rtspsrc_add_element (GstRTSPSrc * src, GstElement * element)
|
gst_rtspsrc_add_element (GstRTSPSrc * src, GstElement * element)
|
||||||
{
|
{
|
||||||
gst_object_set_parent (GST_OBJECT (element), GST_OBJECT (src));
|
gst_object_set_parent (GST_OBJECT (element), GST_OBJECT (src));
|
||||||
gst_element_set_manager (element, GST_ELEMENT_MANAGER (src));
|
|
||||||
gst_element_set_scheduler (element, GST_ELEMENT_SCHEDULER (src));
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@ -795,10 +793,8 @@ gst_rtspsrc_play (GstRTSPSrc * src)
|
||||||
if (!gst_rtspsrc_send (src, &request, &response))
|
if (!gst_rtspsrc_send (src, &request, &response))
|
||||||
goto send_error;
|
goto send_error;
|
||||||
|
|
||||||
if (GST_ELEMENT_SCHEDULER (src) && src->interleaved) {
|
if (src->interleaved) {
|
||||||
src->task =
|
src->task = gst_task_create ((GstTaskFunction) gst_rtspsrc_loop, src);
|
||||||
gst_scheduler_create_task (GST_ELEMENT_SCHEDULER (src),
|
|
||||||
(GstTaskFunction) gst_rtspsrc_loop, src);
|
|
||||||
|
|
||||||
gst_task_start (src->task);
|
gst_task_start (src->task);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue