diff options
| author | yangwei <[email protected]> | 2023-09-19 17:52:21 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-09-19 17:52:54 +0800 |
| commit | b89b6a58f59000e9abe99f1e41f6d76a8b4dc4bf (patch) | |
| tree | 122a544f3cd9665c33f3cb61b8eda2ca3a8f41c7 | |
| parent | f77dcf1c603a9b2b518c76385be3487ab1d9f94a (diff) | |
🐞 fix(__sapp_inject_ctrl_pkt): 同步流上的prepend_list到控制报文v4.3.26
| -rw-r--r-- | src/packet_io/sendpacket.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/packet_io/sendpacket.c b/src/packet_io/sendpacket.c index a8f2282..351b761 100644 --- a/src/packet_io/sendpacket.c +++ b/src/packet_io/sendpacket.c @@ -2860,6 +2860,10 @@ int __sapp_inject_ctrl_pkt(struct streaminfo *stream, enum sapp_inject_opt sio, sapp_runtime_log(RLOG_LV_INFO, "__sapp_inject_ctrl_pkt() error, not found raw_pkt!"); return -1; } + if(raw_stream_pr->sid_prepend_list != NULL) + { + ((raw_pkt_t *)raw_pkt)->prepend_list=raw_stream_pr->sid_prepend_list; + } if(raw_stream_pr->sid_append_list != NULL) { ((raw_pkt_t *)raw_pkt)->append_list=raw_stream_pr->sid_append_list; |
