提交 77e6d3d8 authored 作者: blu's avatar blu

bugfix: correctly handling video streams with extra data

上级 ef1244bc
......@@ -583,6 +583,10 @@ protected:
AVStream *in_stream = nullptr, *out_stream = nullptr;
in_stream = pAVFormatInput->streams[packet.stream_index];
if(streamList[packet.stream_index] == -1) {
av_packet_unref(&packet);
continue;
}
packet.stream_index = streamList[packet.stream_index];
out_stream = pAVFormatRemux->streams[packet.stream_index];
//calc pts
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论