mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
adapt to new api
Original commit message from CVS: adapt to new api
This commit is contained in:
parent
5e45fbf303
commit
02591e63a5
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue