Hi
I've updatet my libVLC sdk from 0.9.9 to the RC1 Version and suddenly VMEM desn't work for me any more.
Is it broken, are there API changes or is my code simply wrong?
Code: Select all
Argument[0] = "-q"
Argument[1] = "--plugin-path"
Argument[2] = "plugins"
Argument[3] = "--ignore-config"
Argument[4] = "--vout"
Argument[5] = "vmem"
Argument[6] = "--vmem-chroma"
Argument[7] = "RGBA32"
Argument[8] = "--vmem-width"
Argument[9] = String(Width)
Argument[10] = "--vmem-height"
Argument[11] = String(Height)
Argument[12] = "--vmem-pitch"
Argument[13] = String(Width*4)
Argument[14] = "--vmem-lock"
Argument[15] = String(Int(Byte Ptr(LockVideo)))
Argument[16] = "--vmem-unlock"
Argument[17] = String(Int(Byte Ptr(UnlockVideo)))
Argument[18] = "--vmem-data"
Argument[19] = String(Int(VarPtr(Index)))
Code: Select all
Function LockVideo:Byte ptr(Index:Int Ptr)
Local Video:TVideo = TVideo(VideoObjects.ValueAtIndex(Index[0]))
Return Video._Lock()
End Function
Function UnlockVideo(Index:Int Ptr)
Local Video:TVideo = TVideo(VideoObjects.ValueAtIndex(Index[0]))
Video._Unlock()
End Function
Code: Select all
void LockVideo(void* Data, void* PixelData)
Code: Select all
"-q"
"--plugin-path"
"plugins"
"--ignore-config"
Users browsing this forum: No registered users and 3 guests