From 3a19c68a34dc6814a9a611133a9c9a80a982f7d1 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 6 Jun 2006 16:26:59 +0000 Subject: [PATCH] adapt to new api Original commit message from CVS: adapt to new api --- gst/gdp/gstgdppay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index 616fef9e67..e44a6fe8e1 100644 --- a/gst/gdp/gstgdppay.c +++ b/gst/gdp/gstgdppay.c @@ -662,7 +662,7 @@ gst_gdp_pay_change_state (GstElement * element, GstStateChange transition) switch (transition) { case GST_STATE_CHANGE_READY_TO_PAUSED: - this->packetizer = gst_dp_get_packetizer (this->version); + this->packetizer = gst_dp_packetizer_new (this->version); break; default: break; @@ -673,7 +673,7 @@ gst_gdp_pay_change_state (GstElement * element, GstStateChange transition) switch (transition) { case GST_STATE_CHANGE_PAUSED_TO_READY: if (this->packetizer) { - g_free (this->packetizer); + gst_dp_packetizer_free (this->packetizer); this->packetizer = NULL; } break; -- 2.34.1