mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-07 07:55:41 +00:00
Use gst_element_request_pad_simple...
Instead of the deprecated gst_element_get_request_pad. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/241>
This commit is contained in:
parent
b11b055029
commit
26ddb49339
2 changed files with 4 additions and 4 deletions
|
@ -399,10 +399,10 @@ GST_START_TEST (issue_concatenation)
|
|||
srcpad_monitor1 = g_object_get_data (G_OBJECT (srcpad1), "validate-monitor");
|
||||
srcpad2 = gst_element_get_static_pad (src2, "src");
|
||||
srcpad_monitor2 = g_object_get_data (G_OBJECT (srcpad2), "validate-monitor");
|
||||
fakemixer_sink1 = gst_element_get_request_pad (fakemixer, "sink_%u");
|
||||
fakemixer_sink1 = gst_element_request_pad_simple (fakemixer, "sink_%u");
|
||||
fakemixer_sink_monitor1 =
|
||||
g_object_get_data (G_OBJECT (fakemixer_sink1), "validate-monitor");
|
||||
fakemixer_sink2 = gst_element_get_request_pad (fakemixer, "sink_%u");
|
||||
fakemixer_sink2 = gst_element_request_pad_simple (fakemixer, "sink_%u");
|
||||
fakemixer_sink_monitor2 =
|
||||
g_object_get_data (G_OBJECT (fakemixer_sink2), "validate-monitor");
|
||||
sinkpad = gst_element_get_static_pad (sink, "sink");
|
||||
|
|
|
@ -156,8 +156,8 @@ _create_issues (GstValidateRunner * runner)
|
|||
|
||||
srcpad1 = gst_element_get_static_pad (src1, "src");
|
||||
srcpad2 = gst_element_get_static_pad (src2, "src");
|
||||
funnel_sink1 = gst_element_get_request_pad (fakemixer, "sink_%u");
|
||||
funnel_sink2 = gst_element_get_request_pad (fakemixer, "sink_%u");
|
||||
funnel_sink1 = gst_element_request_pad_simple (fakemixer, "sink_%u");
|
||||
funnel_sink2 = gst_element_request_pad_simple (fakemixer, "sink_%u");
|
||||
sinkpad = gst_element_get_static_pad (sink, "sink");
|
||||
|
||||
fail_unless (gst_element_link (fakemixer, sink));
|
||||
|
|
Loading…
Reference in a new issue