gst_bus_remove_watch was not declared in this scope
Yasushi SHOJI
yasushi.shoji at gmail.com
Fri Dec 16 07:25:34 UTC 2016
Hi,
On Fri, Dec 16, 2016 at 12:33 AM, Mikl <michael.yarochkin at timetronics.be>
wrote:
>
> I am compiling library on Debian using last Gstreamer (fresh from apt-get)
>
> On my code
> gst_bus_remove_watch(_bus);
>
> i have error
> error: 'gst_bus_remove_watch' was not declared in this scope
> gst_bus_remove_watch(_bus);
>
> Can you help me what i am doing wrong, please?
It'd be better to post a smallest possible code that can reproduce the
error,
along with your compiler command line.
btw, this, doesn't make sense at all but, compiles fiine on a Debian Sid.
$ cat a.c
#include <gst/gst.h>
int main() {
gst_bus_remove_watch(NULL);
return 0;
}
$ g++ -Wall -Wextra -g $(pkg-config --cflags --libs gstreamer-1.0) a.c
Thanks,
--
yashi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161216/9fcf7eaf/attachment.html>
More information about the gstreamer-devel
mailing list