Re: [libav-devel] PTS preservation when decoding an h.264 frame

2011-04-29 Thread Dennis Munsie
On Apr 29, 2011, at 12:11 AM, Ronald S. Bultje wrote: Hi, On Thu, Apr 28, 2011 at 5:35 PM, Dennis Munsie dmun...@gmail.com wrote: I might be missing something, but it doesn't appear that the PTS field in AVPacket is preserved when decoding an h.264 frame. The AVFrame that gets returned

[libav-devel] PTS preservation when decoding an h.264 frame

2011-04-28 Thread Dennis Munsie
Hi everyone -- I might be missing something, but it doesn't appear that the PTS field in AVPacket is preserved when decoding an h.264 frame. The AVFrame that gets returned has PTS set to AV_NOPTS_VALUE. Is this the desired behavior? If I put together a patch that preserved the PTS field,

Re: [libav-devel] PTS preservation when decoding an h.264 frame

2011-04-28 Thread Ronald S. Bultje
Hi, On Thu, Apr 28, 2011 at 5:35 PM, Dennis Munsie dmun...@gmail.com wrote: I might be missing something, but it doesn't appear that the PTS field in AVPacket is preserved when decoding an h.264 frame.  The AVFrame that gets returned has PTS set to AV_NOPTS_VALUE.  Is this the desired