summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xartigas@fluendo.com>2012-11-05 12:37:27 (GMT)
committerXavi Artigas <xartigas@fluendo.com>2012-11-05 12:37:27 (GMT)
commit89e5a89fe6d1bc7db1001725344707131d49ea3c (patch)
tree9a83c3aa2bf15b0d83c4794a76f65c5dbd1fe48f
parent2635e59fb46896808d618827c04b48974ff85de9 (diff)
downloadgst-sdk-tutorials-89e5a89fe6d1bc7db1001725344707131d49ea3c.tar.gz
gst-sdk-tutorials-89e5a89fe6d1bc7db1001725344707131d49ea3c.tar.xz
Fix tutorial 5 seeking to last position after opening new media
-rw-r--r--gst-sdk/tutorials/android-tutorial-5/src/com/gst_sdk_tutorials/tutorial_5/Tutorial5.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-sdk/tutorials/android-tutorial-5/src/com/gst_sdk_tutorials/tutorial_5/Tutorial5.java b/gst-sdk/tutorials/android-tutorial-5/src/com/gst_sdk_tutorials/tutorial_5/Tutorial5.java
index 6f47ccb..a590b4b 100644
--- a/gst-sdk/tutorials/android-tutorial-5/src/com/gst_sdk_tutorials/tutorial_5/Tutorial5.java
+++ b/gst-sdk/tutorials/android-tutorial-5/src/com/gst_sdk_tutorials/tutorial_5/Tutorial5.java
@@ -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();
}
}