From 02591e63a550c2d0a04542f9d8e38e5ae1fb4570 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 6 Jun 2006 16:26:59 +0000 Subject: 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(-) (limited to 'gst') diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index 616fef9e..e44a6fe8 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; -- cgit v1.2.1