Skip to content

gstvideoaggregator.c: fix build with gcc 4.8

Fabrice Fontaine requested to merge (removed):master into master

Fix the following build failure with gcc 4.8 which has been added with d268c193:

../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

Edited by Tim-Philipp Müller

Merge request reports