FastLED 3.9.15
Loading...
Searching...
No Matches

◆ plm_set_video_enabled()

void fl::third_party::plm_set_video_enabled ( plm_t * self,
int enabled )

Definition at line 371 of file pl_mpeg.hpp.

371 {
372 self->video_enabled = enabled;
373
374 if (!enabled) {
375 self->video_packet_type = 0;
376 return;
377 }
378
379 self->video_packet_type = (plm_init_decoders(self) && self->video_decoder)
381 : 0;
382}
static const int PLM_DEMUX_PACKET_VIDEO_1
Definition pl_mpeg.h:594
int plm_init_decoders(plm_t *self) FL_NOEXCEPT
Definition pl_mpeg.hpp:261
plm_video_t * video_decoder
Definition pl_mpeg.hpp:205

References FL_NOEXCEPT, PLM_DEMUX_PACKET_VIDEO_1, and plm_init_decoders().

+ Here is the call graph for this function: