Hi ShilVin,<br>
<br>
I have tried to implement set_info but doesn't have any effect.<br>
Finally I found the error is due to that <font color=red>I set wrong fps_n and wrong fps_d in transform_caps function.</font><br>
It will cause the CAPs between capsfilter and my plugin are not compatible.
In gstreamer, the meanings of fps_n and fps_d are different with V4L2 driver.<br>
For example, if fps value is 30, fps_n will be 30 and fps_d will be 1 in gstreamer.<br>
But in V4L2 driver, timeperframe.denominator will be 30 and timeperframe.numerator will be 1.<br>
<br>
After I fix this issue, I meet another issue "<font color=red>streaming task paused, reason not-linked (-1)</font>".<br>
Do you know how to solve it?<br>
<br>
Thanks!!<br>
<br>
Attach the error log <a href="http://gstreamer-devel.966125.n4.nabble.com/file/t378390/test.log" target="_top" rel="nofollow" link="external">test.log</a> and the source code <a href="http://gstreamer-devel.966125.n4.nabble.com/file/t378390/gstsplitframe.c" target="_top" rel="nofollow" link="external">gstsplitframe.c</a>


        
        
        
<br/><hr align="left" width="300" />
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>