Exemplo n.º 1
0
Arquivo: context.go Projeto: ovr/goav
//Find the programs which belong to a given stream.
func (s *Context) AvFindProgramFromStream(l *AvProgram, su int) *AvProgram {
	return (*AvProgram)(C.av_find_program_from_stream((*C.struct_AVFormatContext)(s), (*C.struct_AVProgram)(l), C.int(su)))
}
Exemplo n.º 2
0
//AVProgram * av_find_program_from_stream (AVFormatContext *ic, AVProgram *last, int s)
//Find the programs which belong to a given stream.
func Av_find_program_from_stream(ic *AVFormatContext, l *AVProgram, s int) *AVProgram {
	return (*AVProgram)(C.av_find_program_from_stream((*C.struct_AVFormatContext)(ic), (*C.struct_AVProgram)(l), C.int(s)))
}