func (avs *Stream) FirstDts() int64 {
	return int64(avs.first_dts)
}
func (avs *Stream) FirstDiscardSample() int64 {
return int64(avs.first_discard_sample)
}
package avformat
import "C"
import (
	"unsafe"
	"github.com/giorgisio/goav/avcodec"
	"github.com/giorgisio/goav/avutil"
)
func (avs *Stream) CodecParameters() *avcodec.AvCodecParameters {
	return (*avcodec.AvCodecParameters)(unsafe.Pointer(avs.codecpar))
}
func (avs *Stream) Codec() *CodecContext {
	return (*CodecContext)(unsafe.Pointer(avs.codec))
}
func (avs *Stream) Metadata() *avutil.Dictionary {
	return (*avutil.Dictionary)(unsafe.Pointer(avs.metadata))
}
func (avs *Stream) IndexEntries() *AvIndexEntry {
	return (*AvIndexEntry)(unsafe.Pointer(avs.index_entries))
}
func (avs *Stream) AttachedPic() avcodec.Packet {
	return *fromCPacket(&avs.attached_pic)
}
func (avs *Stream) SideData() *AvPacketSideData {
	return (*AvPacketSideData)(unsafe.Pointer(avs.side_data))
}
func (avs *Stream) ProbeData() AvProbeData {
	return AvProbeData(avs.probe_data)
}
func (avs *Stream) AvgFrameRate() avcodec.Rational {
	return newRational(avs.avg_frame_rate)
}
func (avs *Stream) RFrameRate() avcodec.Rational {
	return newRational(avs.r_frame_rate)
}
func (avs *Stream) SampleAspectRatio() avcodec.Rational {
	return newRational(avs.sample_aspect_ratio)
}
func (avs *Stream) TimeBase() avcodec.Rational {
	return newRational(avs.time_base)
}
func (avs *Stream) Discard() AvDiscard {
	return AvDiscard(avs.discard)
}
func (avs *Stream) NeedParsing() AvStreamParseType {
	return AvStreamParseType(avs.need_parsing)
}
func (avs *Stream) CodecInfoNbFrames() int {
	return int(avs.codec_info_nb_frames)
}
func (avs *Stream) Disposition() int {
	return int(avs.disposition)
}
func (avs *Stream) EventFlags() int {
	return int(avs.event_flags)
}
func (avs *Stream) Id() int {
	return int(avs.id)
}
func (avs *Stream) Index() int {
	return int(avs.index)
}
func (avs *Stream) InjectGlobalSideData() int {
	return int(avs.inject_global_side_data)
}
func (avs *Stream) LastIpDuration() int {
	return int(avs.last_IP_duration)
}
func (avs *Stream) NbDecodedFrames() int {
	return int(avs.nb_decoded_frames)
}
func (avs *Stream) NbIndexEntries() int {
	return int(avs.nb_index_entries)
}
func (avs *Stream) NbSideData() int {
	return int(avs.nb_side_data)
}
func (avs *Stream) ProbePackets() int {
	return int(avs.probe_packets)
}
func (avs *Stream) PtsWrapBehavior() int {
	return int(avs.pts_wrap_behavior)
}
func (avs *Stream) RequestProbe() int {
	return int(avs.request_probe)
}
func (avs *Stream) SkipSamples() int {
	return int(avs.skip_samples)
}
func (avs *Stream) SkipToKeyframe() int {
	return int(avs.skip_to_keyframe)
}
func (avs *Stream) StreamIdentifier() int {
	return int(avs.stream_identifier)
}
func (avs *Stream) UpdateInitialDurationsDone() int {
	return int(avs.update_initial_durations_done)
}
func (avs *Stream) CurDts() int64 {
	return int64(avs.cur_dts)
}
func (avs *Stream) Duration() int64 {
	return int64(avs.duration)
}