GNOME Bugzilla – Bug 709741
audio-sink: fix compilation with GStreamer 0.10
Last modified: 2013-10-13 20:55:44 UTC
The other option would be to drop support for GStreamer 0.10 I guess?
Created attachment 256822 [details] [review] audio-sink: fix compilation with GStreamer 0.10 66e393b removed this include, but without it compilation fails for me. I assume this is beacuse I am building Empathy against GStreamer 0.10 and Emanuele was building against GStreamer 1.0 when removing unneeded includes.
For the sake of Googling, the compilation error without this is: empathy-audio-sink.c:47:148: error: ‘GST_AUDIO_INT_PAD_TEMPLATE_CAPS’ undeclared here (not in a function) static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE( ^ empathy-audio-sink.c:47:180: error: expected ‘}’ before string constant static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE( ^
Okay, I see that 0.10 is no longer supported on master: https://git.gnome.org/browse/empathy/commit/?id=e3cbf70 But perhaps you would still enjoy applying this patch to the gnome-3-8 branch?
Review of attachment 256822 [details] [review]: Yeah, feel free to merge to 3.8 and/or 3.10
Comment on attachment 256822 [details] [review] audio-sink: fix compilation with GStreamer 0.10 https://git.gnome.org/browse/empathy/commit/?h=gnome-3-10&id=dea9f68e37b897f61eba440128fbc6dfb0b97f7e https://git.gnome.org/browse/empathy/commit/?h=gnome-3-8&id=d922659a8312ba718f6a70ad7b78e2d92d14a370
Thanks Will!