ext/gio/gstgio.c: Don't generate a new supported protocols list on each call but...
authorSebastian Dröge <slomo@circular-chaos.org>
Sun, 20 Apr 2008 10:11:54 +0000 (10:11 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Sun, 20 Apr 2008 10:11:54 +0000 (10:11 +0000)
commit9f83e90909dbe45ef5fc5839b08c09501d28177e
tree30519a9097841e4400ed8c1f6c19f37b349885fe
parent0c73cdcbc822d8d47f62c2b8d2ec29f54e210421
ext/gio/gstgio.c: Don't generate a new supported protocols list on each call but cache it. It's supposed to be static...

Original commit message from CVS:
* ext/gio/gstgio.c: (_internal_get_supported_protocols),
(gst_gio_get_supported_protocols):
Don't generate a new supported protocols list on each call but cache
it. It's supposed to be static anyway, this way we only leak it once
per process.
* ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
(gst_gio_sink_class_init), (gst_gio_sink_finalize),
(gst_gio_sink_set_property), (gst_gio_sink_get_property),
(gst_gio_sink_start):
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
(gst_gio_src_class_init), (gst_gio_src_finalize),
(gst_gio_src_set_property), (gst_gio_src_get_property),
(gst_gio_src_start):
* ext/gio/gstgiosrc.h:
API: Add "file" properties where one can set a GFile as source/destination.
Add locking to the properties and use gst_element_class_set_details_simple()
instead of a static GstElementDetails struct.
ChangeLog
ext/gio/gstgio.c
ext/gio/gstgiosink.c
ext/gio/gstgiosink.h
ext/gio/gstgiosrc.c
ext/gio/gstgiosrc.h