mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
plugins/elements/gstfilesrc.c: Remove superfluous g_object_notify() calls, GObject does that for us automatically.
Original commit message from CVS: * plugins/elements/gstfilesrc.c: (gst_file_src_set_property): Remove superfluous g_object_notify() calls, GObject does that for us automatically.
This commit is contained in:
parent
894bf5c06a
commit
5a3d69e5be
2 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
|
||||
Remove superfluous g_object_notify() calls, GObject does
|
||||
that for us automatically.
|
||||
|
||||
2006-07-25 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/gstinfo.h:
|
||||
|
|
|
@ -334,7 +334,6 @@ gst_file_src_set_property (GObject * object, guint prop_id,
|
|||
case ARG_MMAPSIZE:
|
||||
if ((src->mapsize % src->pagesize) == 0) {
|
||||
src->mapsize = g_value_get_ulong (value);
|
||||
g_object_notify (G_OBJECT (src), "mmapsize");
|
||||
} else {
|
||||
GST_INFO_OBJECT (src,
|
||||
"invalid mapsize, must be a multiple of pagesize, which is %d",
|
||||
|
@ -343,15 +342,12 @@ gst_file_src_set_property (GObject * object, guint prop_id,
|
|||
break;
|
||||
case ARG_TOUCH:
|
||||
src->touch = g_value_get_boolean (value);
|
||||
g_object_notify (G_OBJECT (src), "touch");
|
||||
break;
|
||||
case ARG_SEQUENTIAL:
|
||||
src->sequential = g_value_get_boolean (value);
|
||||
g_object_notify (G_OBJECT (src), "sequential");
|
||||
break;
|
||||
case ARG_USEMMAP:
|
||||
src->use_mmap = g_value_get_boolean (value);
|
||||
g_object_notify (G_OBJECT (src), "use-mmap");
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
|
Loading…
Reference in a new issue