mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +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
|
||||
|
@@ -24,6 +24,10 @@
|
||||
"url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git",
|
||||
"tag": "1.18.1",
|
||||
"commit": "e5c3c106a2da607953fea36e3a253b382c939684"
|
||||
},
|
||||
{
|
||||
"type": "patch",
|
||||
"path": "gst-plugins-bad-gstplayer-ref-sink.patch"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user