mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
Better approach to is_local_media
This commit is contained in:
parent
5225d14d9c
commit
06092ab217
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public class Tutorial4 extends Activity implements SurfaceHolder.Callback, OnSee
|
|||
// Set the URI to play, and record whether it is a local or remote file
|
||||
private void setMediaUri() {
|
||||
nativeSetUri (mediaUri);
|
||||
if (mediaUri.startsWith("file://")) is_local_media = true;
|
||||
is_local_media = mediaUri.startsWith("file://");
|
||||
}
|
||||
|
||||
// Called from native code. Native code calls this once it has created its pipeline and
|
||||
|
|
Loading…
Reference in a new issue