mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
s/Gnome-Streamer/GStreamer/
Original commit message from CVS: s/Gnome-Streamer/GStreamer/
This commit is contained in:
parent
fe8058a641
commit
2f2a02b8a9
1 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,7 @@ gst_jack_request_new_pad (GstElement *element, GstPadTemplate *templ, const gcha
|
||||||
}
|
}
|
||||||
|
|
||||||
pad = g_new0(GstJackPad, 1);
|
pad = g_new0(GstJackPad, 1);
|
||||||
pad->name = g_strdup_printf ("%s%d", this->port_name_prefix, this->client->default_new_port_number++);
|
pad->name = g_strdup_printf ("%s%d", this->port_name_prefix, 1); /* fixme :) */
|
||||||
pad->peer_name = newname;
|
pad->peer_name = newname;
|
||||||
pad->pad = gst_pad_new_from_template (templ, newname);
|
pad->pad = gst_pad_new_from_template (templ, newname);
|
||||||
gst_element_add_pad (GST_ELEMENT (this), pad->pad);
|
gst_element_add_pad (GST_ELEMENT (this), pad->pad);
|
||||||
|
@ -261,6 +261,7 @@ gst_jack_request_new_pad (GstElement *element, GstPadTemplate *templ, const gcha
|
||||||
*pad_list = g_list_append (*pad_list, pad);
|
*pad_list = g_list_append (*pad_list, pad);
|
||||||
/* this->pads = g_list_append (this->pads, pad); */
|
/* this->pads = g_list_append (this->pads, pad); */
|
||||||
|
|
||||||
|
g_print ("returning from request_new_pad, pad %s created, to connect to %s\n", pad->name, pad->peer_name);
|
||||||
return pad->pad;
|
return pad->pad;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue