GNOME Bugzilla – Bug 442689
[neon] Property-related cleanups of neonhttpsrc
Last modified: 2007-06-01 09:57:35 UTC
- I don't understand why the element has a deprecated property (uri), it is still in -bad so it can break API. - The user-agent default value is plain "neonhttpsrc", which doesn't give anybody a clue out of context. It should at least mention GStreamer in there. - There are some more or less serious formatting/spelling/style/expression problems in some property descriptions, like explaining in full what a HTTP URL can look like (using newlines and tabs to make the novel line up in gst-inspect). Marking as blocker for the release since I think that the deprecated property should die rather sooner than later. Attaching trivial patch.
Created attachment 89133 [details] [review] Cleanup neonhttpsrc element properties Changes: * ext/neon/gstneonhttpsrc.c (gst_neonhttp_src_class_init): Remove deprecated "uri" property. Clean up property descriptions. (gst_neonhttp_src_init): Change default User-Agent to the slightly more descriptive "GStreamer neonhttpsrc".
Patch by René Stadler <mail at renestadler dot de>: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_init), (gst_neonhttp_src_dispose), (gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property), (gst_neonhttp_src_start), (gst_neonhttp_src_do_seek), (gst_neonhttp_src_set_location), (gst_neonhttp_src_send_request_and_redirect), (gst_neonhttp_src_uri_get_uri), (gst_neonhttp_src_uri_set_uri): * ext/neon/gstneonhttpsrc.h: Deprecated "uri" property. Clean up property descriptions. Change default User-Agent to the slightly more descriptive "GStreamer neonhttpsrc". Various other small cleanups, mostly property related.