[gst-devel] BUG: no default clock-rate in rtph263[p](pay|depay)

Antoine Pitrou antoine.pitrou at wengo.fr
Tue Jan 16 15:52:41 CET 2007


Hi,

There is a small bug in rtph263pay, rtph263ppay and rtph263pdepay (and
possibly other RTP elements). In those elements, the RTP clock-rate is
only initialised when one sets the sink pad caps (this can be seen in
gst_basertppayload_setcaps and gst_base_rtp_depayload_setcaps).

This means that when one doesn't explicitly set the sink pad caps, the
pipeline refuses to play and an error is printed because the internal
clock-rate value of the RTP element is 0.

Since the H263 clock-rate is, AFAIK, always 90000, it should be the
default value at element initialisation.

I've experienced the bug with gst-plugins-good 0.10.4, but looking at
the source it hasn't been fixed in 0.10.5.

Regards

Antoine.






More information about the gstreamer-devel mailing list