mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Copy the padtemplate to the ghostpad.
Original commit message from CVS: Copy the padtemplate to the ghostpad.
This commit is contained in:
parent
bb9908680b
commit
9d9951d31b
1 changed files with 1 additions and 0 deletions
|
@ -1924,6 +1924,7 @@ gst_ghost_pad_new (gchar *name,
|
|||
ghostpad = gtk_type_new (gst_ghost_pad_get_type ());
|
||||
gst_pad_set_name (GST_PAD (ghostpad), name);
|
||||
GST_GPAD_REALPAD(ghostpad) = GST_PAD_REALIZE(pad);
|
||||
GST_PAD_PADTEMPLATE(ghostpad) = GST_PAD_PADTEMPLATE(pad);
|
||||
|
||||
// add ourselves to the real pad's list of ghostpads
|
||||
gst_pad_add_ghost_pad (pad, GST_PAD(ghostpad));
|
||||
|
|
Loading…
Reference in a new issue