You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavd/kmsgrab: Fix packet flag setting
Found-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -193,7 +193,7 @@ static int kmsgrab_read_packet(AVFormatContext *avctx, AVPacket *pkt)
|
||||
pkt->data = (uint8_t*)frame;
|
||||
pkt->size = sizeof(*frame);
|
||||
pkt->pts = now;
|
||||
pkt->flags = AV_PKT_FLAG_TRUSTED;
|
||||
pkt->flags |= AV_PKT_FLAG_TRUSTED;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user