Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-fast-start files demuxer bug #86

Merged
merged 5 commits into from
Sep 4, 2023

Conversation

Noarkhh
Copy link
Contributor

@Noarkhh Noarkhh commented Sep 1, 2023

  • Fix a bug where a demuxer trying to demux a non-fast-start file with option optimize_for_non_fast_start? set to false would crash
  • Add tests covering that case

@Noarkhh Noarkhh marked this pull request as ready for review September 1, 2023 15:11
@Noarkhh Noarkhh requested a review from varsill September 4, 2023 07:28
examples/demuxer_isom.exs Show resolved Hide resolved
if Enum.all?([:sink_video, :sink_audio], &(&1 in state.children_with_eos)),
if Enum.all?([:sink_audio], &(&1 in state.children_with_eos)),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my oversight, was testing for audio only files and forgot to revert

}

{:mp4a, map}
# end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leftover

@Noarkhh Noarkhh requested a review from mat-hek September 4, 2023 09:34
@Noarkhh Noarkhh force-pushed the fix-non-fast-start-files-demuxing branch from 211b563 to 665d36b Compare September 4, 2023 21:26
@Noarkhh Noarkhh merged commit 9b75e66 into master Sep 4, 2023
@Noarkhh Noarkhh deleted the fix-non-fast-start-files-demuxing branch September 4, 2023 21:30
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.

2 participants