From 1e70dea347b5ccd496431734ace6c2f160316a09 Mon Sep 17 00:00:00 2001 From: Hou Qi Date: Fri, 29 Mar 2024 12:30:28 +0900 Subject: [PATCH] encodebin: Add the parser before timestamper to tosync list Also need to sync the state of the parser before timestamper with parent. Part-of: --- subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c b/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c index c41f4c8532..23f0f83e84 100644 --- a/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c +++ b/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c @@ -1633,6 +1633,7 @@ _create_stream_group (GstEncodeBaseBin * ebin, GstEncodingProfile * sprof, (sgroup->parser)), NULL); gst_bin_add (GST_BIN (ebin), p1); + tosync = g_list_append (tosync, p1); if (G_UNLIKELY (!gst_element_link (p1, last))) goto parser_link_failure;