From: David I. Lehn Date: Tue, 14 May 2002 00:40:15 +0000 (+0000) Subject: formatting X-Git-Tag: BRANCH-RELEASE-0_4_0-ROOT~162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37d29b584f1b1b25dd8e8e9add8bc6638ae548f1;p=platform%2Fupstream%2Fgstreamer.git formatting Original commit message from CVS: formatting --- 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);