gst/rtp/gstrtph263pdec.c: Don't check payload for now.

Original commit message from CVS:
* gst/rtp/gstrtph263pdec.c: (gst_rtph263pdec_chain):
Don't check payload for now.
This commit is contained in:
Wim Taymans 2005-09-19 17:03:55 +00:00
parent 71daf7b88c
commit 994fc0e13e
3 changed files with 33 additions and 18 deletions

View file

@ -1,3 +1,8 @@
2005-09-19 Wim Taymans <wim@fluendo.com>
* gst/rtp/gstrtph263pdec.c: (gst_rtph263pdec_chain):
Don't check payload for now.
2005-09-19 Wim Taymans <wim@fluendo.com>
* gst/wavparse/gstwavparse.c: (gst_wavparse_reset),

View file

@ -170,15 +170,18 @@ gst_rtph263pdec_chain (GstPad * pad, GstBuffer * buf)
GstRtpH263PDec *rtph263pdec;
GstBuffer *outbuf;
GstFlowReturn ret;
GstRTPPayload pt;
/* GstRTPPayload pt; */
rtph263pdec = GST_RTP_H263P_DEC (GST_OBJECT_PARENT (pad));
if (!gst_rtpbuffer_validate (buf))
goto bad_packet;
/*
if ((pt = gst_rtpbuffer_get_payload_type (buf)) != 0)
goto bad_payload;
*/
{
gint payload_len;
@ -261,6 +264,7 @@ bad_packet:
gst_buffer_unref (buf);
return GST_FLOW_ERROR;
}
/*
bad_payload:
{
GST_DEBUG ("Unexpected payload type %u", pt);
@ -268,6 +272,7 @@ bad_payload:
gst_buffer_unref (buf);
return GST_FLOW_ERROR;
}
*/
}
static void

View file

@ -170,15 +170,18 @@ gst_rtph263pdec_chain (GstPad * pad, GstBuffer * buf)
GstRtpH263PDec *rtph263pdec;
GstBuffer *outbuf;
GstFlowReturn ret;
GstRTPPayload pt;
/* GstRTPPayload pt; */
rtph263pdec = GST_RTP_H263P_DEC (GST_OBJECT_PARENT (pad));
if (!gst_rtpbuffer_validate (buf))
goto bad_packet;
/*
if ((pt = gst_rtpbuffer_get_payload_type (buf)) != 0)
goto bad_payload;
*/
{
gint payload_len;
@ -261,6 +264,7 @@ bad_packet:
gst_buffer_unref (buf);
return GST_FLOW_ERROR;
}
/*
bad_payload:
{
GST_DEBUG ("Unexpected payload type %u", pt);
@ -268,6 +272,7 @@ bad_payload:
gst_buffer_unref (buf);
return GST_FLOW_ERROR;
}
*/
}
static void