VortexFrame * vortex_frame_copy ( VortexFrame frame  ) 

Perform a copy from the received frame.

The function will also copy the channel where the frame was received.

Parameters:
frame A frame to copy.
Returns:
A newly allocated frame that must be unrefered when no longer needed using vortex_frame_free. NULL will be returned if the frame received is NULL.