示例#1
0
文件: context.go 项目: 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)))
}
示例#2
0
文件: avformat.go 项目: hyhy01/goav
//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)))
}