예제 #1
0
func av_new_stream(ctx *FormatContext, stream_id int) *Stream {
	return &Stream{C.av_new_stream(ctx.ctx, C.int(stream_id))}
}
예제 #2
0
func av_new_stream(ctx *FormatContext, stream_id int) *C.AVStream {
	//return &Stream{C.av_new_stream(ctx.ctx, C.int(stream_id))}
	return C.av_new_stream(ctx.ctx, C.int(stream_id))
}