mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
disable broken pause/resume code in GStreamer>=1.24
This commit is contained in:
@@ -1484,12 +1484,18 @@ extern "C" void video_process (void *cls, raop_ntp_t *ntp, h264_decode_struct *d
|
||||
}
|
||||
|
||||
extern "C" void video_pause (void *cls) {
|
||||
#ifdef GST_124
|
||||
return; //pause/resume changes in GStreamer-1.24 break this code
|
||||
#endif
|
||||
if (use_video) {
|
||||
video_renderer_pause();
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" void video_resume (void *cls) {
|
||||
#ifdef GST_124
|
||||
return; //pause/resume changes in GStreamer-1.24 break this code
|
||||
#endif
|
||||
if (use_video) {
|
||||
video_renderer_resume();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user