mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
gio: Make sure that we have the correct stream position when starting
This commit is contained in:
parent
f93b9df83d
commit
b9c79380aa
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue