Merge pull request #1373 from reime005/android-subtitle-fix
[WIP] Fix android subtitle issue caused by using rawdatasource
This commit is contained in:
commit
7837c39df0
@ -733,7 +733,7 @@ class ReactExoplayerView extends FrameLayout implements
|
|||||||
|
|
||||||
this.srcUri = uri;
|
this.srcUri = uri;
|
||||||
this.extension = extension;
|
this.extension = extension;
|
||||||
this.mediaDataSourceFactory = DataSourceUtil.getRawDataSourceFactory(this.themedReactContext);
|
this.mediaDataSourceFactory = buildDataSourceFactory(true);
|
||||||
|
|
||||||
if (!isOriginalSourceNull && !isSourceEqual) {
|
if (!isOriginalSourceNull && !isSourceEqual) {
|
||||||
reloadSource();
|
reloadSource();
|
||||||
|
Loading…
Reference in New Issue
Block a user