example detailed log

This commit is contained in:
H.G. Giorgis
2015-08-31 02:47:37 -04:00
parent 4a867a3f28
commit f50f68b32a
2 changed files with 14 additions and 18 deletions
-11
View File
@@ -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
}
}