mirror of
https://github.com/asticode/go-astiav.git
synced 2026-04-23 00:07:04 +08:00
1.6 KiB
1.6 KiB
v0.31.0
- removed
AllocImageandAllocSamplesthat are considered useless using CGO until proven otherwise
v0.30.0
HardwareFrameContexthas been renamed toHardwareFramesContext
v0.29.0
NewFilterContexthas been removed, useNewBuffersinkFilterContextorNewBuffersrcFilterContextinsteadargshas been removed fromNewBuffersinkFilterContextandNewBuffersrcFilterContext. Instead, after callingNewBuffersrcFilterContext, you need to useBuffersrcFilterContext.SetParametersthenBuffersrcFilterContext.Initialize. You don't need to use anything else after callingNewBuffersinkFilterContext
v0.27.0
- make sure to call the
IOInterrupter.Freemethod after usingNewIOInterrupter
v0.25.0
CodecParameters.CodecTypeandCodecParameters.SetCodecTypehave been removed, useCodecParameters.MediaTypeandCodecParameters.SetMediaTypeinsteadHardwareFrameContext.SetPixelFormathas been replaced withHardwareFrameContext.SetHardwarePixelFormatFormatContext.SetInterruptCallbackhas been replaced withFormatContext.SetIOInterrupter
v0.24.0
- use
FilterGraph.NewBuffersinkFilterContextandFilterGraph.NewBuffersrcFilterContextinstead ofFilterGraph.NewFilterContextwhen creatingbuffersinkandbuffersrcfilter contexts and useBuffersinkFilterContext.GetFrameandBuffersrcFilterContext.AddFrameto manipulate them. UseBuffersinkFilterContext.FilterContextandBuffersrcFilterContext.FilterContextinFilterInOut.SetFilterContext. FilterLinkhas been removed and methods likeBuffersinkFilterContext.ChannelLayouthave been added instead