mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
更新第三方库
This commit is contained in:
parent
fcf641dfb6
commit
51fcaeda4c
@ -1 +1 @@
|
|||||||
Subproject commit d54285e96260e6d56d68929ec9ace402b83ff6b0
|
Subproject commit b878e869f995855d09013585de686e6a7330bd43
|
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user