mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
71daf7b88c
commit
994fc0e13e
3 changed files with 33 additions and 18 deletions
|
@ -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),
|
||||
|
|
|
@ -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;
|
||||
/*
|
||||
if ((pt = gst_rtpbuffer_get_payload_type (buf)) != 0)
|
||||
goto bad_payload;
|
||||
*/
|
||||
|
||||
{
|
||||
gint payload_len;
|
||||
|
@ -261,13 +264,15 @@ bad_packet:
|
|||
gst_buffer_unref (buf);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
bad_payload:
|
||||
{
|
||||
GST_DEBUG ("Unexpected payload type %u", pt);
|
||||
/*
|
||||
bad_payload:
|
||||
{
|
||||
GST_DEBUG ("Unexpected payload type %u", pt);
|
||||
|
||||
gst_buffer_unref (buf);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
gst_buffer_unref (buf);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -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;
|
||||
/*
|
||||
if ((pt = gst_rtpbuffer_get_payload_type (buf)) != 0)
|
||||
goto bad_payload;
|
||||
*/
|
||||
|
||||
{
|
||||
gint payload_len;
|
||||
|
@ -261,13 +264,15 @@ bad_packet:
|
|||
gst_buffer_unref (buf);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
bad_payload:
|
||||
{
|
||||
GST_DEBUG ("Unexpected payload type %u", pt);
|
||||
/*
|
||||
bad_payload:
|
||||
{
|
||||
GST_DEBUG ("Unexpected payload type %u", pt);
|
||||
|
||||
gst_buffer_unref (buf);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
gst_buffer_unref (buf);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue