mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-16 11:00:52 +08:00
更新第三方库
This commit is contained in:
Submodule 3rdpart/media-server updated: d54285e962...b878e869f9
@@ -172,6 +172,7 @@ void TsMuxer::init() {
|
||||
TsMuxer *muxer = (TsMuxer *) param;
|
||||
muxer->onTs(packet, bytes, muxer->_timestamp, muxer->_is_idr_fast_packet);
|
||||
muxer->_is_idr_fast_packet = false;
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
if (_context == nullptr) {
|
||||
|
||||
@@ -26,6 +26,7 @@ PSDecoder::PSDecoder() {
|
||||
if(thiz->_on_decode){
|
||||
thiz->_on_decode(stream, codecid, flags, pts, dts, data, bytes);
|
||||
}
|
||||
return 0;
|
||||
},this);
|
||||
}
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ void PSEncoder::init() {
|
||||
[](void *param, int stream, void *packet, size_t bytes) {
|
||||
PSEncoder *thiz = (PSEncoder *) param;
|
||||
thiz->onPS(thiz->_timestamp, packet, bytes);
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user