HardwareFrameContext
has been renamed toHardwareFramesContext
NewFilterContext
has been removed, useNewBuffersinkFilterContext
orNewBuffersrcFilterContext
insteadargs
has been removed fromNewBuffersinkFilterContext
andNewBuffersrcFilterContext
. Instead, after callingNewBuffersrcFilterContext
, you need to useBuffersrcFilterContext
.SetParameters
thenBuffersrcFilterContext
.Initialize
. You don't need to use anything else after callingNewBuffersinkFilterContext
- make sure to call the
IOInterrupter
.Free
method after usingNewIOInterrupter
CodecParameters
.CodecType
andCodecParameters
.SetCodecType
have been removed, useCodecParameters
.MediaType
andCodecParameters
.SetMediaType
insteadHardwareFrameContext
.SetPixelFormat
has been replaced withHardwareFrameContext
.SetHardwarePixelFormat
FormatContext
.SetInterruptCallback
has been replaced withFormatContext
.SetIOInterrupter
- use
FilterGraph
.NewBuffersinkFilterContext
andFilterGraph
.NewBuffersrcFilterContext
instead ofFilterGraph
.NewFilterContext
when creatingbuffersink
andbuffersrc
filter contexts and useBuffersinkFilterContext
.GetFrame
andBuffersrcFilterContext
.AddFrame
to manipulate them. UseBuffersinkFilterContext
.FilterContext
andBuffersrcFilterContext
.FilterContext
inFilterInOut
.SetFilterContext
. FilterLink
has been removed and methods likeBuffersinkFilterContext
.ChannelLayout
have been added instead