Hi, <br><br>I try to rescale a video in a playing pipeline with changing the capsfilter caps property. But the<br>buffers still have the old width/height.<br>The pipeline<br>filesource -&gt; decodebin2 -&gt; videoscale -&gt; capsfilter -&gt; fakesink<br>
<br>The caps property on the capsfilter element is initially set to <br><span class="st">&quot;<em>video</em>/<em>x</em>-<em>raw</em>-<em>yuv</em>, width=300, height=300, bpp=24, depth=24&quot;</span><br>I am listening on the handoff signal from the fakesink and get the<br>
right sized buffer (width=300/height=300).<br><br>Now, if I change the caps property to <br><span class="st">&quot;<em>video</em>/<em>x</em>-<em>raw</em>-<em>yuv</em>, width=350, height=300, bpp=24, depth=24&quot;</span><br>
Nothing changes, the buffers from the fakesink handoff signal<br>still have the old width/height.<br><br>Isn&#39;t this one purpose of the videoscale and capsfilter element, to scale<br>the video when the capsfilter property changes?<br>
I am using an old gstreamer version 0.28 (in Ubuntu 10.04)<br><br>(The behaviour is different in a more recent version 0.10.32(or 5?) on Ubuntu 11.10,<br>there the pipeline just stops (demuxer cannot negotiate, I did not investigate<br>
this further, as I am forced to use the older gstreamer0.10 version))<br><br>Is there a more solid way to change videosize dynamically. (I am afraid I have<br>to implement my one fakesink, so I can change the videosize by <br>
implementing my own buffer_alloc function.)<br><br><br>nicolai<br><br>