Skip to content

Implement stream serial tracking for Ogg files#193

Open
devoxin wants to merge 1 commit into
mainfrom
fix/multi-stream-ogg
Open

Implement stream serial tracking for Ogg files#193
devoxin wants to merge 1 commit into
mainfrom
fix/multi-stream-ogg

Conversation

@devoxin

@devoxin devoxin commented Jul 3, 2026

Copy link
Copy Markdown
Member

Implements stream tracking for Ogg files -- should fix #111 but I can't actually remember what test file I used for that. This does at least fix another Ogg file I have, that threw a decoder error because of this problem.

By tracking serials, we can restrict packet reading to those relevant to the audio stream initially detected. This means that for ogg files with Theora video interleaved, we're not serving Theora video packets to the decoder, which would break playback.

This does not fix tracks that aren't detected if a video stream precedes the audio stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OGG track probing appears to fail if a thumbnail (video stream) is present

1 participant