GstPlayBaseBin GstChildProxy
GstPlayBin GstChildProxy
GstPlayBin2 GstChildProxy GstStreamVolume
-GstDecodeBin2 GstChildProxy
-GstURIDecodeBin GstChildProxy
+GstEncodeBin GstChildProxy
GstDecodeBin GstChildProxy
GstPlaySink GstChildProxy
GstSubtitleOverlay GstChildProxy
-GstEncodeBin GstChildProxy
-GstVorbisEnc GstTagSetter GstPreset
-GstVorbisTag GstTagSetter
+GstDecodeBin2 GstChildProxy
+GstURIDecodeBin GstChildProxy
+GstGnomeVFSSrc GstURIHandler
+GstGioSrc GstURIHandler
GstCddaBaseSrc GstURIHandler
GstCdParanoiaSrc GstURIHandler
GstAlsaSrc GstImplementsInterface GstMixer GstPropertyProbe
-GstGioSrc GstURIHandler
-GstGnomeVFSSrc GstURIHandler
+GstV4lElement GstImplementsInterface GstTuner GstXOverlay GstColorBalance GstPropertyProbe
+GstV4lSrc GstImplementsInterface GstTuner GstXOverlay GstColorBalance GstPropertyProbe
GstAppSrc GstURIHandler
+GstGnomeVFSSink GstURIHandler
GstGioSink GstURIHandler
GstAlsaSink GstPropertyProbe
-GstGnomeVFSSink GstURIHandler
-GstXImageSink GstImplementsInterface GstNavigation GstXOverlay
GstXvImageSink GstImplementsInterface GstNavigation GstXOverlay GstColorBalance GstPropertyProbe
+GstXImageSink GstImplementsInterface GstNavigation GstXOverlay
GstAppSink GstURIHandler
-GstAlsaMixerElement GstImplementsInterface GstMixer GstPropertyProbe
GstTheoraEnc GstPreset
GstOggMux GstPreset
+GstVorbisEnc GstTagSetter GstPreset
+GstVorbisTag GstTagSetter
+GstAlsaMixerElement GstImplementsInterface GstMixer GstPropertyProbe
GstVolume GstImplementsInterface GstMixer GstStreamVolume
PangoCairoFcFontMap PangoCairoFontMap
{
/* create the sink and src pads */
visual->sinkpad = gst_pad_new_from_static_template (&sink_template, "sink");
- gst_pad_set_setcaps_function (visual->sinkpad, gst_visual_sink_setcaps);
gst_pad_set_chain_function (visual->sinkpad, gst_visual_chain);
gst_pad_set_event_function (visual->sinkpad, gst_visual_sink_event);
gst_element_add_pad (GST_ELEMENT (visual), visual->sinkpad);
GstStructure *structure;
GstCaps *caps;
GstQuery *query;
- GstBufferPool *pool;
+ GstBufferPool *pool = NULL;
guint size, min, max, prefix, alignment;
caps = gst_pad_get_caps (visual->srcpad);
gst_visual_reset (visual);
res = gst_pad_push_event (visual->srcpad, event);
break;
+ case GST_EVENT_CAPS:
+ {
+ GstCaps *caps;
+
+ gst_event_parse_caps (event, &caps);
+ res = gst_visual_sink_setcaps (pad, caps);
+ break;
+ }
case GST_EVENT_NEWSEGMENT:
{
GstFormat format;
break;
}
default:
- res = gst_pad_push_event (visual->srcpad, event);
+ res = gst_pad_event_default (visual->srcpad, event);
break;
}