mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
HLS removePlaylist improvements
This commit is contained in:
@@ -2498,14 +2498,14 @@ extern "C" void on_video_rate(void *cls, const float rate) {
|
||||
|
||||
|
||||
|
||||
extern "C" void on_video_playlist_remove (void *cls, void *airplay_video) {
|
||||
extern "C" float on_video_playlist_remove (void *cls) {
|
||||
double duration, position;
|
||||
float rate;
|
||||
bool buffer_empty, buffer_full;
|
||||
LOGI("************************* on_video_playlist_remove\n");
|
||||
video_renderer_pause();
|
||||
video_get_playback_info(&duration, &position, &rate, &buffer_empty, &buffer_full);
|
||||
raop_playlist_remove(raop, airplay_video, (float) position);
|
||||
return (float) position;
|
||||
}
|
||||
|
||||
extern "C" void on_video_stop(void *cls) {
|
||||
|
||||
Reference in New Issue
Block a user