Definition at line 617 of file pl_mpeg.hpp.
617 {
620 }
621
624 }
625
627
630
633 }
634 else if (
time > duration) {
636 }
637
639 if (!packet) {
641 }
642
643
646
647
652
653
654
655 if (seek_exact) {
656 while (frame && frame->time <
time) {
658 }
659 }
660
661
663
664 if (frame) {
665 self->
time = frame->time;
666 }
667
669 return frame;
670}
plm_packet_t * plm_demux_seek(plm_demux_t *self, double time, int type, int force_intra) FL_NOEXCEPT
void plm_video_rewind(plm_video_t *self) FL_NOEXCEPT
double plm_demux_get_duration(plm_demux_t *self, int type) FL_NOEXCEPT
double plm_demux_get_start_time(plm_demux_t *self, int type) FL_NOEXCEPT
void plm_video_set_time(plm_video_t *self, double time) FL_NOEXCEPT
int plm_init_decoders(plm_t *self) FL_NOEXCEPT
size_t plm_buffer_write(plm_buffer_t *self, uint8_t *bytes, size_t length) FL_NOEXCEPT
plm_frame_t * plm_video_decode(plm_video_t *self) FL_NOEXCEPT
plm_video_t * video_decoder
plm_buffer_t * video_buffer
fl::u64 time() FL_NOEXCEPT
Alias for millis64() - returns 64-bit millisecond time.
References fl::third_party::plm_packet_t::data, FALSE, FL_NOEXCEPT, fl::third_party::plm_packet_t::length, NULL, plm_buffer_write(), plm_demux_get_duration(), plm_demux_get_start_time(), plm_demux_seek(), plm_init_decoders(), plm_video_decode(), plm_video_rewind(), plm_video_set_time(), fl::third_party::plm_packet_t::pts, fl::third_party::plm_frame_t::time, fl::time(), and TRUE.
Referenced by plm_seek().