diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2012-09-23 15:16:14 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-09-23 16:33:34 +0100 |
commit | c3f62d7eadae3a59b36a86235ab73142fe8db209 (patch) | |
tree | f06646f6e50790acd6c0e1351ef66d99c2c74398 /gst | |
parent | 40f3fcaa131a966875670767eefe68bbf8506ba1 (diff) |
avimux: send stream-start event
Diffstat (limited to 'gst')
-rw-r--r-- | gst/avi/gstavimux.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index cce804f35..273955598 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -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); |