Sunshine master
Self-hosted game stream host for Moonlight.
cbs::frag_t Class Reference

Owns an FFmpeg coded bitstream fragment and frees fragment buffers on destruction. More...

Inheritance diagram for cbs::frag_t:
[legend]
Collaboration diagram for cbs::frag_t:
[legend]

Public Member Functions

 frag_t (frag_t &&o)
 Move-construct a coded bitstream fragment and transfer FFmpeg-owned buffers.
 
frag_toperator= (frag_t &&o)
 Move-assign a coded bitstream fragment and transfer FFmpeg-owned buffers.
 

Detailed Description

Owns an FFmpeg coded bitstream fragment and frees fragment buffers on destruction.

Constructor & Destructor Documentation

◆ frag_t()

cbs::frag_t::frag_t ( frag_t && o)
inline

Move-construct a coded bitstream fragment and transfer FFmpeg-owned buffers.

Parameters
oFragment whose allocated buffers are transferred to this instance.

Member Function Documentation

◆ operator=()

frag_t & cbs::frag_t::operator= ( frag_t && o)
inline

Move-assign a coded bitstream fragment and transfer FFmpeg-owned buffers.

Parameters
oFragment whose allocated buffers are transferred to this instance.
Returns
Reference to this fragment.

The documentation for this class was generated from the following file: