Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions videoio.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,12 @@ func (vw *VideoWriter) Write(img Mat) error {
return nil
}

// return VideoWriter Point for unsafe.Pointer
//
func (vw *VideoWriter) Ptr() unsafe.Pointer {
return unsafe.Pointer(vw.p)
}

// OpenVideoCapture return VideoCapture specified by device ID if v is a
// number. Return VideoCapture created from video file, URL, or GStreamer
// pipeline if v is a string.
Expand Down