gio: Make sure that we have the correct stream position when starting

This commit is contained in:
Sebastian Dröge 2009-07-09 13:45:13 +02:00
parent f93b9df83d
commit b9c79380aa

View file

@ -136,6 +136,9 @@ gst_gio_base_src_start (GstBaseSrc * base_src)
return FALSE;
}
if (G_IS_SEEKABLE (src->stream))
src->position = g_seekable_tell (G_SEEKABLE (src->stream));
GST_DEBUG_OBJECT (src, "started source");
return TRUE;