mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-27 04:20:13 +08:00
修复编译问题
This commit is contained in:
parent
86afa379c4
commit
61afc57ed1
@ -96,7 +96,7 @@ int main(int argc, char *argv[]) {
|
||||
if(!merger){
|
||||
merger.set<FrameMerger>(FrameMerger::h264_prefix);
|
||||
}
|
||||
merger.get<FrameMerger>().inputFrame(frame,[&](uint32_t dts,uint32_t pts,const Buffer::Ptr &buffer){
|
||||
merger.get<FrameMerger>().inputFrame(frame,[&](uint32_t dts,uint32_t pts,const Buffer::Ptr &buffer, bool have_idr){
|
||||
AVFrame *pFrame = nullptr;
|
||||
bool flag = decoder.get<FFMpegDecoder>().inputVideo((unsigned char *) buffer->data(), buffer->size(), dts, &pFrame);
|
||||
if (flag) {
|
||||
|
Loading…
Reference in New Issue
Block a user