Method

PurpleMediaCodeccopy

Declaration [src]

PurpleMediaCodec*
purple_media_codec_copy (
  PurpleMediaCodec* codec
)

Description [src]

Copies a PurpleMediaCodec object.

Return value

Returns: PurpleMediaCodec
 

The copy of the codec.

 The caller of the method takes ownership of the data, and is responsible for freeing it.