summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2013-02-12 17:22:23 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2013-02-12 17:34:34 +0000
commitba5f0d8afc544160d1012f9db5a62c1d2ff934e3 (patch)
tree54717cb4c67f2bf8e853b3365c317817d959fcf9
parent519f85a43e73efb8f3fb2c7be45226e71149f6c6 (diff)
downloadgstreamer-plugins-base-ba5f0d8afc544160d1012f9db5a62c1d2ff934e3.tar.gz
encodebin: sync muxer state with parent bin
Other elements were synced, but not the muxer.
-rw-r--r--gst/encoding/gstencodebin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c
index 17610cbe9..c05ac9ba9 100644
--- a/gst/encoding/gstencodebin.c
+++ b/gst/encoding/gstencodebin.c
@@ -1682,6 +1682,7 @@ create_elements_and_pads (GstEncodeBin * ebin)
goto stream_error;
}
}
+ gst_element_sync_state_with_parent (muxer);
} else {
if (G_UNLIKELY (_create_stream_group (ebin, ebin->profile, NULL,
NULL) == NULL))