GNOME Bugzilla – Bug 725206
rtspconnection: Missing include file
Last modified: 2014-02-26 11:47:32 UTC
gst_rtsp_connection_set_qos_dscp () does nothing because of a missing include which defines the IP_TOS socket option.
Created attachment 270361 [details] [review] Add missing include
Comment on attachment 270361 [details] [review] Add missing include Let's try to avoid platform-specific includes in our code. I think #include <gio/gnetworking.h> should do the trick as well - could you check? Could you also add a GST_FIXME to the function where it takes a do-nothing codepath?
Created attachment 270371 [details] [review] rtspconnection: Add missing include Thanks, yes, #include <gio/gnetworking.h> does the job too.
Thanks, pushed: commit 5445682c6ac19168833642d36f3870f2b9053cc5 Author: Ognyan Tonchev <ognyan@axis.com> Date: Wed Feb 26 11:45:24 2014 +0100 rtspconnection: Add missing include https://bugzilla.gnome.org/show_bug.cgi?id=725206
One thing I forgot: commit 14b82bbc9a50530e4bf9c66f9b99fb5a0f931ce4 Author: Tim-Philipp Müller <tim@centricular.com> Date: Wed Feb 26 11:43:06 2014 +0000 rtsp: fix build with older GLib versions The gio/gnetworking.h header is only available since glib 2.36 https://bugzilla.gnome.org/show_bug.cgi?id=725206