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

Multi audio #38

Merged
merged 24 commits into from
May 2, 2024
Merged

Multi audio #38

merged 24 commits into from
May 2, 2024

Conversation

elv-reza
Copy link
Collaborator

@elv-reza elv-reza commented Apr 2, 2024

issue: #31

  • Add multi audio transcoding feature to avpipe
  • Add stream_index to stat callback functions
  • New unit tests for multi audio VOD and live
  • Remove audio_fill_gap param (it was deprecated).

@elv-reza elv-reza requested a review from elv-serban April 2, 2024 15:08
@@ -182,7 +184,8 @@ in_read_packet(
inctx->read_pos += r;

if (inctx->read_bytes - inctx->read_reported > BYTES_READ_REPORT) {
in_stat(opaque, in_stat_bytes_read);
/* Pass stream_index 0 (stream_index has no meaning for in_stat_bytes_read) */
in_stat(opaque, 0, in_stat_bytes_read);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we use -1 for "no stream"? So future code doesn't think it is stream 0
Or #define a "No stream" value

Copy link
Contributor

@elv-serban elv-serban left a comment

Choose a reason for hiding this comment

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

Looks good!

@elv-reza elv-reza merged commit 4543d8f into master May 2, 2024
@elv-reza elv-reza deleted the multi-audio branch May 2, 2024 14:20
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