encodebin: sync muxer state with parent bin
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 12 Feb 2013 17:22:23 +0000 (17:22 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 12 Feb 2013 17:27:10 +0000 (17:27 +0000)
Other elements were synced, but not the muxer.

gst/encoding/gstencodebin.c

index fc32bbd..96bb4b9 100644 (file)
@@ -1727,6 +1727,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))