#include <DVDOverlayContainer.h>
◆ ~CDVDOverlayContainer()
CDVDOverlayContainer::~CDVDOverlayContainer |
( |
| ) |
|
|
virtual |
◆ CleanUp()
void CDVDOverlayContainer::CleanUp |
( |
double | pts | ) |
|
◆ Clear()
void CDVDOverlayContainer::Clear |
( |
| ) |
|
◆ ContainsOverlayType()
◆ Flush()
void CDVDOverlayContainer::Flush |
( |
| ) |
|
◆ GetOverlays()
◆ GetSize()
size_t CDVDOverlayContainer::GetSize |
( |
| ) |
|
◆ ProcessAndAddOverlayIfValid()
void CDVDOverlayContainer::ProcessAndAddOverlayIfValid |
( |
const std::shared_ptr< CDVDOverlay > & | pPicture | ) |
|
Adds an overlay into the container by processing the existing overlay collection first.
Processes the overlay collection whenever a new overlay is added. Useful to change the overlay's PTS values of previously added overlays if the collection itself is sequential. This is, for example, the case of ASS subtitles in which a single call to ass_render_frame generates all the subtitle images on a single call even if two subtitles exist at the same time frame. Other cases might exist where an overlay shouldn't be added to the collection if completely contained in another overlay.
- Parameters
-
pPicture | pointer to the overlay to be evaluated and possibly added to the collection |
◆ UpdateOverlayInfo()
The documentation for this class was generated from the following files: