• Wim Taymans's avatar
    gst/rtp/gstrtpL16depay.c: Check if clock-rate and channels are valid. · 2428a1ca
    Wim Taymans authored
    Original commit message from CVS:
    * gst/rtp/gstrtpL16depay.c: (gst_rtp_L16_depay_setcaps),
    (gst_rtp_L16_depay_process):
    Check if clock-rate and channels are valid.
    Don't ignore the return value of setcaps.
    No need to validate the buffer, the base class does that for us.
    Use the marker bit to set the DISCONT flag on outgoing buffers.
    * gst/rtp/gstrtpL16pay.c: (gst_rtp_L16_pay_setcaps):
    Don't ignore the return value of set_outcaps.
    * gst/rtp/gstrtpac3depay.c: (gst_rtp_ac3_depay_setcaps),
    (gst_rtp_ac3_depay_process):
    Don't ignore the return value of set_caps.
    No need to validate the buffer, the base class does that for us.
    * gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_setcaps),
    (gst_rtp_amr_depay_process):
    * gst/rtp/gstrtpamrdepay.h:
    Don't ignore the return value of setcaps.
    No need to validate the buffer, the base class does that for us.
    No need to set output caps on the buffers, the base class does that for
    us.
    The subclass will make su...
    2428a1ca
gstrtpdvdepay.c 12.3 KB