gst/tcp/gsttcp.c: Fix a simple mistake (see the docs)

Original commit message from CVS:
* gst/tcp/gsttcp.c: (gst_tcp_gdp_read_caps):
Fix a simple mistake (see the docs)
Fixes #359580
This commit is contained in:
Thomas Vander Stichele 2006-10-04 13:18:57 +00:00
parent 1af4d590f2
commit d73263cd30
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-10-04 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/tcp/gsttcp.c: (gst_tcp_gdp_read_caps):
Fix a simple mistake (see the docs)
Fixes #359580
2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
* docs/plugins/Makefile.am:

View file

@ -432,7 +432,7 @@ gst_tcp_gdp_read_caps (GstElement * this, int socket, int cancel_fd,
if (ret != GST_FLOW_OK)
goto payload_read_error;
if (!gst_dp_validate_payload (payload_length, header, payload))
if (!gst_dp_validate_payload (GST_DP_HEADER_LENGTH, header, payload))
goto payload_validate_error;
*caps = gst_dp_caps_from_packet (GST_DP_HEADER_LENGTH, header, payload);