Hi all,<br>
<br>
I have the following problem I have a pipeline like : gst-launch&nbsp;
rtpbin localport=5592 !
application/x-rtp,media=video,payload=96,clock-rate=90000,encoding-name=H263-1998
! rtph263pdec !
video/x-h263,width=180,height=180,framerate=\(double\)15.0 ! ffdec_h263
! sdlvideosink sync=false <br>
<br>
The problem is that when the newsegment event is sent at first the caps
aren't set and gst-ffmpeg expects them like in gstffmpegde.c in
gst_ffmpegdec_sink_event&nbsp; <br>
it makes decisions based on the codecid id but the codecid isn't set yet! (lots of other needed things aren't set too)<br>
<br>
This function assumes that the ffmepgdec context is set properly but it
isn't since&nbsp; setcaps was never called because it's not called when
the 1st event is sent but only when the 1st data is sent so if you
don't send data before a newsegment event which should be the case I
think&nbsp; setcaps won't be called and the function handling the
newsegement event won't work at all... shouldn't the setcaps be called
on 1st data buffer or 1st event buffer (which ever is 1st) ? rather
then only on 1st data buffer? or am I missing something?<br>
<br>
Thanks to all<br>
<br>
gst-ffmpeg : from HEAD<br>
gstreamer-0.9 : from HEAD<br>
<br>
Antoine<br>
<br>
<br>