Add hw acceleration, improve video performance

This commit is contained in:
markmental 2026-03-27 23:19:42 -04:00
commit 7c5d82e124
13 changed files with 273 additions and 72 deletions

View file

@ -1,6 +1,7 @@
#ifndef CHANNEL_H
#define CHANNEL_H
#include <SDL2/SDL.h>
#include <limits.h>
#include <time.h>
@ -21,5 +22,6 @@ typedef struct ChannelList {
int channel_list_load(ChannelList *list, const char *media_dir);
void channel_list_destroy(ChannelList *list);
double channel_live_position(const Channel *channel, time_t app_start_time, time_t now);
double channel_live_position_precise(const Channel *channel, Uint64 app_start_ticks, Uint64 now_ticks);
#endif