gst-libs/gst/video/gstvideoaggregator.c: fix build with gcc 4.8
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 14 Dec 2020 06:42:55 +0000 (07:42 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 14 Dec 2020 16:42:01 +0000 (16:42 +0000)
commitd86cf6314f8f178c59600f55321ce73d4ca95d97
tree05a7f7996f8581e7184cfd302fba9ef99b884c58
parentef884a2c5cfd832bf48699846bd49bd4d4d767d7
gst-libs/gst/video/gstvideoaggregator.c: fix build with gcc 4.8

Fix the following build failure with gcc 4.8 which has been added with
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/commit/d268c193ad39fb970351ed62898be806ebd0a71e:

../gst-libs/gst/video/gstvideoaggregator.c: In function 'gst_video_aggregator_init':
../gst-libs/gst/video/gstvideoaggregator.c:2762:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (gint i = 0; i < gst_caps_get_size (src_template); i++) {
   ^

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/974>
gst-libs/gst/video/gstvideoaggregator.c