mirror of
https://github.com/giorgisio/goav.git
synced 2024-04-21 12:31:56 +00:00
example detailed log
This commit is contained in:
@@ -8,7 +8,6 @@ package avformat
|
||||
//#include <libavformat/avformat.h>
|
||||
import "C"
|
||||
import (
|
||||
"fmt"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
@@ -294,13 +293,3 @@ func (ctxt *AVFormatContext) Packet_size() uint {
|
||||
func (ctxt *AVFormatContext) Probesize() uint {
|
||||
return uint(ctxt.probesize)
|
||||
}
|
||||
|
||||
func Codec_type(s *AVStream, n int) *AVMediaType {
|
||||
c := s.Codec()
|
||||
fmt.Println("Codec Type: Fix Method")
|
||||
if c != nil {
|
||||
return (*AVMediaType)(unsafe.Pointer(&c.codec_type))
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user