From fd11a17a24e372d0871892bbe0c8b3608475673c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 24 May 2003 10:47:37 +0000 Subject: [PATCH] - UNITS -> DEFAULT Original commit message from CVS: - UNITS -> DEFAULT --- sys/v4l2/gstv4l2src.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index a22196064b..f5c87ce93b 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -290,9 +290,6 @@ gst_v4l2src_srcconvert (GstPad *pad, case GST_FORMAT_TIME: switch (*dest_format) { case GST_FORMAT_DEFAULT: - *dest_format = GST_FORMAT_UNITS; - /* fall-through */ - case GST_FORMAT_UNITS: *dest_value = src_value * fps / GST_SECOND; break; default: @@ -300,11 +297,8 @@ gst_v4l2src_srcconvert (GstPad *pad, } break; - case GST_FORMAT_UNITS: + case GST_FORMAT_DEFAULT: switch (*dest_format) { - case GST_FORMAT_DEFAULT: - *dest_format = GST_FORMAT_TIME; - /* fall-through */ case GST_FORMAT_TIME: *dest_value = src_value * GST_SECOND / fps; break;