mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
filesrc: remove "fd" property
It's no longer useful, since we don't use mmap any more anyway, and we might use a different API for I/O in future (such as GIO).
This commit is contained in:
parent
95bd31443b
commit
2c2efb06bb
1 changed files with 1 additions and 9 deletions
|
@ -130,8 +130,7 @@ enum
|
|||
enum
|
||||
{
|
||||
PROP_0,
|
||||
PROP_LOCATION,
|
||||
PROP_FD
|
||||
PROP_LOCATION
|
||||
};
|
||||
|
||||
static void gst_file_src_finalize (GObject * object);
|
||||
|
@ -173,10 +172,6 @@ gst_file_src_class_init (GstFileSrcClass * klass)
|
|||
gobject_class->set_property = gst_file_src_set_property;
|
||||
gobject_class->get_property = gst_file_src_get_property;
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_FD,
|
||||
g_param_spec_int ("fd", "File-descriptor",
|
||||
"File-descriptor for the file being mmap()d", 0, G_MAXINT, 0,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_LOCATION,
|
||||
g_param_spec_string ("location", "File Location",
|
||||
"Location of the file to read", NULL,
|
||||
|
@ -305,9 +300,6 @@ gst_file_src_get_property (GObject * object, guint prop_id, GValue * value,
|
|||
case PROP_LOCATION:
|
||||
g_value_set_string (value, src->filename);
|
||||
break;
|
||||
case PROP_FD:
|
||||
g_value_set_int (value, src->fd);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue