mirror of
https://github.com/asticode/go-astiav.git
synced 2024-05-28 13:53:18 +08:00
Oops 2
This commit is contained in:
parent
df5bbff0e3
commit
5716a59af5
@ -74,11 +74,6 @@ func main() {
|
||||
// Create stream
|
||||
s := &stream{inputStream: is}
|
||||
|
||||
if sd := is.SideData(astiav.PacketSideDataTypeDisplaymatrix); len(sd) > 0 {
|
||||
m, _ := astiav.NewDisplayMatrixFromBytes(sd)
|
||||
log.Fatalf("rotation: %v | sd: %+v", m.Rotation(), sd)
|
||||
}
|
||||
|
||||
// Find decoder
|
||||
if s.decCodec = astiav.FindDecoder(is.CodecParameters().CodecID()); s.decCodec == nil {
|
||||
log.Fatal(errors.New("main: codec is nil"))
|
||||
|
Loading…
Reference in New Issue
Block a user