media/library/src/main/java/com/google/android/exoplayer
olly 2a9eeaa893 Fix HlsSampleSource use of LoadControl.
There are multiple issues with HlsSampleSource's use of
LoadControl that become apparent when you attempt to use
the same LoadControl for loads by another source.

* In the "limbo" state HlsSampleSource doesn't start any
  new loads, but doesn't update the LoadControl to tell
  it that it doesn't want to load anything either. This
  can prevent another source from starting the loads that
  it needs to make to complete preparation, causing
  playback to become stuck.
* The LoadControl isn't updated properly when the EOS is
  reached. This can cause playback to become stuck near
  the end of the media.
* If HlsSampleSource is released from being in the "limbo"
  state, it doesn't unregister itself with the control.

Issue: #151
Issue: #676
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=111942009
2016-01-14 17:13:32 +00:00
..
audio Minor tweaks to AudioTrack playback params logic. 2015-12-07 19:55:21 +00:00
chunk Internal refactor. 2016-01-14 17:13:08 +00:00
dash Internal refactor. 2016-01-14 17:13:08 +00:00
drm Make sure we use the correct mimeType with DRM initialization data. 2015-11-25 16:47:05 +00:00
extractor Add limited support for edit lists in fragmented MP4s. 2016-01-14 17:13:31 +00:00
hls Fix HlsSampleSource use of LoadControl. 2016-01-14 17:13:32 +00:00
metadata Clean up expansion of sample buffers. 2015-09-28 20:23:45 +01:00
smoothstreaming SmoothStreaming track selector feature parity with DASH. 2016-01-14 17:08:25 +00:00
text Refactored the Webvtt parsing classes 2016-01-07 22:52:34 +00:00
upstream Added a isLocalFileUrlOrPath(Uri) method to remove manual checks 2015-11-27 15:59:25 +00:00
util Fixed demo-misc-vp9-opus-sw DASH check 2016-01-14 17:13:32 +00:00
AspectRatioFrameLayout.java Change how subtitles are laid out in the demo app. 2015-07-15 11:09:20 +01:00
BehindLiveWindowException.java Make classes/methods final to prevent uncontrolled extension. 2015-08-03 15:18:09 +01:00
C.java Use API level 23 constants. 2015-11-25 17:05:59 +00:00
CodecCounters.java check maximum consecutively dropped frames in video tests 2015-11-25 17:01:21 +00:00
CryptoInfo.java Make classes/methods final to prevent uncontrolled extension. 2015-08-03 15:18:09 +01:00
DecoderInfo.java Use new MediaCodecList APIs on L. 2014-11-18 18:58:04 +00:00
DefaultLoadControl.java Make classes/methods final to prevent uncontrolled extension. 2015-08-03 15:18:09 +01:00
DummyTrackRenderer.java Propagate MediaFormat instead of TrackInfo. 2015-08-11 18:23:22 +01:00
ExoPlaybackException.java Distinguish exceptions caught at top level. 2015-05-01 20:31:49 +01:00
ExoPlayer.java Make getRendererEnabled behavior the same as it used to be, until it's removed. 2015-08-19 16:32:01 +01:00
ExoPlayerImpl.java Make getRendererEnabled behavior the same as it used to be, until it's removed. 2015-08-19 16:32:01 +01:00
ExoPlayerImplInternal.java Don't use getClass().getSimpleName() where it's pointless to do so 2015-11-17 15:52:58 +00:00
ExoPlayerLibraryInfo.java Bump version to 1.5.3. 2015-12-08 18:00:46 +00:00
FrameworkSampleSource.java Make sure we use the correct mimeType with DRM initialization data. 2015-11-25 16:47:05 +00:00
LoadControl.java Remove dead code (failed==false in all cases) 2015-07-21 17:36:07 +01:00
MediaClock.java Steps toward full multi-track support. 2015-06-18 14:27:24 +01:00
MediaCodecAudioTrackRenderer.java Expose control over decoder selection. 2015-12-16 20:41:51 +00:00
MediaCodecSelector.java Expose control over decoder selection. 2015-12-16 20:41:51 +00:00
MediaCodecTrackRenderer.java Workaround flushing issues on S-3 JB MR2. 2016-01-06 17:43:02 +00:00
MediaCodecUtil.java Blacklist CIPVorbisDecoder. 2016-01-04 20:59:22 +00:00
MediaCodecVideoTrackRenderer.java Add a comment to explain the input size calculation. 2016-01-14 17:13:31 +00:00
MediaFormat.java Implement ID3 Metadata support for audio only HLS. 2016-01-05 14:52:51 +00:00
MediaFormatHolder.java Generalize getPsshInfo to properly accomodate WebM. 2015-03-10 19:42:48 +00:00
ParserException.java Throw ParserException from parsers when a parse exception occurs. 2015-10-26 15:18:53 +00:00
SampleHolder.java Clean up expansion of sample buffers. 2015-09-28 20:23:45 +01:00
SampleSource.java Allow ChunkSource an opportunity to fail preparation. 2015-08-17 17:14:21 +01:00
SampleSourceTrackRenderer.java Implement handlesTrack using MediaCodecUtil. 2015-09-18 18:22:40 +01:00
SingleSampleSource.java Clean up expansion of sample buffers. 2015-09-28 20:23:45 +01:00
StandaloneMediaClock.java Make classes/methods final to prevent uncontrolled extension. 2015-08-03 15:18:09 +01:00
TimeRange.java Support dynamic TimeRange for DASH live. 2015-09-01 14:14:10 +01:00
TrackRenderer.java Clean up TrackRenderer TODOs 2015-09-28 12:24:35 +01:00
VideoFrameReleaseTimeHelper.java Work around for the Choreographer's resource leak. 2016-01-04 20:58:39 +00:00