Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Du <[email protected]>
  • Loading branch information
frankdjx committed Nov 9, 2023
1 parent db59609 commit a036474
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* backend/kernel: add multi thread support for both TX and RX.
* convert: add interlace support.
* rtcp: add retransmit packet support for st20 sessions, see STxx_RX_FLAG_ENABLE_RTCP.
* st2110: add ssrc support.
* rss: add multi-core support.

## Changelog for 23.08

Expand Down
4 changes: 2 additions & 2 deletions tests/src/st30_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ static void st30_rx_fps_test(enum st30_type type[], enum st30_sampling sample[],
ops_tx.channel = channel[i];
ops_tx.fmt = fmt[i];
ops_tx.payload_type = ST30_TEST_PAYLOAD_TYPE;
ops_tx.ssrc = i ? i + 342312 : 0;
ops_tx.ssrc = i ? i + 0x66666666 : 0;
ops_tx.ptime = ptime[i];
ops_tx.framebuff_size =
st30_get_packet_size(ops_tx.fmt, ops_tx.ptime, ops_tx.sampling, ops_tx.channel);
Expand Down Expand Up @@ -514,7 +514,7 @@ static void st30_rx_fps_test(enum st30_type type[], enum st30_sampling sample[],
ops_rx.channel = channel[i];
ops_rx.fmt = fmt[i];
ops_rx.payload_type = ST30_TEST_PAYLOAD_TYPE;
ops_rx.ssrc = i ? i + 342312 : 0;
ops_rx.ssrc = i ? i + 0x66666666 : 0;
ops_rx.ptime = ptime[i];
ops_rx.framebuff_size =
st30_get_packet_size(ops_rx.fmt, ops_rx.ptime, ops_rx.sampling, ops_rx.channel);
Expand Down
4 changes: 2 additions & 2 deletions tests/src/st40_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ static void st40_rx_fps_test(enum st40_type type[], enum st_fps fps[],
ops_tx.type = type[i];
ops_tx.fps = fps[i];
ops_tx.payload_type = ST40_TEST_PAYLOAD_TYPE;
ops_tx.ssrc = i ? i + 542312 : 0;
ops_tx.ssrc = i ? i + 0x88888888 : 0;
ops_tx.framebuff_cnt = test_ctx_tx[i]->fb_cnt;
if (user_timestamp) {
ops_tx.get_next_frame = tx_anc_next_frame_timestamp;
Expand Down Expand Up @@ -553,7 +553,7 @@ static void st40_rx_fps_test(enum st40_type type[], enum st_fps fps[],
ops_rx.notify_rtp_ready = rx_rtp_ready;
ops_rx.rtp_ring_size = 1024;
ops_rx.payload_type = ST40_TEST_PAYLOAD_TYPE;
ops_rx.ssrc = i ? i + 542312 : 0;
ops_rx.ssrc = i ? i + 0x88888888 : 0;
rx_handle[i] = st40_rx_create(m_handle, &ops_rx);
ASSERT_TRUE(rx_handle[i] != NULL);

Expand Down

0 comments on commit a036474

Please sign in to comment.