Skip to content

Commit 6d9b9a3

Browse files
dfernandezlopjcaden
authored andcommitted
kmsaudiomixer: Fix variable names in if comparison
Change-Id: Iaa1b1e215eb8c3510bb046edfaf02753c3f3e9e8
1 parent 7ca59b5 commit 6d9b9a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gst-plugins/kmsaudiomixer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ link_new_agnosticbin (gchar * key, GstElement * adder, GstElement * agnosticbin)
159159
}
160160

161161
sinkpad = gst_element_get_request_pad (adder, "sink_%u");
162-
if (srcpad == NULL) {
162+
if (sinkpad == NULL) {
163163
GST_ERROR ("Could not get sink pad in %" GST_PTR_FORMAT, adder);
164164
gst_element_release_request_pad (agnosticbin, srcpad);
165165
goto end;
@@ -221,7 +221,7 @@ link_new_adder (gchar * key, GstElement * agnosticbin, GstElement * adder)
221221
}
222222

223223
sinkpad = gst_element_get_request_pad (adder, "sink_%u");
224-
if (srcpad == NULL) {
224+
if (sinkpad == NULL) {
225225
GST_ERROR ("Could not get sink pad in %" GST_PTR_FORMAT, adder);
226226
gst_element_release_request_pad (agnosticbin, srcpad);
227227
goto end;

0 commit comments

Comments
 (0)