diff options
-rw-r--r-- | gst/flv/gstflvdemux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index 9f8cbe257..5c4c58250 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -788,6 +788,7 @@ gst_flv_demux_audio_negotiate (GstFlvDemux * demux, guint32 codec_tag, "audio"); gst_pad_push_event (demux->audio_pad, gst_event_new_stream_start (stream_id)); g_free (stream_id); + ret = gst_pad_set_caps (demux->audio_pad, caps); if (G_LIKELY (ret)) { @@ -1241,6 +1242,8 @@ gst_flv_demux_video_negotiate (GstFlvDemux * demux, guint32 codec_tag) gst_pad_create_stream_id (demux->video_pad, GST_ELEMENT_CAST (demux), "video"); gst_pad_push_event (demux->video_pad, gst_event_new_stream_start (stream_id)); + g_free (stream_id); + ret = gst_pad_set_caps (demux->video_pad, caps); if (G_LIKELY (ret)) { |