Document backwards incompatibilities
Ripping this from #268 (closed) before closing it.
-
Document everything backwards incompatible in changelog: -
Stream.encode
returns a list of packets, instead of a single packet. -
AudioFifo
andAudioResampler
will raiseValueError
if input frames inconsistantpts
. -
CodecContext.rate
has been removed, but proxied toVideoCodecContext.framerate
andAudioCodecContext.sample_rate
. The definition is effectively inverted from the old one (i.e. for 24fps it used to be1/24
and is now24/1
). -
Fractions (e.g. time_base
,rate
) will beNone
if they are invalid. -
InputContainer.seek
andStream.seek
will raise TypeError if given a float, when previously they converted it from seconds.
-