[FFmpeg-devel] [PATCH] CrystalHD: skip opaque_list_pop call when picture is a second field

Philip Langdale philipl at overt.org
Sun May 13 18:28:09 CEST 2012


On Sun, 13 May 2012 00:00:24 +0200
Istvan Sebok <sebok.istvan at gmail.com> wrote:

> 

This isn't right. In the case where an input field-pair
gets broken up by the decoder, each output field will
have the same opaque value associated with it. The first
field will pop it off the list and the second will do
nothing.

In the case where there are two input fields, then each
one will get a separate opaque value and, obviously, both
should be popped to keep the list under control.

Did this change help you at all? You sent me another
email saying the list was growing uncontrollably - which
would happen with this change applied - as your samples
include 1:2 and 2:2 field pairings.

--phil


More information about the ffmpeg-devel mailing list