mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +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) {
|
switch (transition) {
|
||||||
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||||
this->packetizer = gst_dp_get_packetizer (this->version);
|
this->packetizer = gst_dp_packetizer_new (this->version);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -673,7 +673,7 @@ gst_gdp_pay_change_state (GstElement * element, GstStateChange transition)
|
||||||
switch (transition) {
|
switch (transition) {
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||||
if (this->packetizer) {
|
if (this->packetizer) {
|
||||||
g_free (this->packetizer);
|
gst_dp_packetizer_free (this->packetizer);
|
||||||
this->packetizer = NULL;
|
this->packetizer = NULL;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue