mpegtstimedec

package
v0.0.0-...-0619cdb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package mpegtstimedec contains a MPEG-TS timestamp decoder.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

Decoder is a MPEG-TS timestamp decoder.

func New

func New(start int64) *Decoder

New allocates a Decoder.

func (*Decoder) Decode

func (d *Decoder) Decode(ts int64) time.Duration

Decode decodes a MPEG-TS timestamp.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL