gio: Make sure that we have the correct stream position when starting
This commit is contained in:
parent
f93b9df83d
commit
b9c79380aa
@ -136,6 +136,9 @@ gst_gio_base_src_start (GstBaseSrc * base_src)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (G_IS_SEEKABLE (src->stream))
|
||||||
|
src->position = g_seekable_tell (G_SEEKABLE (src->stream));
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (src, "started source");
|
GST_DEBUG_OBJECT (src, "started source");
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user