Add hw acceleration, improve video performance
This commit is contained in:
parent
0a250b05f3
commit
7c5d82e124
13 changed files with 273 additions and 72 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue