add raw package to format

master v1.0.6
Baik S. Hyun 4 years ago
parent 6fbf71c410
commit f30c8038b8

@ -5,6 +5,7 @@ import (
"gitlab.com/ics_cinnamon/joy4/av/avutil" "gitlab.com/ics_cinnamon/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/format/aac" "gitlab.com/ics_cinnamon/joy4/format/aac"
"gitlab.com/ics_cinnamon/joy4/format/raw"
) )
func RegisterAll() { func RegisterAll() {
@ -14,6 +15,7 @@ func RegisterAll() {
//avutil.DefaultHandlers.Add(rtsp.Handler) //avutil.DefaultHandlers.Add(rtsp.Handler)
//avutil.DefaultHandlers.Add(flv.Handler) //avutil.DefaultHandlers.Add(flv.Handler)
avutil.DefaultHandlers.Add(aac.Handler) avutil.DefaultHandlers.Add(aac.Handler)
avutil.DefaultHandlers.Add(raw.Handler)
fmt.Println("Handler Regi Done!") fmt.Println("Handler Regi Done!")
} }

Loading…
Cancel
Save