mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-28 14:16:32 +08:00
Compare commits
1 Commits
f1c09a9ac0
...
3caeda27f1
Author | SHA1 | Date | |
---|---|---|---|
|
3caeda27f1 |
@ -247,8 +247,7 @@ bool MP4MuxerMemory::inputFrame(const Frame::Ptr &frame) {
|
||||
_key_frame = false;
|
||||
}
|
||||
|
||||
// only audio all frame is key frame
|
||||
if (frame->keyFrame() || !haveVideo()) {
|
||||
if (frame->keyFrame()) {
|
||||
_key_frame = true;
|
||||
}
|
||||
if (frame->getTrackType() == TrackVideo || !haveVideo()) {
|
||||
|
Loading…
Reference in New Issue
Block a user