summaryrefslogtreecommitdiff
path: root/gst/realmedia
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2012-07-13 13:59:16 +0200
committerEdward Hervey <edward.hervey@collabora.co.uk>2012-07-13 13:59:42 +0200
commit2a0945887eedf578e944028bd1e1a35777b90e15 (patch)
treec08617a16a75f12444f65c5063ddcb1bbe9c5cd5 /gst/realmedia
parentfb8a3d2174005ee07649415cf09229f6ca5ee60c (diff)
downloadgstreamer-2a0945887eedf578e944028bd1e1a35777b90e15.tar.gz
demuxers: Push STREAM_START when needed
Diffstat (limited to 'gst/realmedia')
-rw-r--r--gst/realmedia/rademux.c1
-rw-r--r--gst/realmedia/rmdemux.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gst/realmedia/rademux.c b/gst/realmedia/rademux.c
index 113774f4c1..e9258a0d16 100644
--- a/gst/realmedia/rademux.c
+++ b/gst/realmedia/rademux.c
@@ -437,6 +437,7 @@ gst_real_audio_demux_parse_header (GstRealAudioDemux * demux)
GST_INFO_OBJECT (demux, "Adding source pad, caps %" GST_PTR_FORMAT, caps);
demux->srcpad = gst_pad_new_from_static_template (&src_template, "src");
gst_pad_use_fixed_caps (demux->srcpad);
+ gst_pad_push_event (demux->srcpad, gst_event_new_stream_start ());
gst_pad_set_caps (demux->srcpad, caps);
codec_name = gst_pb_utils_get_codec_description (caps);
gst_caps_unref (caps);
diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c
index 240a85d4e4..28481a4345 100644
--- a/gst/realmedia/rmdemux.c
+++ b/gst/realmedia/rmdemux.c
@@ -1489,6 +1489,7 @@ gst_rmdemux_add_stream (GstRMDemux * rmdemux, GstRMDemuxStream * stream)
", stream_id=%d", GST_PAD_NAME (stream->pad), stream_caps, stream->id);
gst_pad_set_active (stream->pad, TRUE);
gst_element_add_pad (GST_ELEMENT_CAST (rmdemux), stream->pad);
+ gst_pad_push_event (stream->pad, gst_event_new_stream_start ());
codec_name = gst_pb_utils_get_codec_description (stream_caps);