mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
Fix tutorial 5 seeking to last position after opening new media
This commit is contained in:
parent
2635e59fb4
commit
89e5a89fe6
1 changed files with 1 additions and 0 deletions
|
@ -285,6 +285,7 @@ public class Tutorial5 extends Activity implements SurfaceHolder.Callback, OnSee
|
|||
{
|
||||
if (resultCode == RESULT_OK && requestCode == PICK_FILE_CODE) {
|
||||
mediaUri = "file://" + data.getStringExtra(FileDialog.RESULT_PATH);
|
||||
position = 0;
|
||||
setMediaUri();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue