GNOME Bugzilla – Bug 382179
Videomixer shouldn't reset position to 0 when the caps are set
Last modified: 2006-12-06 15:06:21 UTC
Hi, Currently videomixer sets xpos and ypos of a pad to 0 when a setcaps function is called.. Which causes code that sets the xpos after linking but before starting the pipeline to do the unexpected thing.
Created attachment 77620 [details] [review] Remove offset resetting code
Patch by: Sjoerd Simons <sjoerd at luon dot net> * gst/videomixer/videomixer.c: (gst_videomixer_set_master_geometry), (gst_videomixer_pad_sink_setcaps), (gst_videomixer_collect_free): Don't reset xpos and ypos in the setcaps function because causes unexpected behaviour. Fixes #382179.