diff options
author | Thiago Santos <thiagoss@osg.samsung.com> | 2015-05-06 13:08:11 -0300 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2015-06-08 12:09:51 -0300 |
commit | a5e1f2638586ad07d377b0d20d126690a129bd4a (patch) | |
tree | 867ed0fd8b6cc359b8e19a51846a522dd059fcf5 /gst-libs | |
parent | 0a495cbea201e3afa7c9b90a8d2e6d12c62fa4ec (diff) | |
download | gstreamer-plugins-bad-a5e1f2638586ad07d377b0d20d126690a129bd4a.tar.gz |
videoaggregator: use macro to access aggregator src pad
Makes code a bit more readable
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/video/gstvideoaggregator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index 6c154bdfc..110d022dc 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -816,7 +816,7 @@ gst_videoaggregator_pad_sink_setcaps (GstPad * pad, GstObject * parent, } vaggpad->info = info; - gst_pad_mark_reconfigure (vagg->aggregator.srcpad); + gst_pad_mark_reconfigure (GST_AGGREGATOR_SRC_PAD (vagg)); ret = TRUE; GST_VIDEO_AGGREGATOR_UNLOCK (vagg); @@ -1795,7 +1795,7 @@ gst_videoaggregator_release_pad (GstElement * element, GstPad * pad) GST_ELEMENT_CLASS (gst_videoaggregator_parent_class)->release_pad (GST_ELEMENT (vagg), pad); - gst_pad_mark_reconfigure (vagg->aggregator.srcpad); + gst_pad_mark_reconfigure (GST_AGGREGATOR_SRC_PAD (vagg)); GST_VIDEO_AGGREGATOR_UNLOCK (vagg); return; |