summaryrefslogtreecommitdiffstats
path: root/audio/gstsbcparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gstsbcparse.c')
-rw-r--r--audio/gstsbcparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/gstsbcparse.c b/audio/gstsbcparse.c
index e204870b..9f0c4d81 100644
--- a/audio/gstsbcparse.c
+++ b/audio/gstsbcparse.c
@@ -295,6 +295,7 @@ static GstStateChangeReturn sbc_parse_change_state(GstElement *element,
}
sbc_init(&parse->sbc, 0);
break;
+
case GST_STATE_CHANGE_PAUSED_TO_READY:
GST_DEBUG("Finish subband codec");
if (parse->buffer) {
@@ -303,6 +304,7 @@ static GstStateChangeReturn sbc_parse_change_state(GstElement *element,
}
sbc_finish(&parse->sbc);
break;
+
default:
break;
}