projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f3fca
)
avimux: send stream-start event
author
Tim-Philipp Müller
<tim@centricular.net>
Sun, 23 Sep 2012 14:16:14 +0000
(15:16 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sun, 23 Sep 2012 15:33:34 +0000
(16:33 +0100)
gst/avi/gstavimux.c
patch
|
blob
|
history
diff --git
a/gst/avi/gstavimux.c
b/gst/avi/gstavimux.c
index cce804f35024f2c8df9be4c9abc8caca2f6f9a92..2739555986a87425f6060a4d058d8ccc4fab5fb7 100644
(file)
--- 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);