transcoder: Set state back to NULL after run() finishes

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1063>
This commit is contained in:
Thibault Saunier 2021-10-05 18:52:25 -03:00 committed by GStreamer Marge Bot
parent 07908ccead
commit 2dacd33e9e

View file

@ -984,6 +984,7 @@ gst_transcoder_run (GstTranscoder * self, GError ** error)
if (!data.error)
g_main_loop_run (data.loop);
gst_element_set_state (self->transcodebin, GST_STATE_NULL);
g_object_unref (signal_adapter);
if (data.error) {