Skip to content
Snippets Groups Projects
Commit c4be288f authored by Muhammad Faiz's avatar Muhammad Faiz
Browse files

ffmpeg: count packets when queued


Because write_packet() fakely writes packets to muxer by queueing
them when muxer hasn't been initialized, it should also increment
frame_number fakely.
This is required because code in do_streamcopy() rely on
frame_number.

Should fix Ticket6227

Reviewed-by: default avatarJames Almer <jamrial@gmail.com>
Reviewed-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: default avatarMuhammad Faiz <mfcc64@gmail.com>
parent 9b4648a2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment