Commit graph

31 commits

Author SHA1 Message Date
Vineeth TM 8cdfb13658 bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
2016-03-24 14:56:51 +02:00
Ilya Averyanov be1e9daff5 element-template: Fix wrong pad in videoencoder
https://bugzilla.gnome.org/show_bug.cgi?id=753326
2015-08-06 16:24:43 -04:00
Sebastian Rasmussen 9e50a4b8eb element-maker: Avoid leaking copy of caps object
gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734539
2014-08-10 11:29:56 +01:00
David Schleef 15f4154b6a element-maker: Add transform functions to audiofilter 2013-05-18 14:02:18 -07:00
David Schleef 5dec0eddcb element-template: add start/stop to videofilter 2013-04-12 14:11:10 -07:00
David Schleef 98e7ec4153 element-templates: avoid using PadTemplates 2013-04-12 14:11:10 -07:00
David Schleef 12a4ff1100 element-templates: Add helper code to transform_caps 2013-04-12 14:11:09 -07:00
David Schleef b11a36c6e8 element-maker: fix return value in videoencoder 2013-04-09 15:36:17 -07:00
David Schleef 79af542fc6 element-maker: call up in basetransform template
More templates should be doing this: function implementations
should call up to the default implementation in the base class.
2013-04-01 19:53:01 -07:00
David Schleef 9e7db27966 element-maker: remove sinkpad/srcpad fields
Information is in the base class anyway, plus pad creation was
done incorrectly.
2013-03-19 17:28:16 -07:00
David Schleef 84faa2f8b8 element-maker: clean up bits from previous commit
Files that were supposed to be in the previous element-maker
commit.  This is what happens when cherry-pick doesn't work.
2013-03-15 20:30:01 -07:00
David Schleef b45a1df5de element-maker: Update templates for 1.0
This are (almost) completely autogenerated from the documentation.
2013-03-14 23:57:06 -07:00
David Schleef f790fcbfa6 element-maker: Update somewhat for 1.0
Only converted basetransform for the moment.  It's probably easier
to write templates from scratch from the documentation.
2013-02-06 12:43:45 -08:00
Tim-Philipp Müller 9e1b75fda3 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Sebastian Dröge 860ccd414d Merge remote-tracking branch 'origin/0.10'
Conflicts:
	NEWS
	RELEASE
	common
	configure.ac
	docs/libs/gst-plugins-bad-libs-sections.txt
	docs/plugins/gst-plugins-bad-plugins.args
	docs/plugins/gst-plugins-bad-plugins.hierarchy
	docs/plugins/gst-plugins-bad-plugins.interfaces
	docs/plugins/inspect/plugin-adpcmdec.xml
	docs/plugins/inspect/plugin-adpcmenc.xml
	docs/plugins/inspect/plugin-assrender.xml
	docs/plugins/inspect/plugin-audiovisualizers.xml
	docs/plugins/inspect/plugin-autoconvert.xml
	docs/plugins/inspect/plugin-bayer.xml
	docs/plugins/inspect/plugin-bz2.xml
	docs/plugins/inspect/plugin-camerabin2.xml
	docs/plugins/inspect/plugin-celt.xml
	docs/plugins/inspect/plugin-dataurisrc.xml
	docs/plugins/inspect/plugin-debugutilsbad.xml
	docs/plugins/inspect/plugin-dtmf.xml
	docs/plugins/inspect/plugin-dtsdec.xml
	docs/plugins/inspect/plugin-dvbsuboverlay.xml
	docs/plugins/inspect/plugin-dvdspu.xml
	docs/plugins/inspect/plugin-faac.xml
	docs/plugins/inspect/plugin-faad.xml
	docs/plugins/inspect/plugin-gsm.xml
	docs/plugins/inspect/plugin-h264parse.xml
	docs/plugins/inspect/plugin-mms.xml
	docs/plugins/inspect/plugin-modplug.xml
	docs/plugins/inspect/plugin-mpeg2enc.xml
	docs/plugins/inspect/plugin-mpegdemux2.xml
	docs/plugins/inspect/plugin-mpegtsdemux.xml
	docs/plugins/inspect/plugin-mpegvideoparse.xml
	docs/plugins/inspect/plugin-mplex.xml
	docs/plugins/inspect/plugin-pcapparse.xml
	docs/plugins/inspect/plugin-rawparse.xml
	docs/plugins/inspect/plugin-rtpmux.xml
	docs/plugins/inspect/plugin-rtpvp8.xml
	docs/plugins/inspect/plugin-scaletempo.xml
	docs/plugins/inspect/plugin-schro.xml
	docs/plugins/inspect/plugin-sdp.xml
	docs/plugins/inspect/plugin-segmentclip.xml
	docs/plugins/inspect/plugin-shm.xml
	docs/plugins/inspect/plugin-videomaxrate.xml
	docs/plugins/inspect/plugin-videoparsersbad.xml
	docs/plugins/inspect/plugin-vp8.xml
	docs/plugins/inspect/plugin-y4mdec.xml
	ext/celt/gstceltdec.c
	ext/dts/gstdtsdec.c
	ext/modplug/gstmodplug.cc
	ext/opus/gstopusenc.c
	gst-libs/gst/video/gstbasevideocodec.c
	gst-libs/gst/video/gstbasevideocodec.h
	gst-libs/gst/video/gstbasevideodecoder.c
	gst-libs/gst/video/gstbasevideodecoder.h
	gst-libs/gst/video/gstbasevideoencoder.c
	gst-libs/gst/video/gstbasevideoencoder.h
	gst/adpcmdec/Makefile.am
	gst/audiovisualizers/gstbaseaudiovisualizer.c
	gst/h264parse/gsth264parse.c
	gst/mpegdemux/mpegtsparse.c
	gst/mpegtsdemux/mpegtsbase.c
	gst/mpegtsdemux/mpegtspacketizer.c
	gst/mpegtsdemux/mpegtsparse.c
	gst/mpegtsdemux/tsdemux.c
	gst/mpegtsdemux/tsdemux.h
	gst/mxf/mxfdemux.c
	gst/rawparse/gstaudioparse.c
	gst/videoparsers/gsth263parse.c
	gst/videoparsers/gsth264parse.c
	sys/d3dvideosink/d3dvideosink.c
	sys/decklink/gstdecklinksink.cpp
	sys/dvb/gstdvbsrc.c
	sys/shm/gstshmsrc.c
	sys/vdpau/h264/gstvdph264dec.c
	sys/vdpau/mpeg/gstvdpmpegdec.c
	tests/examples/opencv/gst_element_print_properties.c
	win32/common/config.h
2012-03-29 17:41:53 +02:00
David Schleef b45c206647 element-templates: chain query/event functions
Chain up to parent class.  This fix should be done to all of the
templates.
2012-03-17 12:18:47 -07:00
Tim-Philipp Müller 9aa9903430 gst-element-maker: fix -template-video caps string
Don't forget separator.
2012-03-17 16:09:31 +00:00
Tim-Philipp Müller 3991742d77 gst-element-maker: add video pad template and use it in videofilter class
Would be nicer if one could just supplement the generic template
from the element template though.

Also, I would really have liked to just add those sections from the
pads template into the element templet directly (so I can cater for
src template caps == sink template caps), but that didn't seem to
work.
2012-03-17 16:05:20 +00:00
Tim-Philipp Müller 48398114e6 gst-element-maker: add {src,sink}pad-template, since many base classes create pads for us
And use them in the videofilter template.
2012-03-17 15:49:45 +00:00
Tim-Philipp Müller e504dc3f6b tools: add videofilter template for gst-element-maker 2012-03-17 15:16:29 +00:00
Vincent Penquerc'h 7521b597f4 various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Wim Taymans 8546951222 chain up in set_clock 2011-11-10 12:11:21 +01:00
Stefan Kost c46725845b element-templates: improve the audiofilter template
Add comments. Add start/stop methods. Add (commented) instance casts at the
begin of the method. Make transform_ip returning FLOW_OK by default.
2011-05-18 10:31:38 +03:00
Stefan Kost f7f5946fd3 element-maker: fixup gobject template a bit but disable for now
The template contains things we already define by default.
2011-04-26 15:21:47 +03:00
Stefan Kost 795bf6c53b element-templates: fix templates
Use the object class and not the object in the init function. Set the vmethods.
Add default returns.
2011-04-26 15:21:07 +03:00
Tim-Philipp Müller fb0222ea67 element-templates: clean up gobject template a bit
Remove pointless g_return_if_fail (G_IS_FOO (obj)) checks in
vfunc implementations. Comment out unused variables to avoid
warnings with gcc 4.6.
2011-04-15 00:24:47 +01:00
Tim-Philipp Müller 581714bff0 baseparse: remove -bad version of baseparse library, now in core 2011-04-09 00:38:02 +01:00
David Schleef 02b15b4e8b element-maker: Add videofilter2 template 2011-04-08 15:51:04 -07:00
David Schleef 5a1132aaf1 element-maker: Add baseparse template 2011-02-17 14:07:53 -08:00
David Schleef a09078db4a element-maker: improve pushsrc 2011-01-05 18:27:04 -08:00
David Schleef 7ae4aaaee6 element-maker: Clean up directory 2010-12-15 12:47:02 -08:00