Skip to content

Commit

Permalink
Fix default value for max NAL unit size for H.265 (#17)
Browse files Browse the repository at this point in the history
Was using the H.264 size.
  • Loading branch information
nickexton authored Jan 18, 2024
1 parent a678684 commit 17cc51d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## unreleased

### Fixed

- Fix the `SmolRTSP_NalTransportConfig_default` value for H.265 ([PR #17](https://github.com/OpenIPC/smolrtsp/pull/17)).

## 0.1.3 - 2023-03-12

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/nal_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static int send_fu(
SmolRTSP_NalTransportConfig SmolRTSP_NalTransportConfig_default(void) {
return (SmolRTSP_NalTransportConfig){
.max_h264_nalu_size = SMOLRTSP_MAX_H264_NALU_SIZE,
.max_h265_nalu_size = SMOLRTSP_MAX_H264_NALU_SIZE,
.max_h265_nalu_size = SMOLRTSP_MAX_H265_NALU_SIZE,
};
}

Expand Down

0 comments on commit 17cc51d

Please sign in to comment.