Skip to content
Snippets Groups Projects
Commit 657987fb authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Duncan McNamara
Browse files

Add a isVLC4 util function

parent ba8b6cc6
No related branches found
No related tags found
1 merge request!1555VLC 4: fix crashes and implement missing track features
......@@ -90,4 +90,6 @@ fun Array<MediaPlayer.TrackDescription>?.convertToVlcTrack(): Array<VlcTrack> {
newTracks.add(VlcTrackImpl(it))
}
return newTracks.toTypedArray()
}
\ No newline at end of file
}
fun isVLC4() = false
\ No newline at end of file
......@@ -81,4 +81,6 @@ fun Array<IMedia.Track>.convertToVlcTrack(): Array<VlcTrack> {
newTracks.add(VlcTrackImpl(it))
}
return newTracks.toTypedArray()
}
\ No newline at end of file
}
fun isVLC4() = true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment