Commit 51fcaeda by xiongziliang

更新第三方库

parent fcf641df
Subproject commit d54285e96260e6d56d68929ec9ace402b83ff6b0 Subproject commit b878e869f995855d09013585de686e6a7330bd43
...@@ -172,6 +172,7 @@ void TsMuxer::init() { ...@@ -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() { ...@@ -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() { ...@@ -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;
} }
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论