mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Add new patch for GstPlayer
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 5c500284dd8c12a383098d9227a22146d0aa8417 Mon Sep 17 00:00:00 2001
|
||||
From: Rafostar <rafostar.github@gmail.com>
|
||||
Date: Wed, 4 Nov 2020 21:16:42 +0100
|
||||
Subject: [PATCH] GstPlayer: call ref_sink on pipeline
|
||||
|
||||
As discussed in #1450
|
||||
---
|
||||
gst-libs/gst/player/gstplayer.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c
|
||||
index b2e318fc3..04148fa1d 100644
|
||||
--- a/gst-libs/gst/player/gstplayer.c
|
||||
+++ b/gst-libs/gst/player/gstplayer.c
|
||||
@@ -2907,6 +2907,8 @@ gst_player_main (gpointer data)
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
||||
+ gst_object_ref_sink (self->playbin);
|
||||
+
|
||||
if (self->video_renderer) {
|
||||
GstElement *video_sink =
|
||||
gst_player_video_renderer_create_video_sink (self->video_renderer,
|
||||
--
|
||||
2.26.2
|
||||
|
Reference in New Issue
Block a user