After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 142205 - return type of gst_audio_clock_id_wait_async is wrong
return type of gst_audio_clock_id_wait_async is wrong
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-09 16:54 UTC by Arwed v. Merkatz
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
trivial patch to fix it (1.00 KB, patch)
2004-05-09 16:55 UTC, Arwed v. Merkatz
none Details | Review

Description Arwed v. Merkatz 2004-05-09 16:54:52 UTC
using gcc 3.4:
in gst-plugins/gst-libs/gst/audio:
 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../gst-libs -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -pthread -I/home/arwed/gst/include/gstreamer-0.8
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -Wall -Wno-sign-compare -Werror -DG_DISABLE_DEPRECATED
-march=athlon -mmmx -m3dnow -O3 -z combreloc -MT libgstaudio_la-audioclock.lo
-MD -MP -MF .deps/libgstaudio_la-audioclock.Tpo -c audioclock.c  -fPIC -DPIC -o
.libs/libgstaudio_la-audioclock.o
audioclock.c: In function `gst_audio_clock_class_init':
audioclock.c:82: warning: assignment from incompatible pointer type
make: *** [libgstaudio_la-audioclock.lo] Error 1

The return type is indeed wrong, according to gstclock.c it should be
GstClockEntryStatus, not GstClockReturn
Comment 1 Arwed v. Merkatz 2004-05-09 16:55:41 UTC
Created attachment 27510 [details] [review]
trivial patch to fix it
Comment 2 Ronald Bultje 2004-05-16 20:55:39 UTC
Applied to HEAD, thanks.