mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
rtspsrc: Remove useless function
This function didn't do anything special, let's not use a function for that.
This commit is contained in:
parent
12762ad1a5
commit
32aed67144
1 changed files with 4 additions and 11 deletions
|
@ -2409,16 +2409,6 @@ out:
|
|||
gst_query_unref (query);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_rtspsrc_do_seek (GstRTSPSrc * src, GstSegment * segment)
|
||||
{
|
||||
src->state = GST_RTSP_STATE_SEEKING;
|
||||
/* PLAY will add the range header now. */
|
||||
src->need_range = TRUE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_rtspsrc_perform_seek (GstRTSPSrc * src, GstEvent * event)
|
||||
{
|
||||
|
@ -2508,7 +2498,10 @@ gst_rtspsrc_perform_seek (GstRTSPSrc * src, GstEvent * event)
|
|||
}
|
||||
src->skip = skip;
|
||||
|
||||
gst_rtspsrc_do_seek (src, &seeksegment);
|
||||
src->state = GST_RTSP_STATE_SEEKING;
|
||||
|
||||
/* PLAY will add the range header now. */
|
||||
src->need_range = TRUE;
|
||||
|
||||
/* and continue playing */
|
||||
if (playing)
|
||||
|
|
Loading…
Reference in a new issue