rpicamsrc: Map intra-refresh cyclic-rows to the correct MMAL param.
authorJan Schmidt <thaytan@noraisin.net>
Mon, 20 Apr 2015 14:02:27 +0000 (00:02 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 10 Jul 2020 15:44:07 +0000 (16:44 +0100)
sys/rpicamsrc/gstrpicam_types.h

index 375bf57..5baa491 100644 (file)
@@ -94,8 +94,8 @@ typedef enum /*< flags >*/ {
 
 typedef enum {
   GST_RPI_CAM_SRC_INTRA_REFRESH_TYPE_NONE = -1,
-  GST_RPI_CAM_SRC_INTRA_REFRESH_TYPE_CYCLIC,
-  GST_RPI_CAM_SRC_INTRA_REFRESH_TYPE_ADAPTIVE,
-  GST_RPI_CAM_SRC_INTRA_REFRESH_TYPE_BOTH,
-  GST_RPI_CAM_SRC_INTRA_REFRESH_TYPE_CYCLIC_ROWS
+  GST_RPI_CAM_SRC_INTRA_REFRESH_TYPE_CYCLIC = MMAL_VIDEO_INTRA_REFRESH_CYCLIC,
+  GST_RPI_CAM_SRC_INTRA_REFRESH_TYPE_ADAPTIVE = MMAL_VIDEO_INTRA_REFRESH_ADAPTIVE,
+  GST_RPI_CAM_SRC_INTRA_REFRESH_TYPE_BOTH = MMAL_VIDEO_INTRA_REFRESH_BOTH,
+  GST_RPI_CAM_SRC_INTRA_REFRESH_TYPE_CYCLIC_ROWS = MMAL_VIDEO_INTRA_REFRESH_CYCLIC_MROWS
 } GstRpiCamSrcIntraRefreshType;