Error in compiling gstreamer playback tutorial four

Mayank Agarwal mayank77fromindia at gmail.com
Tue Aug 19 05:50:58 PDT 2014


Hi,


I am trying to compile playback tutorial four but i am getting the
following error.


gcc -Wall playbacktutorialfour.c -o playbacktutorialfour $(pkg-config
--cflags --libs gstreamer-1.0)
playbacktutorialfour.c: In function ‘refresh_ui’:
playbacktutorialfour.c:94:5: error: incompatible type for argument 2 of
‘gst_element_query_position’
/usr/local/include/gstreamer-1.0/gst/gstutils.h:947:25: note: expected
‘GstFormat’ but argument is of type ‘enum GstFormat *’
playbacktutorialfour.c:96:9: error: incompatible type for argument 2 of
‘gst_element_query_duration’
/usr/local/include/gstreamer-1.0/gst/gstutils.h:948:25: note: expected
‘GstFormat’ but argument is of type ‘enum GstFormat *’


Regards,
Mayank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20140819/788ca4aa/attachment.html>


More information about the gstreamer-embedded mailing list