From: Thiago Santos Date: Wed, 6 May 2015 16:08:11 +0000 (-0300) Subject: videoaggregator: use macro to access aggregator src pad X-Git-Tag: 1.19.3~511^2~1294^2~196 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34ffdbeee0b2eef25dccba66be8e1f1a545f9ed0;p=platform%2Fupstream%2Fgstreamer.git videoaggregator: use macro to access aggregator src pad Makes code a bit more readable --- diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index 6c154bdfc6..110d022dca 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;