From d73263cd309560276df9a2be5e65f3d22c3bc4cb Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 4 Oct 2006 13:18:57 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ gst/tcp/gsttcp.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0e62b98963..16ff370469 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-10-04 Thomas Vander Stichele + + * 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 * docs/plugins/Makefile.am: diff --git a/gst/tcp/gsttcp.c b/gst/tcp/gsttcp.c index 0bd30128d8..73f30066c8 100644 --- a/gst/tcp/gsttcp.c +++ b/gst/tcp/gsttcp.c @@ -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); -- 2.34.1