[gstreamer-bugs] [Bug 340338] New: The python bindings cannot handle the tuner interface on v4l2src elements
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon May 1 13:29:59 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=340338
GStreamer | gst-python | Ver: 0.10.4
Summary: The python bindings cannot handle the tuner interface on
v4l2src elements
Product: GStreamer
Version: 0.10.4
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: frepe at bredband.net
QAContact: johan at gnome.org
GNOME version: Unspecified
GNOME milestone: Unspecified
Steps to reproduce:
Run this simple pyton script. It will give this error message:
"GStreamer-CRITICAL **: gst_implements_interface_cast: assertion
`gst_element_implements_interface (GST_ELEMENT (from), iface_type)' failed
Segmentation fault
import gst
import gobject
source = gst.element_factory_make("v4l2src")
print source.get_channel()
Stack trace:
(gdb) bt
#0 0x00002aaaacdb6b79 in gst_tuner_get_channel (tuner=0x0) at tuner.c:174
#1 0x00002aaab749c51a in initinterfaces ()
from /usr/lib/python2.4/site-packages/gst-0.10/gst/interfaces.so
#2 0x0000000000477314 in PyEval_EvalFrame ()
#3 0x0000000000477dcf in PyEval_EvalCodeEx ()
#4 0x0000000000477ee2 in PyEval_EvalCode ()
#5 0x000000000049bb12 in PyRun_FileExFlags ()
#6 0x000000000049bd9e in PyRun_SimpleFileExFlags ()
#7 0x0000000000410a30 in Py_Main ()
#8 0x00002aaaab07d49b in __libc_start_main () from /lib/libc.so.6
#9 0x000000000040ff6a in _start ()
(gdb)
Other information:
Using the tuner interface in c doesn't seem to be a problem at all. For
example,
this test program runs fine: http://bugzilla.gnome.org/attachment.cgi?id=63735
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list