Getting frame number in display ordered

Takashi Mochizuki <[email protected]>
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
Hello,

I am trying to implement libxvidcore.a into my project (via  
libavcodec.a interface).
With self-patched libavcodec/libxvidff.c, I have got all of frames  
even using B-Frame.

Now I have a problem. In I-P-B pattern, decode order is not same as  
display order.
I want to know a pair of frame numbers in display and decode order for  
encoded frame.

Looking into xvid.h, it does not seems to keep original frame number  
(in display order)
inside xvid_enc_frame_t struct.

Would you please tell me how to get "display ordered frame number" for  
encoded frame?

Regards,
Takashi Mochizuki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.