media: collect media position when seek completes

This commit is contained in:
Wim Taymans 2010-03-05 19:08:08 +01:00
parent e19c382bbb
commit 2997806d43

View file

@ -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;