From: Thomas Vander Stichele Date: Tue, 6 Jun 2006 16:26:59 +0000 (+0000) Subject: adapt to new api X-Git-Tag: 1.19.3~511^2~11823 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a19c68a34dc6814a9a611133a9c9a80a982f7d1;p=platform%2Fupstream%2Fgstreamer.git adapt to new api Original commit message from CVS: adapt to new api --- 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;