mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
media: collect media position when seek completes
This commit is contained in:
parent
e19c382bbb
commit
2997806d43
1 changed files with 2 additions and 0 deletions
|
@ -471,6 +471,8 @@ gst_rtsp_media_seek (GstRTSPMedia * media, GstRTSPTimeRange * range)
|
|||
GST_INFO ("done seeking %d", res);
|
||||
gst_element_get_state (media->pipeline, NULL, NULL, -1);
|
||||
GST_INFO ("prerolled again");
|
||||
|
||||
collect_media_stats (media);
|
||||
} else {
|
||||
GST_INFO ("no seek needed");
|
||||
res = TRUE;
|
||||
|
|
Loading…
Reference in a new issue