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 549090 - v4l2src has no property named norm but notifies it
v4l2src has no property named norm but notifies it
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-23 07:24 UTC by Filippo Argiolas
Modified: 2008-08-23 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
disable g_object_notify (527 bytes, patch)
2008-08-23 07:25 UTC, Filippo Argiolas
committed Details | Review

Description Filippo Argiolas 2008-08-23 07:24:12 UTC
Here is what I get when I try to use a tuner device with v4l2src:

GLib-GObject-WARNING **: IA__g_object_notify: object class `GstV4l2Src' has no property named `norm'

This happens because gst_v4l2_tuner_set_norm_and_notify calls g_object_notify for "norm" property but there is no norm property installed (there is some disabled stuff about PROP_NORM in gstv4l2object.c).

Attaching a simple patch.
Comment 1 Filippo Argiolas 2008-08-23 07:25:45 UTC
Created attachment 117256 [details] [review]
disable g_object_notify
Comment 2 Sebastian Dröge (slomo) 2008-08-23 15:43:37 UTC
2008-08-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

        Patch by: Filippo Argiolas <filippo dot argiolas at gmail dot com>

        * sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_set_norm_and_notify):
        v4l2src doesn't have a property named "norm" so don't try to notify
        about changes to that property. The "norm" property and related
        code are commented out currently. Fixes bug #549090.