projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ca8cc
)
oggmux: send stream-start event
author
Tim-Philipp Müller
<tim@centricular.net>
Sun, 23 Sep 2012 12:27:27 +0000
(13:27 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sun, 23 Sep 2012 12:27:27 +0000
(13:27 +0100)
ext/ogg/gstoggmux.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggmux.c
b/ext/ogg/gstoggmux.c
index
42f0956
..
51b8cc1
100644
(file)
--- a/
ext/ogg/gstoggmux.c
+++ b/
ext/ogg/gstoggmux.c
@@
-1918,7
+1918,13
@@
static void
gst_ogg_mux_send_start_events (GstOggMux * ogg_mux, GstCollectPads * pads)
{
GstSegment segment;
+ gchar s_id[32];
+ /* stream-start (FIXME: create id based on input ids) */
+ g_snprintf (s_id, sizeof (s_id), "oggmux-%08x", g_random_int ());
+ gst_pad_push_event (ogg_mux->srcpad, gst_event_new_stream_start (s_id));
+
+ /* segment */
gst_segment_init (&segment, GST_FORMAT_BYTES);
gst_pad_push_event (ogg_mux->srcpad, gst_event_new_segment (&segment));