mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
BugFix Support for GStreamer upgrade to 1.20
This commit is contained in:
@@ -378,6 +378,9 @@ void MediaPlayer::execute_open()
|
||||
|
||||
// set the callbacks
|
||||
GstAppSinkCallbacks callbacks;
|
||||
#if GST_VERSION_MINOR > 18 && GST_VERSION_MAJOR > 0
|
||||
callbacks.new_event = NULL;
|
||||
#endif
|
||||
callbacks.new_preroll = callback_new_preroll;
|
||||
if (media_.isimage) {
|
||||
callbacks.eos = NULL;
|
||||
|
||||
Reference in New Issue
Block a user