You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ogg sample throws and exception. Might be a problem with the content, but I cannot tell the cause at the moment. Other ogg files play correctly.
CALLSTACK
java.io.EOFException
at com.google.android.exoplayer.extractor.ogg.OggUtil.populatePageHeader(OggUtil.java:108)
at com.google.android.exoplayer.extractor.ogg.OggReader.readGranuleOfLastPage(OggReader.java:119)
at com.google.android.exoplayer.extractor.ogg.OggVorbisExtractor.read(OggVorbisExtractor.java:118)
at com.google.android.exoplayer.extractor.ExtractorSampleSource$ExtractingLoadable.load(ExtractorSampleSource.java:836)
at com.google.android.exoplayer.upstream.Loader$LoadTask.run(Loader.java:209)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Repro steps:
Add sample to Samples.java:
new Sample( "Short ogg file", "http://www.w3schools.com/tags/horse.ogg", Util.TYPE_OTHER),
attempt to play it
Content: http://www.w3schools.com/tags/horse.ogg
**
The version of ExoPlayer being used:**
Where does the -8000 come from in VorbisReader.read? Could this be made a named constant or could an inline comment be added for clarification?
After seeking to length-8000 readGranuleOfLastPage finds lots of page headers, but none for which the condition to exit the while loop is true. I think the file probably doesn't have "last page" flag set on the last page. It should be trivial to handle this case by breaking out of the loop if the input's position ends up being equal to its length after the body for the previous page has been skipped?
Ogg sample throws and exception. Might be a problem with the content, but I cannot tell the cause at the moment. Other ogg files play correctly.
CALLSTACK
Repro steps:
new Sample( "Short ogg file", "http://www.w3schools.com/tags/horse.ogg", Util.TYPE_OTHER),
Content:
http://www.w3schools.com/tags/horse.ogg
**
The version of ExoPlayer being used:**
bugreport.txt
The text was updated successfully, but these errors were encountered: