mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
gst/gstpad.c: GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
Original commit message from CVS: Reviewed by: Tim-Philipp Müller <tim at centricular dot net> * gst/gstpad.c: (gst_pad_get_property): GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while GST_PAD_TEMPLATE(pad) does a cast. We want the former here. (#321452)
This commit is contained in:
parent
30bb9cee7e
commit
57f0a5b232
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2005-11-15 Daniel Fischer <dan at f3c dot com>
|
||||
|
||||
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstpad.c: (gst_pad_get_property):
|
||||
GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
|
||||
GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
|
||||
(#321452)
|
||||
|
||||
2005-11-15 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstevent.c:
|
||||
|
|
|
@ -440,7 +440,7 @@ gst_pad_get_property (GObject * object, guint prop_id,
|
|||
g_value_set_enum (value, GST_PAD_DIRECTION (object));
|
||||
break;
|
||||
case PAD_PROP_TEMPLATE:
|
||||
g_value_set_object (value, GST_PAD_TEMPLATE (object));
|
||||
g_value_set_object (value, GST_PAD_PAD_TEMPLATE (object));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
|
Loading…
Reference in a new issue