GNOME Bugzilla – Bug 311401
alpha capsnego broken
Last modified: 2005-07-27 16:08:06 UTC
gstalpha failes to negotiate correct which causes the following pipeline to stop working after the first processed frame : SRC_CAPS="video/x-raw-yuv,format=(fourcc)I420,framerate=(double)5.625" v4lsrc autoprobe=false autoprobe-fps=false ! $SRC_CAPS ! \ alpha method=3 target_b=255 target_g=0 target_r=0 ! videomixer ! \ ffmpegcolorspace ! videorate ! \ video/x-raw-rgb,framerate=(double)5.0 ! autovideosink
Created attachment 49676 [details] [review] Fix for the reported problem This patch implements a getcaps function on both sink and source pads. It also moves the delayed linking (done in the first call to the chain function) to the link functions. It also removes an unnecessary multiplication (per pixel) in the chroma funtions.
2005-07-27 Wouter Paesen <wouter@kangaroot.net> Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/alpha/gstalpha.c: (gst_alpha_init), (gst_alpha_get_caps), (gst_alpha_sink_link), (gst_alpha_chroma_key_ayuv), (gst_alpha_chroma_key_i420), (gst_alpha_init_params), (gst_alpha_chain): Fix capsnego (#311401).