freebsd-ports/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_v4l2__calls.c
Michal Zielonka e3b732b479
Update gstreamer1 to upstream release 1.20.3
PR:		261585
Reviewed by:	riggs,jbeich,tcberner

Differential Revision:	https://reviews.freebsd.org/D36850
2022-10-15 12:46:46 +02:00

15 lines
525 B
C

--- sys/v4l2/v4l2_calls.c.orig 2022-09-13 20:56:55 UTC
+++ sys/v4l2/v4l2_calls.c
@@ -1329,10 +1329,12 @@ gst_v4l2_query_dv_timings (GstV4l2Object * v4l2object,
if (ret < 0) {
switch (errno) {
+#ifdef ENODATA
case ENODATA:
GST_DEBUG_OBJECT (v4l2object->dbg_obj,
"QUERY_DV_TIMINGS not supported for this input/output");
break;
+#endif
case ENOLINK:
GST_DEBUG_OBJECT (v4l2object->dbg_obj,
"No timings could be detected because no signal was found.");