Commit c3f62d7e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

avimux: send stream-start event

parent 40f3fcaa
......@@ -1711,6 +1711,14 @@ gst_avi_mux_start_file (GstAviMux * avimux)
/* stream-start (FIXME: create id based on input ids) */
gchar s_id[32];
g_snprintf (s_id, sizeof (s_id), "avimux-%08x", g_random_int ());
gst_pad_push_event (avimux->srcpad, gst_event_new_stream_start (s_id));
caps = gst_pad_get_pad_template_caps (avimux->srcpad);
gst_pad_set_caps (avimux->srcpad, caps);
gst_caps_unref (caps);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment