summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2006-06-06 16:26:59 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2006-06-06 16:26:59 +0000
commit02591e63a550c2d0a04542f9d8e38e5ae1fb4570 (patch)
tree953e20f90c3b518077ab6f8e9d08c3a37132f207 /gst
parent5e45fbf3038b259651ea9bd927bd9c7d5f7a81bc (diff)
downloadgst-plugins-bad-02591e63a550c2d0a04542f9d8e38e5ae1fb4570.tar.gz
gst-plugins-bad-02591e63a550c2d0a04542f9d8e38e5ae1fb4570.tar.bz2
gst-plugins-bad-02591e63a550c2d0a04542f9d8e38e5ae1fb4570.zip
adapt to new api
Original commit message from CVS: adapt to new api
Diffstat (limited to 'gst')
-rw-r--r--gst/gdp/gstgdppay.c4
1 files changed, 2 insertions, 2 deletions
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;