From 37d29b584f1b1b25dd8e8e9add8bc6638ae548f1 Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Tue, 14 May 2002 00:40:15 +0000 Subject: [PATCH] formatting Original commit message from CVS: formatting --- gst/elements/gstfilesrc.c | 7 +++---- plugins/elements/gstfilesrc.c | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gst/elements/gstfilesrc.c b/gst/elements/gstfilesrc.c index f67bd0f..4671033 100644 --- a/gst/elements/gstfilesrc.c +++ b/gst/elements/gstfilesrc.c @@ -258,13 +258,12 @@ gst_filesrc_set_property (GObject *object, guint prop_id, const GValue *value, G g_object_notify (G_OBJECT (src), "offset"); break; case ARG_MAPSIZE: - if ((src->mapsize % src->pagesize) == 0) - { + if ((src->mapsize % src->pagesize) == 0) { src->mapsize = g_value_get_ulong (value); g_object_notify (G_OBJECT (src), "mmapsize"); - } - else + } else { GST_INFO(0, "invalid mapsize, must a multiple of pagesize, which is %d\n",src->pagesize); + } break; case ARG_TOUCH: src->touch = g_value_get_boolean (value); diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index f67bd0f..4671033 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -258,13 +258,12 @@ gst_filesrc_set_property (GObject *object, guint prop_id, const GValue *value, G g_object_notify (G_OBJECT (src), "offset"); break; case ARG_MAPSIZE: - if ((src->mapsize % src->pagesize) == 0) - { + if ((src->mapsize % src->pagesize) == 0) { src->mapsize = g_value_get_ulong (value); g_object_notify (G_OBJECT (src), "mmapsize"); - } - else + } else { GST_INFO(0, "invalid mapsize, must a multiple of pagesize, which is %d\n",src->pagesize); + } break; case ARG_TOUCH: src->touch = g_value_get_boolean (value); -- 2.7.4