26 Mar
2010
26 Mar
'10
2:50 a.m.
On 24 March 2010 07:51, Michael Niedermayer <michaelni at gmx.at> wrote: [...]
you could put a 0 or 1 in AVPacket.data[0] but this is ugly, so lets just keep the ugly marking of half of them as keyframes.
The demuxer now marks pkt.data[0] as odd/even and all pkt.flags as key-frames. Doing this so that seeking using frame_pos = timestamp * frame_size + pos_min; seek(frame_pos); wouldn't be wrong. The first 4 B of pkt.data is unused anyway. Also modified the decoder to output in PAL8. Naufal