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 606688 - Warning compiling videoutil.c on 64 bit
Warning compiling videoutil.c on 64 bit
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-sharp
git master
Other Linux
: Normal normal
: 0.9.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-11 23:44 UTC by Gabriel Burt
Modified: 2010-01-12 11:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for this - definitely fixes the warning, and is based off an example in the devhelp docs for gstreamer (553 bytes, patch)
2010-01-11 23:49 UTC, Gabriel Burt
committed Details | Review

Description Gabriel Burt 2010-01-11 23:44:29 UTC
videoutil.c: In function 'gstsharp_gst_videoutil_get_template_caps':
videoutil.c:14: warning: passing argument 2 of 'gst_caps_set_simple' makes pointer from integer without a cast

gst_caps_set_simple (caps, fourcc, GST_TYPE_FOURCC, fourcc, NULL);

should probably be replaced with

gst_caps_set_simple (caps, "format", GST_TYPE_FOURCC, fourcc, NULL);

?
Comment 1 Gabriel Burt 2010-01-11 23:49:23 UTC
Created attachment 151205 [details] [review]
Patch for this - definitely fixes the warning, and is based off an example in the devhelp docs for gstreamer
Comment 2 Sebastian Dröge (slomo) 2010-01-12 11:27:57 UTC
commit 6d02097924ab857707fc5150ed2857a55dd54020
Author: Gabriel Burt <gabriel.burt@gmail.com>
Date:   Tue Jan 12 12:23:06 2010 +0100

    Fix generation of YUV template caps
    
    Fixes bug #606688.