Skip to content

Commit

Permalink
try remove write refs
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Nov 28, 2023
1 parent d3213bf commit 62c9c73
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/encoding.jl
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ key of `VideoIO.VIO_DEF_ELTYPE_PIX_FMT_LU`, or instead the `Normed` or
`Unsigned` type for a corresponding `Gray` element type. The container type will
be inferred from `filename`.
Frames are encoded with[ `write`](@ref), which must use frames with
Frames are encoded with `write`, which must use frames with
the same size, element type, and obey the same value of `scanline_major`. The
video must be closed once all frames are encoded with
[`close_video_out!`](@ref).
Expand Down Expand Up @@ -468,7 +468,7 @@ occurred.
- `thread_count::Union{Nothing, Int} = nothing`: The number of threads the codec is
allowed to use, or `nothing` for default codec behavior. Defaults to `nothing`.
See also: [`write`](@ref), [`close_video_out!`](@ref)
See also: [`close_video_out!`](@ref)
"""
open_video_out(s::AbstractString, args...; kwargs...) = VideoWriter(s, args...; kwargs...)

Expand All @@ -494,8 +494,7 @@ Encoding options, restrictions on frame size and element type, and other
details are described in [`open_video_out`](@ref). All keyword arguments are
passed to `open_video_out`.
See also: [`open_video_out`](@ref), [`write`](@ref),
[`close_video_out!`](@ref)
See also: [`open_video_out`](@ref), [`close_video_out!`](@ref)
"""
function save(filename::String, imgstack; kwargs...)
open_video_out(filename, first(imgstack); kwargs...) do writer
Expand Down

0 comments on commit 62c9c73

Please sign in to comment.