mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
avimux: send stream-start event
This commit is contained in:
parent
40f3fcaa13
commit
c3f62d7ead
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
caps = gst_pad_get_pad_template_caps (avimux->srcpad);
|
||||||
gst_pad_set_caps (avimux->srcpad, caps);
|
gst_pad_set_caps (avimux->srcpad, caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
Loading…
Reference in a new issue