Commit 119c4736 by Oliver Woodman

Temporary fix to prevent premature failures during HLS playbacks II.

parent 7c2d6355
...@@ -131,7 +131,9 @@ public class MetadataTrackRenderer<T> extends TrackRenderer implements Callback ...@@ -131,7 +131,9 @@ public class MetadataTrackRenderer<T> extends TrackRenderer implements Callback
try { try {
source.continueBuffering(trackIndex, positionUs); source.continueBuffering(trackIndex, positionUs);
} catch (IOException e) { } catch (IOException e) {
throw new ExoPlaybackException(e); // TODO: This should be propagated, but in the current design propagation may occur too
// early. See [Internal b/22291244].
// throw new ExoPlaybackException(e);
} }
if (!inputStreamEnded && pendingMetadata == null) { if (!inputStreamEnded && pendingMetadata == null) {
......
...@@ -136,7 +136,9 @@ public class Eia608TrackRenderer extends TrackRenderer implements Callback { ...@@ -136,7 +136,9 @@ public class Eia608TrackRenderer extends TrackRenderer implements Callback {
try { try {
source.continueBuffering(trackIndex, positionUs); source.continueBuffering(trackIndex, positionUs);
} catch (IOException e) { } catch (IOException e) {
throw new ExoPlaybackException(e); // TODO: This should be propagated, but in the current design propagation may occur too
// early. See [Internal b/22291244].
// throw new ExoPlaybackException(e);
} }
if (isSamplePending()) { if (isSamplePending()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment