diff --git a/gb.media/src/c_media.c b/gb.media/src/c_media.c index c1898966b..e28befea0 100644 --- a/gb.media/src/c_media.c +++ b/gb.media/src/c_media.c @@ -1267,6 +1267,7 @@ END_METHOD BEGIN_METHOD_VOID(MediaPipeline_free) + MEDIA_set_state(THIS, GST_STATE_READY, TRUE); GB.Unref(POINTER(&THIS->watch)); END_METHOD