[gst-devel] Conversion to ARGB32
Zack Rusin
zack at kde.org
Mon Apr 10 23:24:02 CEST 2006
Hey,
I've just been toying around with playing some transformed movies on a
custom canvas and I need each frame in ARGB32. I'm trying to use
capsfilter along ffmpegcolorspace to make sure that in my handoff
callback I'm actually getting the right format.
The problem is that the code I have in the callback
for "new-decoded-pad" for it is freezing the pipeline (handoff callback
is never called). To be more specific setting the caps on the
capsfilter seems to cause it. If I avoid the g_object_set call the
handoff callback is called fine (but of course with yuv data which
doesn't work for me).
The attached minimal snippet (email always mangles code so that's why
the attachment) shows what I basically do in the "new-decoded-pad"
handler. I'm sure it's something silly but I don't see what it could be
be so I'd really appreciate some insight here. The line marked with
FIXME looks to be the culprit.
Zack
--
Lottery: A tax on people who are bad at math.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snippet.cpp
Type: text/x-c++src
Size: 2115 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060410/e09d65cf/attachment.cpp>
More information about the gstreamer-devel
mailing list