Request the next packet of encoded video. The encoded data is placed in a user-provided ogg_packet structure.
|t||A theora_state handle previously initialized for encoding. |
|last_p||whether this is the last packet the encoder should produce. |
|op||An ogg_packet structure to fill. libtheora will set all elements of this structure, including a pointer to encoded data. The memory for the encoded data is owned by libtheora. |
- Return values:
|0||No internal storage exists OR no packet is ready |
|-1||The encoding process has completed |
Definition at line 33 of file encoder_disabled.c.
References OC_DISABLED, and theora_encode_packetout().
Referenced by theora_encode_packetout().