[gst-cvs] gst-ffmpeg: ffmux: Actually set caps on the srcpad instead of working with NULL caps
Sebastian Dröge
slomo at kemper.freedesktop.org
Mon Mar 23 06:11:16 PDT 2009
Module: gst-ffmpeg
Branch: master
Commit: 3fcef3b6a7799f32b213b486ec80b9acf356e9d7
URL: http://cgit.freedesktop.org/gstreamer/gst-ffmpeg/commit/?id=3fcef3b6a7799f32b213b486ec80b9acf356e9d7
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Sun Mar 15 10:19:53 2009 +0100
ffmux: Actually set caps on the srcpad instead of working with NULL caps
---
ext/ffmpeg/gstffmpegmux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ext/ffmpeg/gstffmpegmux.c b/ext/ffmpeg/gstffmpegmux.c
index a72497c..e1324f0 100644
--- a/ext/ffmpeg/gstffmpegmux.c
+++ b/ext/ffmpeg/gstffmpegmux.c
@@ -222,6 +222,7 @@ gst_ffmpegmux_init (GstFFMpegMux * ffmpegmux, GstFFMpegMuxClass * g_class)
GstPadTemplate *templ = gst_element_class_get_pad_template (klass, "src");
ffmpegmux->srcpad = gst_pad_new_from_template (templ, "src");
+ gst_pad_set_caps (ffmpegmux->srcpad, gst_pad_template_get_caps (templ));
gst_element_add_pad (GST_ELEMENT (ffmpegmux), ffmpegmux->srcpad);
ffmpegmux->collect = gst_collect_pads_new ();
More information about the Gstreamer-commits
mailing list