[gstreamer-bugs] [Bug 349107] gst.BaseSrc can't negotiate with ffmpegcolorspace
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sat Aug 5 16:19:04 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=349107
GStreamer | gst-python | Ver: 0.10.4
------- Comment #5 from Fredrik Persson 2006-08-05 23:18 UTC -------
I've done some research. Look at line 97291 in debug.log (attachement "The REAL
debug log"). It says:
GST_CAPS( 8036) gstpad.c(2464):gst_pad_get_negotiated_caps: negotiated caps
(NULL)
Here, something has gone wrong, I think. The caps in question should not be
NULL here, they should be something like video/x-raw-yuv, format=(fourcc)I420,
width=(int)720, height=(int)576, framerate=(fraction)625/52,
pixel-aspect-ratio=(fraction)1/1, but that depends on the avi file you're
testing with, of course.
Now look at line 35 in the python code (playbin_test2.py in the attachement
confusingly named "Debug log" below), where I call alloc_buffer. You see there
that I DO send in self.mybuffer.caps, which here is definately NOT null.
So, for some reason, it seems that when using gst.Pad.alloc_buffer (or, for
that matter, gst.Pad.alloc_buffer_and_set_caps) the caps does not actually get
set properly. This makes the subsequent negotiation fail.
I don't know why the caps does not get set properly. But I think that the
problem lies in how the binding for gst.Pad.alloc_buffer (and
gst.Pad.alloc_buffer_and_set_caps works).
--
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