Commit graph

55 commits

Author SHA1 Message Date
Thiago Santos
d19f347223 Revert "audiodecoder: expose default query handling function"
Apparently I forgot how gobject works, there is no need to expose
it directly as one can call it from the parent_class pointer

This reverts commit 8a64592481.
2015-08-15 13:44:35 -03:00
Thiago Santos
33b1da7b80 audiodecoder: add option to use default pad accept-caps handling
Add gst_audio_decoder_set_use_default_pad_acceptcaps() to allow
subclasses to make videodecoder use the default pad acceptcaps
handling instead of resorting to the caps query that is, usually,
less efficient and unecessary

API: gst_audio_decoder_set_use_default_pad_acceptcaps
2015-08-15 13:44:34 -03:00
Thiago Santos
8a64592481 audiodecoder: expose default query handling function
Subclasses can use it to select what queries they want to handle
and forward the rest to the default handling function.

API: gst_audio_decoder_sink_query_default

https://bugzilla.gnome.org/show_bug.cgi?id=753623
2015-08-14 13:41:58 -03:00
Jan Schmidt
8a77ef9398 Update win32 exports 2015-06-09 22:03:56 +10:00
Thiago Santos
36a99922e4 audiodecoder: expose getcaps virtual function
Allows subclasses to do custom caps query replies.

Also exposes the standard caps query handler so subclasses can just
extend on top of it instead of reimplementing the caps query proxying.
2014-12-17 19:15:24 -03:00
Sebastian Dröge
5065e76b1c audio: Add gst_audio_info_is_equal() 2013-05-30 23:56:52 +02:00
Tim-Philipp Müller
ad3c72c327 win32: add new ringbuffer API to exports file 2012-09-10 21:20:17 +01:00
Sebastian Dröge
d6dbb351c6 audio/video: Add new API to the docs 2012-08-14 15:48:45 +02:00
Sebastian Dröge
6e5bee2d1a docs: Add new audio base classes API to the docs 2012-08-09 15:30:30 +02:00
Vivia Nikolaidou
fcfab7fbcc win32: Update exported symbols list 2012-07-24 20:42:49 +02:00
Sebastian Dröge
462c4cc3d8 audio: Remove unused, generated marshallers 2012-06-08 11:28:56 +02:00
Sebastian Dröge
f6ad25e08d win32: Update exported symbols list 2012-06-04 13:04:00 +02:00
Sebastian Dröge
69b18ab09d gst-libs: Remove interfaces libs and mixer/tuner interfaces
The navigation interface is now in the video library.
2012-04-13 13:14:13 +02:00
Sebastian Dröge
9cd9f00799 audioencoder: Add gst_audio_encoder_set_headers() to the docs 2012-03-30 12:57:02 +02:00
Sebastian Dröge
40a4f2f8aa audiodecoder: Rename _byte_time() to _estimate_rate()
Which is telling more about what this actually does and is more
consistent with the video base classes.
2012-03-30 11:51:47 +02:00
Wim Taymans
797f19a036 defs: update 2012-03-21 13:20:19 +01:00
Tim-Philipp Müller
29c266ccff Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	common
	docs/libs/gst-plugins-base-libs.types
	ext/pango/gsttextoverlay.c
	ext/vorbis/gstvorbisdec.c
	gst/playback/gstplaysink.c
	gst/playback/gstplaysinkconvertbin.c
	sys/ximage/ximagesink.c
	sys/xvimage/xvimagesink.c
2012-03-08 20:31:34 +00:00
Edward Hervey
38f79e682c win32: update defs for new libgstaudio symbol 2012-03-07 09:04:18 +01:00
Tim-Philipp Müller
0f6c8a27a7 docs: add new audio base class API to docs and .def file 2012-02-17 15:08:36 +00:00
Wim Taymans
b3c5da218e defs: update 2012-02-17 10:06:19 +01:00
Wim Taymans
155ca93a46 def: update 2012-02-06 13:23:26 +01:00
Sebastian Dröge
ed53219e49 win32: Add the new audio symbols to the list of exported symbols 2012-01-10 12:57:27 +01:00
Tim-Philipp Müller
281803cf2b win32: update .def files for API changes 2011-12-25 21:39:39 +00:00
Edward Hervey
06fb926ff1 win32: update for API changes 2011-11-30 11:34:04 +01:00
Tim-Philipp Müller
dbb48b1de0 win32: update for API changes 2011-11-13 14:39:43 +00:00
Wim Taymans
d77c8cafee Merge branch 'master' into 0.11
Conflicts:
	common
	ext/pango/gsttextoverlay.c
	gst-libs/gst/video/video.c
2011-11-09 12:11:59 +01:00
Tim-Philipp Müller
a08f0c1a22 win32: update .def file for new audiosink API
API: gst_base_audio_sink_get_alignment_threshold()
API: gst_base_audio_sink_set_alignment_threshold()
API: gst_base_audio_sink_get_discont_wait()
API: gst_base_audio_sink_set_discont_wait()
2011-11-08 00:16:56 +00:00
Wim Taymans
ed46925969 defs: add new symbols 2011-09-29 13:45:58 +02:00
Wim Taymans
f71511edd2 Merge branch 'master' into 0.11
Conflicts:
	gst-libs/gst/audio/gstaudiodecoder.c
	gst-libs/gst/audio/gstaudioencoder.c
	gst/encoding/gstencodebin.c
2011-09-26 19:22:05 +02:00
Sebastian Dröge
c4a8778a45 win32: Adjust for GstAudioEncoder API changes 2011-09-26 16:36:22 +02:00
Edward Hervey
fa89c47efa win32: Update .def files 2011-09-21 13:31:56 +02:00
Wim Taymans
7012e88090 Merge branch 'master' into 0.11
Conflicts:
	gst-libs/gst/audio/audio.h
	gst-libs/gst/audio/gstaudiodecoder.c
	gst-libs/gst/audio/gstaudiodecoder.h
	gst-libs/gst/audio/gstaudioencoder.c
	gst-libs/gst/audio/gstbaseaudioencoder.h
	gst/playback/Makefile.am
	gst/playback/gstplaybin.c
	gst/playback/gstplaysink.c
	gst/playback/gstplaysinkvideoconvert.c
	gst/playback/gstsubtitleoverlay.c
	gst/videorate/gstvideorate.c
	gst/videoscale/gstvideoscale.c
	win32/common/libgstaudio.def
2011-09-06 15:24:32 +02:00
Tim-Philipp Müller
86e6343759 audio: rename GstBaseAudioDecoder/Encoder to GstAudioDecoder/Encoder
API: gst_gst_audio_decoder_finish_frame()
API: gst_gst_audio_decoder_get_audio_info()
API: gst_gst_audio_decoder_get_byte_time()
API: gst_gst_audio_decoder_get_delay()
API: gst_gst_audio_decoder_get_latency()
API: gst_gst_audio_decoder_get_max_errors()
API: gst_gst_audio_decoder_get_min_latenc()y
API: gst_gst_audio_decoder_get_parse_state()
API: gst_gst_audio_decoder_get_plc()
API: gst_gst_audio_decoder_get_plc_aware()
API: gst_gst_audio_decoder_get_tolerance()
API: gst_gst_audio_decoder_get_type()
API: gst_gst_audio_decoder_set_byte_time()
API: gst_gst_audio_decoder_set_latency()
API: gst_gst_audio_decoder_set_max_errors()
API: gst_gst_audio_decoder_set_min_latency()
API: gst_gst_audio_decoder_set_plc()
API: gst_gst_audio_decoder_set_plc_aware()
API: gst_gst_audio_decoder_set_tolerance()

API: gst_gst_audio_encoder_finish_frame()
API: gst_gst_audio_encoder_get_audio_info()
API: gst_gst_audio_encoder_get_frame_max()
API: gst_gst_audio_encoder_get_frame_samples()
API: gst_gst_audio_encoder_get_hard_resync()
API: gst_gst_audio_encoder_get_latency()
API: gst_gst_audio_encoder_get_lookahead()
API: gst_gst_audio_encoder_get_mark_granule()
API: gst_gst_audio_encoder_get_perfect_timestamp()
API: gst_gst_audio_encoder_get_tolerance()
API: gst_gst_audio_encoder_get_type()
API: gst_gst_audio_encoder_proxy_getcaps()
API: gst_gst_audio_encoder_set_frame_max()
API: gst_gst_audio_encoder_set_frame_samples()
API: gst_gst_audio_encoder_set_hard_resync()
API: gst_gst_audio_encoder_set_latency()
API: gst_gst_audio_encoder_set_lookahead()
API: gst_gst_audio_encoder_set_mark_granule()
API: gst_gst_audio_encoder_set_perfect_timestamp()
API: gst_gst_audio_encoder_set_tolerance()

https://bugzilla.gnome.org/show_bug.cgi?id=642690
2011-09-05 23:28:13 +01:00
Wim Taymans
e1287b97ab Merge branch 'master' into 0.11
Conflicts:
	ext/ogg/gstoggmux.c
	gst-libs/gst/audio/audio.c
	gst-libs/gst/audio/audio.h
	gst-libs/gst/audio/multichannel.h
	gst-libs/gst/pbutils/Makefile.am
	gst-libs/gst/pbutils/gstdiscoverer.c
	gst/playback/gstplaysinkaudioconvert.c
	gst/playback/gstplaysinkvideoconvert.c
	win32/common/libgstaudio.def
2011-08-29 11:37:36 +02:00
Tim-Philipp Müller
517153e85a audio: add GstBaseAudioDecoder and GstBaseAudioEncoder to build
However, libgstaudio now depends on libgstvideo (via pbutils).

https://bugzilla.gnome.org/show_bug.cgi?id=642690

API: gst_audio_info_clear()
API: gst_audio_info_convert()
API: gst_audio_info_copy()
API: gst_audio_info_free()
API: gst_audio_info_from_caps()
API: gst_audio_info_init()
API: gst_audio_info_to_caps()
API: gst_base_audio_decoder_finish_frame()
API: gst_base_audio_decoder_get_audio_info()
API: gst_base_audio_decoder_get_byte_time()
API: gst_base_audio_decoder_get_delay()
API: gst_base_audio_decoder_get_latency()
API: gst_base_audio_decoder_get_max_errors()
API: gst_base_audio_decoder_get_min_latency()
API: gst_base_audio_decoder_get_parse_state()
API: gst_base_audio_decoder_get_plc()
API: gst_base_audio_decoder_get_plc_aware()
API: gst_base_audio_decoder_get_tolerance()
API: gst_base_audio_decoder_get_type()
API: gst_base_audio_decoder_set_byte_time()
API: gst_base_audio_decoder_set_latency()
API: gst_base_audio_decoder_set_max_errors()
API: gst_base_audio_decoder_set_min_latency()
API: gst_base_audio_decoder_set_plc()
API: gst_base_audio_decoder_set_plc_aware()
API: gst_base_audio_decoder_set_tolerance()
API: gst_base_audio_encoder_finish_frame()
API: gst_base_audio_encoder_get_audio_info()
API: gst_base_audio_encoder_get_frame_max()
API: gst_base_audio_encoder_get_frame_samples()
API: gst_base_audio_encoder_get_hard_resync()
API: gst_base_audio_encoder_get_latency()
API: gst_base_audio_encoder_get_lookahead()
API: gst_base_audio_encoder_get_mark_granule()
API: gst_base_audio_encoder_get_perfect_timestamp()
API: gst_base_audio_encoder_get_tolerance()
API: gst_base_audio_encoder_get_type()
API: gst_base_audio_encoder_proxy_getcaps()
API: gst_base_audio_encoder_set_frame_max()
API: gst_base_audio_encoder_set_frame_samples()
API: gst_base_audio_encoder_set_hard_resync()
API: gst_base_audio_encoder_set_latency()
API: gst_base_audio_encoder_set_lookahead()
API: gst_base_audio_encoder_set_mark_granule()
API: gst_base_audio_encoder_set_perfect_timestamp()
API: gst_base_audio_encoder_set_tolerance()
2011-08-27 14:47:50 +01:00
Edward Hervey
94c2206c75 win32: Update .def files 2011-08-25 17:41:53 +02:00
Edward Hervey
4c1cf01beb win32: Update libgstaudio.def for new symbols 2011-05-15 13:39:18 +02:00
Havard Graff
3067a83df2 baseaudiosink: Added getter and setter for drift tolerance. 2010-09-24 13:06:35 +02:00
Edward Hervey
bb147921aa win32: Add new symbol to libgstaudio 2010-09-07 19:04:23 +02:00
Sebastian Dröge
8989ad93d9 audioclock: API: Add gst_audio_clock_new_full() with a GDestroyNotify for the user_data
Elements usually use their own instance as instance data but the
clock can have a longer lifetime than their elements and the clock
doesn't own a reference of the element.

Fixes bug #623807.
2010-07-16 17:40:17 +02:00
Wim Taymans
4231d54823 audioclock: add methods for the internal offset
Add two methods for getting the unadjusted time of the clock and one for
adjusting an internal time. We will need these methods for correctly handling
the time after a gst_audio_clock_reset().

Add a debug category and some debug lines to the audio clock.

API: gst_audio_clock_get_time()
API: gst_audio_clock_adjust()
API: GST_AUDIO_CLOCK_CAST()
2009-04-14 13:08:52 +02:00
Jan Schmidt
70a71bd9cf win32/common/: Add new exports to win32 files.
Original commit message from CVS:
* win32/common/libgstaudio.def:
* win32/common/libgsttag.def:
* win32/common/libgstvideo.def:
Add new exports to win32 files.
2008-12-31 16:04:26 +00:00
Sebastian Dröge
4ed1f5d6fd gst-libs/gst/audio/gstbaseaudiosrc.c: Make GstAudioSrcSlaveMethod get_type() function non-static as it's public now.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
Make GstAudioSrcSlaveMethod get_type() function non-static
as it's public now.
* win32/common/libgstaudio.def:
* win32/common/libgstnetbuffer.def:
Add some missing functions to the list of exported symbols.
2008-12-19 13:03:00 +00:00
Wim Taymans
221f59e8fd win32/common/libgstaudio.def: Add new symbols.
Original commit message from CVS:
* win32/common/libgstaudio.def:
Add new symbols.
2008-10-27 14:57:34 +00:00
Sebastian Dröge
eb93e07392 win32/common/libgstaudio.def: Add gst_audio_check_channel_positions() to the exported symbols.
Original commit message from CVS:
* win32/common/libgstaudio.def:
Add gst_audio_check_channel_positions() to the exported symbols.
2008-06-03 08:54:29 +00:00
Sebastian Dröge
79cf1cf8fd win32/common/libgstaudio.def: Add gst_audio_clock_reset to the list of exported symbols.
Original commit message from CVS:
* win32/common/libgstaudio.def:
Add gst_audio_clock_reset to the list of exported symbols.
2008-05-29 19:45:40 +00:00
Sebastian Dröge
9854bd07f6 win32/common/libgstaudio.def: Add gst_base_audio_src_[sg]et_slave_method() to the exported symbols.
Original commit message from CVS:
* win32/common/libgstaudio.def:
Add gst_base_audio_src_[sg]et_slave_method() to the exported
symbols.
2008-05-06 09:59:43 +00:00
Tim-Philipp Müller
b9cbedfb59 Makefile.am: Add check-exports target and run it with 'make check'.
Original commit message from CVS:
* Makefile.am:
Add check-exports target and run it with 'make check'.
* configure.ac:
Be stricter about what we export in our libraries: change regexp so that
we only export _gst_foo(), but not __gst_foo().
* gst-libs/gst/cdda/base64.h: (rfc822_binary):
* gst-libs/gst/cdda/sha1.h: (sha_init), (sha_update), (sha_final):
Change internal functions to __gst_foo so they dont' get exported.
* win32/common/libgstaudio.def:
Add missing symbols.
2007-12-13 10:10:35 +00:00
Ole André Vadla Ravnås
e668c5be70 win32/common/: More missing symbols to export (fixes #493986).
Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
* win32/common/libgstaudio.def:
* win32/common/libgstcdda.def:
* win32/common/libgstinterfaces.def:
* win32/common/libgstnetbuffer.def:
* win32/common/libgstpbutils.def:
* win32/common/libgstrtp.def:
* win32/common/libgstrtsp.def:
* win32/common/libgsttag.def:
* win32/common/libgstvideo.def:
More missing symbols to export (fixes #493986).
2007-11-06 16:38:49 +00:00
Sébastien Moutte
500d8290a4 win32/common/libgstaudio.def: Add new exported functions.
Original commit message from CVS:
* win32/common/libgstaudio.def:
Add new exported functions.
* win32/vs6/grammar.dsp:
Add autogeneration and copy of some autegenerated files from win32/common
for rtsp library.
* win32/vs6/libgstaudioconvert.dsp:
Add gstaudioquantize.c to the build.
* win32/vs6/libgstinterfaces.dsp:
Add videoorientation.c to the build.
* win32/vs6/libgstriff.dsp:
Add libgsttag to the link libraries list.
* win32/vs6/libgstvolume.dsp:
Add liboil to the link.
* win32/vs6/gst_plugins_base.dsw:
* win32/vs6/libgstrtsp.dsp:
* win32/common/libgstrtsp.def:
Add files to build libgstrtsp library.
2007-09-29 12:04:02 +00:00