Removed pixfmt from Video
This commit is contained in:
parent
0e18bf49d1
commit
226b3efe8f
4 changed files with 0 additions and 10 deletions
5
video.go
5
video.go
|
@ -20,7 +20,6 @@ type Video struct {
|
|||
fps float64 // Frames per second.
|
||||
codec string // Codec used for video encoding.
|
||||
audioCodec string // Codec used for audio encoding.
|
||||
pixfmt string // Pixel format video is stored in.
|
||||
framebuffer []byte // Raw frame data.
|
||||
pipe *io.ReadCloser // Stdout pipe for ffmpeg process.
|
||||
cmd *exec.Cmd // ffmpeg command.
|
||||
|
@ -69,10 +68,6 @@ func (video *Video) AudioCodec() string {
|
|||
return video.audioCodec
|
||||
}
|
||||
|
||||
func (video *Video) PixFmt() string {
|
||||
return video.pixfmt
|
||||
}
|
||||
|
||||
func (video *Video) FrameBuffer() []byte {
|
||||
return video.framebuffer
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue