[vlc-devel] Soft field repeat?
Laurent Aimar
fenrir at elivagar.org
Thu Jan 6 11:51:57 CET 2011
On Thu, Jan 06, 2011 at 12:20:25PM +0200, Juha Jeronen wrote:
> There is an "i_nb_fields" member in picture_t, but this seems to be set
> to 2 even for pictures whose PTS diff suggests it should be 3. Is this a
> bug, or working as expected?
It is probably a bug. This field is set by the decoder. With avcodec you
have:
p_pic->i_nb_fields = 2 + p_sys->p_ff_pic->repeat_pict;
Now, either avcode does not set 3 there, or this informations is lost
somewhere between the decoder and your filter.
--
fenrir
More information about the vlc-devel
mailing list