mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 03:28:09 +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;
|
TsMuxer *muxer = (TsMuxer *) param;
|
||||||
muxer->onTs(packet, bytes, muxer->_timestamp, muxer->_is_idr_fast_packet);
|
muxer->onTs(packet, bytes, muxer->_timestamp, muxer->_is_idr_fast_packet);
|
||||||
muxer->_is_idr_fast_packet = false;
|
muxer->_is_idr_fast_packet = false;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (_context == nullptr) {
|
if (_context == nullptr) {
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ PSDecoder::PSDecoder() {
|
|||||||
if(thiz->_on_decode){
|
if(thiz->_on_decode){
|
||||||
thiz->_on_decode(stream, codecid, flags, pts, dts, data, bytes);
|
thiz->_on_decode(stream, codecid, flags, pts, dts, data, bytes);
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
},this);
|
},this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ void PSEncoder::init() {
|
|||||||
[](void *param, int stream, void *packet, size_t bytes) {
|
[](void *param, int stream, void *packet, size_t bytes) {
|
||||||
PSEncoder *thiz = (PSEncoder *) param;
|
PSEncoder *thiz = (PSEncoder *) param;
|
||||||
thiz->onPS(thiz->_timestamp, packet, bytes);
|
thiz->onPS(thiz->_timestamp, packet, bytes);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user