mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
formatting
Original commit message from CVS: formatting
This commit is contained in:
parent
bdb2144428
commit
37d29b584f
2 changed files with 6 additions and 8 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue