Hi,<br><br>I&#39;m writing a custom plugin ( the plugin is the combined of videorate and capsfilter)  to adjust fps at run-time by changing &quot;caps&quot; property of capsfilter element.<br>But to make the new fps get effect, I need to change pipeline state to PAUSED, change &quot;caps&quot; property and then change pipeline state to PLAYING. Here&#39;s the result:<br>
- using gst_element_set_state(), gst-launch told that I should not change state inside element thread, post a GstMessage.<br>- post a GstMessage, then I got this error:<br>** (gst-launch-0.10:7370): WARNING **: Old state = 4, current state = 0, next state = 0, new state = 2<br>
<br><br>** (gst-launch-0.10:7370): WARNING **: Old state = 4, current state = 0, next state = 0, new state = 4<br><br><br>(gst-launch-0.10:7370): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GstMessage&#39;<br>
<br>(gst-launch-0.10:7370): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GstMessage&#39;<br><br>(gst-launch-0.10:7370): GStreamer-CRITICAL **: gst_value_set_mini_object: assertion `mini_object == NULL || GST_IS_MINI_OBJECT (mini_object)&#39; failed<br>
Caught SIGSEGV accessing address 0x18<br>Killed<br><br>So is there any one got an idea for me?<br>Thanks<br clear="all"><br>-- <br>Cheers !<br><br>trungnt<br>