platform/upstream/gstreamer.git
12 years agogdp: Ported dataprotol to 0.9.
Wim Taymans [Tue, 5 Jul 2005 10:20:14 +0000 (10:20 +0000)]
gdp: Ported dataprotol to 0.9.

Original commit message from CVS:
* configure.ac:
* libs/gst/dataprotocol/Makefile.am:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
* libs/gst/dataprotocol/dataprotocol.h:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
* pkgconfig/gstreamer-dataprotocol.pc.in:
Ported dataprotol to 0.9.
Added pkgconfig files.

12 years agogdp: remove GstData checks
David Schleef [Mon, 16 May 2005 20:21:55 +0000 (20:21 +0000)]
gdp: remove GstData checks

Original commit message from CVS:
* check/Makefile.am: remove GstData checks
* check/gst-libs/gdp.c: (START_TEST): fix for API changes
* gst/Makefile.am: add miniobject, remove data
* gst/gst.h: add miniobject, remove data
* gst/gstdata.c: remove
* gst/gstdata.h: remove
* gst/gstdata_private.h: remove
* gst/gsttypes.h: remove GstEvent and GstMessage
* gst/gstelement.c: (gst_element_post_message): fix for API changes
* gst/gstmarshal.list: change BOXED -> OBJECT
Implement GstMiniObject.
* gst/gstminiobject.c:
* gst/gstminiobject.h:
Modify to be subclasses of GstMiniObject.
* gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
(gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
(gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
(gst_subbuffer_get_type), (gst_subbuffer_init),
(gst_buffer_create_sub), (gst_buffer_is_span_fast),
(gst_buffer_span):
* gst/gstbuffer.h:
* gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
(gst_event_class_init), (gst_event_init), (gst_event_finalize),
(_gst_event_copy), (gst_event_new):
* gst/gstevent.h:
* gst/gstmessage.c: (_gst_message_initialize),
(gst_message_get_type), (gst_message_class_init),
(gst_message_init), (gst_message_finalize), (_gst_message_copy),
(gst_message_new), (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_tag),
(gst_message_new_state_changed), (gst_message_new_application):
* gst/gstmessage.h:
* gst/gstprobe.c: (gst_probe_perform),
(gst_probe_dispatcher_dispatch):
* gst/gstprobe.h:
* gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
(gst_query_class_init), (gst_query_finalize), (gst_query_init),
(_gst_query_copy), (gst_query_new):
Update elements for GstData -> GstMiniObject changes
* gst/gstquery.h:
* gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
(gst_queue_chain), (gst_queue_loop):
* gst/elements/gstbufferstore.c:
(gst_buffer_store_add_buffer_func),
(gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
* gst/elements/gstfakesink.c: (gst_fakesink_class_init),
(gst_fakesink_render):
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
* gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
(gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
(gst_mmap_buffer_finalize), (gst_filesrc_map_region),
(gst_filesrc_create_read):
* gst/elements/gstidentity.c: (gst_identity_class_init):
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_src_event), (free_entry_buffers),
(gst_type_find_element_handle_event):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer):
* libs/gst/dataprotocol/dataprotocol.h:
* libs/gst/dataprotocol/dp-private.h:

12 years agogdp: GCC 4 fixen.
Andy Wingo [Wed, 4 May 2005 21:29:44 +0000 (21:29 +0000)]
gdp: GCC 4 fixen.

Original commit message from CVS:
2005-05-04  Andy Wingo <wingo@pobox.com>

* check/Makefile.am:
* docs/gst/tmpl/gstatomic.sgml:
* docs/gst/tmpl/gstplugin.sgml:
* gst/base/gstbasesink.c: (gst_basesink_activate):
* gst/base/gstbasesrc.c: (gst_basesrc_class_init),
(gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
(gst_basesrc_query), (gst_basesrc_set_property),
(gst_basesrc_get_property), (gst_basesrc_check_get_range),
(gst_basesrc_activate):
* gst/base/gstbasesrc.h:
* gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
(gst_base_transform_src_activate):
* gst/elements/gstelements.c:
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
(gst_fakesrc_set_property), (gst_fakesrc_get_property):
* gst/elements/gsttee.c: (gst_tee_sink_activate):
* gst/elements/gsttypefindelement.c: (find_element_get_length),
(gst_type_find_element_checkgetrange),
(gst_type_find_element_activate):
* gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
* gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
(gst_caps_load_thyself):
* gst/gstelement.c: (gst_element_pads_activate),
(gst_element_save_thyself), (gst_element_restore_thyself):
* gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
(gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
* gst/gstpad.h:
* gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
(gst_xml_parse_file), (gst_xml_parse_memory),
(gst_xml_get_element), (gst_xml_make_element):
* gst/indexers/gstfileindex.c: (gst_file_index_load),
(_file_index_id_save_xml), (gst_file_index_commit):
* gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
(read_enum), (load_pad_template), (load_feature), (load_plugin),
(load_paths):
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
(gst_dp_packet_from_event), (gst_dp_caps_from_packet):
* tools/gst-complete.c: (main):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
* tools/gst-launch.c: (xmllaunch_parse_cmdline):
* tools/gst-xmlinspect.c: (print_element_properties):
GCC 4 fixen.

12 years agogdp: Next big merge.
Wim Taymans [Mon, 21 Mar 2005 17:34:02 +0000 (17:34 +0000)]
gdp: Next big merge.

Original commit message from CVS:
Next big merge.
Added GstBus for mainloop integration.
Added GstMessage for sending notifications on the bus.
Added GstTask as an abstraction for pipeline entry points.
Removed GstThread.
Removed Schedulers.
Simplified GstQueue for multithreaded core.
Made _link threadsafe, removed old capsnego.
Added STREAM_LOCK and PREROLL_LOCK in GstPad.
Added pad blocking functions.
Reworked scheduling functions in GstPad to prepare for
scheduling updates soon.
Moved events out of data stream.
Simplified GstEvent types.
Added return values to push/pull.
Removed clocking from GstElement.
Added prototypes for state change function for next merge.
Removed iterate from bins and state change management.
Fixed some elements, disabled others for now.
Fixed -inspect and -launch.
Added check for GstBus.

12 years agogdp: First THREADED backport attempt, focusing on adding locks and making sure the...
Wim Taymans [Mon, 7 Mar 2005 18:27:42 +0000 (18:27 +0000)]
gdp: First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor...

Original commit message from CVS:
First THREADED backport attempt, focusing on adding locks and
making sure the API is threadsafe. Needs more work. More docs
follow this week.

12 years agogdp: Allocate the 1 byte more memory that was forgotten!!!!!
Zaheer Abbas Merali [Fri, 18 Feb 2005 13:58:36 +0000 (13:58 +0000)]
gdp: Allocate the 1 byte more memory that was forgotten!!!!!

Original commit message from CVS:
2005-02-18  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_dump_byte_array):
Allocate the 1 byte more memory that was forgotten!!!!!

12 years agogdp: Fix threadsafety of the crc checking function.
Wim Taymans [Fri, 1 Oct 2004 16:49:01 +0000 (16:49 +0000)]
gdp: Fix threadsafety of the crc checking function.

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
Fix threadsafety of the crc checking function.

12 years agogdp: fix for #150242
Thomas Vander Stichele [Mon, 16 Aug 2004 10:35:36 +0000 (10:35 +0000)]
gdp: fix for #150242

Original commit message from CVS:
fix for #150242

12 years agogdp: doc style fixes
Thomas Vander Stichele [Wed, 28 Jul 2004 10:22:07 +0000 (10:22 +0000)]
gdp: doc style fixes

Original commit message from CVS:
doc style fixes

12 years agogdp: bump GDP to 0.1, add buffer flags
Thomas Vander Stichele [Wed, 9 Jun 2004 16:24:19 +0000 (16:24 +0000)]
gdp: bump GDP to 0.1, add buffer flags

Original commit message from CVS:
bump GDP to 0.1, add buffer flags

12 years agogdp: wrap header in _NEW
Thomas Vander Stichele [Mon, 24 May 2004 16:38:15 +0000 (16:38 +0000)]
gdp: wrap header in _NEW

Original commit message from CVS:
wrap header in _NEW

12 years agoOriginal commit message from CVS:
Thomas Vander Stichele [Wed, 19 May 2004 17:22:53 +0000 (17:22 +0000)]
Original commit message from CVS:
use GST macros; add asserts

12 years agogdp: private prototype
Thomas Vander Stichele [Wed, 19 May 2004 16:59:39 +0000 (16:59 +0000)]
gdp: private prototype

Original commit message from CVS:
private prototype

12 years agogdp: add dataprotocol
Thomas Vander Stichele [Wed, 19 May 2004 16:37:53 +0000 (16:37 +0000)]
gdp: add dataprotocol

Original commit message from CVS:
clean up libs docs; add dataprotocol

12 years agowin32: update .def files for API changes
Tim-Philipp Müller [Sun, 25 Dec 2011 21:39:39 +0000 (21:39 +0000)]
win32: update .def files for API changes

12 years agoaudioringbuffer: rename GST_BUFTYPE_* to GST_AUDIO_RING_BUFFER_FORMAT_TYPE_*
Tim-Philipp Müller [Sun, 25 Dec 2011 21:38:21 +0000 (21:38 +0000)]
audioringbuffer: rename GST_BUFTYPE_* to GST_AUDIO_RING_BUFFER_FORMAT_TYPE_*

Bit unwieldy, but more appropriate. Could also be moved into
audio.h as GstAudioFormatType.

12 years agotests: remove more propertyprobe cruft
Tim-Philipp Müller [Sun, 25 Dec 2011 21:37:42 +0000 (21:37 +0000)]
tests: remove more propertyprobe cruft

12 years agoaudioringbuffer: remove unused GstAudioRingBufferSegState enum and field
Tim-Philipp Müller [Sun, 25 Dec 2011 21:23:11 +0000 (21:23 +0000)]
audioringbuffer: remove unused GstAudioRingBufferSegState enum and field

12 years agotests: fix unused-variable compiler warning in audio trickplay test
Tim-Philipp Müller [Sun, 25 Dec 2011 21:19:04 +0000 (21:19 +0000)]
tests: fix unused-variable compiler warning in audio trickplay test

12 years agodocs: remove references to elements that don't exist any longer
Tim-Philipp Müller [Sun, 25 Dec 2011 21:18:47 +0000 (21:18 +0000)]
docs: remove references to elements that don't exist any longer

12 years agocontroller: port to new controlsource api
Stefan Sauer [Sun, 25 Dec 2011 18:14:55 +0000 (19:14 +0100)]
controller: port to new controlsource api

12 years agocontroller: port to new controlbinding api
Stefan Sauer [Tue, 20 Dec 2011 21:58:26 +0000 (22:58 +0100)]
controller: port to new controlbinding api

12 years agotheoradec: improve cropping
Wim Taymans [Fri, 23 Dec 2011 15:09:13 +0000 (16:09 +0100)]
theoradec: improve cropping

Only add cropping metadata when needed
Remove some used code.

12 years agoalsasink: make work for raw audio formats by fixing template caps
Tim-Philipp Müller [Fri, 23 Dec 2011 00:54:43 +0000 (00:54 +0000)]
alsasink: make work for raw audio formats by fixing template caps

12 years agoalsa: remove more property probe stuff
Wim Taymans [Thu, 22 Dec 2011 15:37:29 +0000 (16:37 +0100)]
alsa: remove more property probe stuff

12 years agovideofilter: improve video filter
Wim Taymans [Wed, 21 Dec 2011 22:46:53 +0000 (23:46 +0100)]
videofilter: improve video filter

Flesh out the video filter base class. Make it parse the input and output caps
and turn them into GstVideoInfo. Map buffers as video frames and pass them to
the transform functions.
This allows us to also implement the propose and decide_allocation vmethods.
Implement the transform size method as well.
Update subclasses with the new improvements.

12 years agovideofilter: implement propose_allocation
Wim Taymans [Wed, 21 Dec 2011 17:58:42 +0000 (18:58 +0100)]
videofilter: implement propose_allocation

With the new video bufferpool we can now implement the propose_allocation
vmethod on some video filter elements so that we can also use video metadata and
bufferpools when not operating in passthrough mode.

12 years agodocs: small fixes
Wim Taymans [Wed, 21 Dec 2011 17:58:08 +0000 (18:58 +0100)]
docs: small fixes

12 years agox11: reset alignment
Wim Taymans [Wed, 21 Dec 2011 17:14:45 +0000 (18:14 +0100)]
x11: reset alignment

12 years agovideopool: add videopool implementation
Wim Taymans [Wed, 21 Dec 2011 17:13:17 +0000 (18:13 +0100)]
videopool: add videopool implementation

Add a GstVideoPool object that can be used to allocate video frames with support
for metadata and alignment.
Add method to reset alignment info.

12 years agopropertyprobe: remove propertyprobe
Wim Taymans [Wed, 21 Dec 2011 10:58:53 +0000 (11:58 +0100)]
propertyprobe: remove propertyprobe

Remove the propertyprobe interface
Improve docs

12 years agoaudiobasesrc: Use guint8 instead of guchar
Sebastian Dröge [Tue, 20 Dec 2011 13:35:31 +0000 (14:35 +0100)]
audiobasesrc: Use guint8 instead of guchar

12 years agoaudioringbuffer: Use guint8 instead of guchar
Sebastian Dröge [Tue, 20 Dec 2011 13:34:50 +0000 (14:34 +0100)]
audioringbuffer: Use guint8 instead of guchar

12 years agodocs: small update
Wim Taymans [Tue, 20 Dec 2011 12:26:10 +0000 (13:26 +0100)]
docs: small update

12 years agosubtitle: don't use GST_CAPS_NONE macro
Wim Taymans [Tue, 20 Dec 2011 11:53:16 +0000 (12:53 +0100)]
subtitle: don't use GST_CAPS_NONE macro

This macro returns a singleton.

12 years agoadd audio metadata
Wim Taymans [Tue, 20 Dec 2011 11:02:25 +0000 (12:02 +0100)]
add audio metadata

Add some audio metadata to describe a downmix matrix.
Add metadata to media type document.

12 years agodocs: update media design docs some more
Wim Taymans [Tue, 20 Dec 2011 09:58:19 +0000 (10:58 +0100)]
docs: update media design docs some more

Add audio media type design doc

12 years agodocs: small update to design docs
Wim Taymans [Tue, 20 Dec 2011 09:08:46 +0000 (10:08 +0100)]
docs: small update to design docs

12 years agocontroller: port to new interpolation-mode api
Stefan Sauer [Mon, 19 Dec 2011 22:41:25 +0000 (23:41 +0100)]
controller: port to new interpolation-mode api

12 years agocontroller: port to new controller api
Stefan Sauer [Mon, 19 Dec 2011 21:51:47 +0000 (22:51 +0100)]
controller: port to new controller api

12 years agovideo: update interlace caps and docs
Wim Taymans [Mon, 19 Dec 2011 17:03:45 +0000 (18:03 +0100)]
video: update interlace caps and docs

Remove interlaced boolean from caps and replace with an interlace-mode enum.
document this new property in the video caps document. With the enum we can
put fields into separate video meta.
Add enum for this interlace-mode in the VideoInfo.
Update the buffer flags.

12 years agotagdemux: add FIXME
Wim Taymans [Mon, 19 Dec 2011 10:03:55 +0000 (11:03 +0100)]
tagdemux: add FIXME

Add a FIXME because the EOS before-type case now has to be solved differently
because the srcpad is always available.

12 years agouse playbin instead of playbin2
Wim Taymans [Mon, 19 Dec 2011 08:49:07 +0000 (09:49 +0100)]
use playbin instead of playbin2

12 years agoFix 666168, add missing allow-None to encodebin APIs
Christian Fredrik Kalager Schaller [Wed, 14 Dec 2011 17:34:55 +0000 (17:34 +0000)]
Fix 666168, add missing allow-None to encodebin APIs

12 years agoencoding-profile: add some missing allow-none g-i annotations
Tim-Philipp Müller [Wed, 14 Dec 2011 12:28:26 +0000 (12:28 +0000)]
encoding-profile: add some missing allow-none g-i annotations

Fix gst_encoding_container_profile_new() annotations.

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

12 years agoriff-media: port GST_BUFFER_DATA to 0.11 in conditional code branch
Stefan Sauer [Wed, 14 Dec 2011 10:31:31 +0000 (11:31 +0100)]
riff-media: port GST_BUFFER_DATA to 0.11 in conditional code branch

12 years agoUpdate file locations for 0.11
Christian Fredrik Kalager Schaller [Mon, 12 Dec 2011 17:27:10 +0000 (17:27 +0000)]
Update file locations for 0.11

12 years agopo: update translations
Tim-Philipp Müller [Mon, 12 Dec 2011 13:02:01 +0000 (13:02 +0000)]
po: update translations

12 years agoRequire gobject-introspection >= 1.31.1
Tim-Philipp Müller [Mon, 12 Dec 2011 12:59:44 +0000 (12:59 +0000)]
Require gobject-introspection >= 1.31.1

Same as core.

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 12 Dec 2011 12:40:17 +0000 (12:40 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
gst-plugins-base.spec.in
po/LINGUAS
po/cs.po
po/eo.po
po/es.po
po/gl.po
po/lv.po
po/sr.po

12 years agopo: update translations
Tim-Philipp Müller [Sat, 10 Dec 2011 01:36:14 +0000 (01:36 +0000)]
po: update translations

12 years agortsp: use rtpbin
Wim Taymans [Fri, 9 Dec 2011 18:21:09 +0000 (19:21 +0100)]
rtsp: use rtpbin

12 years agortp: add INIT macros
Wim Taymans [Fri, 9 Dec 2011 09:49:33 +0000 (10:49 +0100)]
rtp: add INIT macros

12 years agoAdd latest header file to spec file
Christian Fredrik Kalager Schaller [Fri, 9 Dec 2011 15:39:12 +0000 (15:39 +0000)]
Add latest header file to spec file

12 years agotests: disable composition tests in video unit test for now
Tim-Philipp Müller [Fri, 9 Dec 2011 15:06:33 +0000 (15:06 +0000)]
tests: disable composition tests in video unit test for now

12 years agortpbuffer: add GST_RTP_BUFFER_INIT to initialize RTP buffers on the stack
Tim-Philipp Müller [Fri, 9 Dec 2011 15:03:41 +0000 (15:03 +0000)]
rtpbuffer: add GST_RTP_BUFFER_INIT to initialize RTP buffers on the stack

Fixes build of -good.

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Fri, 9 Dec 2011 12:08:37 +0000 (12:08 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agotypefindfunctions: only typefind text with a BOM as text/utf16 or text/utf32
Tim-Philipp Müller [Fri, 9 Dec 2011 01:31:20 +0000 (01:31 +0000)]
typefindfunctions: only typefind text with a BOM as text/utf16 or text/utf32

We added the utf typefinder because the mp3 typefinder was a tad
overzealous when it came to typefinding things as mp3, and replaced
it with even more overzealous utf16/32 typefinders.

Fixes unit test.

12 years agoRevert "tests: fix audiocdsrc for changed preroll behaviour"
Tim-Philipp Müller [Thu, 8 Dec 2011 01:20:24 +0000 (01:20 +0000)]
Revert "tests: fix audiocdsrc for changed preroll behaviour"

This reverts commit 2c9d442d51dd681463ae090c3c57320a90a4f888.

Behaviour changed again, so revert this.

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Thu, 8 Dec 2011 01:19:03 +0000 (01:19 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
ext/alsa/gstalsadeviceprobe.c
ext/alsa/gstalsamixer.c
ext/pango/gsttextoverlay.c
ext/pango/gsttextoverlay.h
gst-libs/gst/audio/gstaudiobasesink.c
gst-libs/gst/audio/gstaudioringbuffer.c
gst-libs/gst/audio/gstaudiosrc.c
gst-libs/gst/video/Makefile.am
gst-libs/gst/video/video.c
gst/encoding/gststreamcombiner.c
gst/encoding/gststreamsplitter.c
gst/playback/gstplaybasebin.c
gst/playback/gststreamsynchronizer.c
gst/playback/gstsubtitleoverlay.c
gst/playback/gsturidecodebin.c
sys/xvimage/xvimagesink.c
tests/examples/Makefile.am
win32/common/libgstvideo.def

Video overlay composition disabled for now, needs
porting to buffer meta.

12 years agovideo: make composition_blend() return a boolean
Tim-Philipp Müller [Wed, 7 Dec 2011 18:45:28 +0000 (18:45 +0000)]
video: make composition_blend() return a boolean

Not that anyone will ever check that, and it's not clear what
they're supposed to do if it fails, but at least it's there.

12 years agodocs: add new API to docs
Tim-Philipp Müller [Wed, 7 Dec 2011 18:31:58 +0000 (18:31 +0000)]
docs: add new API to docs

12 years agovideo: add seqnum getters for overlay compositions and rectangles
Tim-Philipp Müller [Wed, 7 Dec 2011 17:57:08 +0000 (17:57 +0000)]
video: add seqnum getters for overlay compositions and rectangles

API: gst_video_overlay_composition_get_seqnum()
API: gst_video_overlay_rectangle_get_seqnum()

12 years agovideo: support any type of video in _parse_caps
Thibault Saunier [Wed, 23 Nov 2011 18:45:57 +0000 (15:45 -0300)]
video: support any type of video in _parse_caps

Slight change in semantics for convenience. Shouldn't cause any
problems since this function is usually only used on pre-filtered
caps and not random caps, and it's hard to imagine a situation
where someone would want to rely on the previous behaviour.

12 years agovideorate: don't leak previous buffer when shutting down
Tim-Philipp Müller [Tue, 6 Dec 2011 21:57:32 +0000 (21:57 +0000)]
videorate: don't leak previous buffer when shutting down

Implement stop vfunc after port to basetransform, so we
can clean up properly. Fixes make elements/videorate.valgrind

12 years agotests: fix calculation of last pixel offset in video unit test
Tim-Philipp Müller [Tue, 6 Dec 2011 20:30:55 +0000 (20:30 +0000)]
tests: fix calculation of last pixel offset in video unit test

And check the right buffer (pix2) in one case.

12 years agoexamples: fix build of fft example
Tim-Philipp Müller [Tue, 6 Dec 2011 15:01:05 +0000 (15:01 +0000)]
examples: fix build of fft example

Should link against our own libgstfft-0.10.

12 years agovideo: fix leak in gst_video_format_new_template_caps()
Tim-Philipp Müller [Tue, 6 Dec 2011 14:55:38 +0000 (14:55 +0000)]
video: fix leak in gst_video_format_new_template_caps()

g_value_reset() is not the same as g_value_unset()

12 years agoringbuffer: remove old _full version
Wim Taymans [Tue, 6 Dec 2011 14:06:12 +0000 (15:06 +0100)]
ringbuffer: remove old _full version

12 years agofix for basesrc changes
Wim Taymans [Tue, 6 Dec 2011 12:59:11 +0000 (13:59 +0100)]
fix for basesrc changes

12 years agosubtitleoverlay: add suport for hardware accelerated videos
Thibault Saunier [Wed, 23 Nov 2011 18:43:46 +0000 (15:43 -0300)]
subtitleoverlay: add suport for hardware accelerated videos

Don't plug converters for non-raw video.

12 years agocontroller: port to GstValueArray removal API change
Stefan Sauer [Tue, 6 Dec 2011 07:37:32 +0000 (08:37 +0100)]
controller: port to GstValueArray removal API change

12 years agoRevert "videoconvert: We can handle GST_VIDEO_META_API"
Wim Taymans [Mon, 5 Dec 2011 19:33:41 +0000 (20:33 +0100)]
Revert "videoconvert: We can handle GST_VIDEO_META_API"

This reverts commit bd539753eb098c37afa033065f122712bf85f53a.

Adding the supported metadata to the query does nothing at this stage. Proposing
allocation parameters and supported metadata for upstream should use the
propose_allocation vmethod.

12 years agortp: Initialize GstRTPBuffer before usage
Edward Hervey [Mon, 5 Dec 2011 17:42:24 +0000 (18:42 +0100)]
rtp: Initialize GstRTPBuffer before usage

12 years agovideoconvert: We can handle GST_VIDEO_META_API
Edward Hervey [Mon, 5 Dec 2011 17:30:50 +0000 (18:30 +0100)]
videoconvert: We can handle GST_VIDEO_META_API

12 years agortp: Don't forget to initialize GstRTPBuffer
Edward Hervey [Mon, 5 Dec 2011 17:30:37 +0000 (18:30 +0100)]
rtp: Don't forget to initialize GstRTPBuffer

12 years agovideo: don't use deprecated GStaticMutex with newer glib versions
Tim-Philipp Müller [Mon, 5 Dec 2011 15:48:07 +0000 (15:48 +0000)]
video: don't use deprecated GStaticMutex with newer glib versions

12 years agoexamples: dist fft sub-directory
Tim-Philipp Müller [Mon, 5 Dec 2011 15:34:42 +0000 (15:34 +0000)]
examples: dist fft sub-directory

12 years agotextoverlay: unpremultiply text image
Thibault Saunier [Mon, 28 Nov 2011 13:05:50 +0000 (10:05 -0300)]
textoverlay: unpremultiply text image

The GstVideoOverlayComposition only supports unpremultiplied ARGB
(for now anyway, support for pre-multiplied alpha is planned.)

12 years agotextoverlay: Attach OverlayComposition to buffers when needed
Thibault Saunier [Wed, 23 Nov 2011 15:49:02 +0000 (12:49 -0300)]
textoverlay: Attach OverlayComposition to buffers when needed

Add video/x-surface support in the caps
We should then attach it whenever the sink supports it, but this
is working for the time being

12 years agotextoverlay: Make the text_image data a buffer
Thibault Saunier [Fri, 18 Nov 2011 16:22:52 +0000 (13:22 -0300)]
textoverlay: Make the text_image data a buffer

This way we won't free data that would be attached to some buffer.

12 years agotextoverlay: Sync the caps with the new supported formats
Thibault Saunier [Fri, 18 Nov 2011 14:04:47 +0000 (11:04 -0300)]
textoverlay: Sync the caps with the new supported formats

Thanks to the use of the new video composition library, we gain support to
more colospaces and formats, let's state it.

12 years agotextoverlay: Make use of the new video blending utility
Thibault Saunier [Wed, 16 Nov 2011 20:54:43 +0000 (17:54 -0300)]
textoverlay: Make use of the new video blending utility

12 years agotests: add basic unit test for video overlay composition and rectangles
Tim-Philipp Müller [Fri, 25 Nov 2011 16:46:09 +0000 (16:46 +0000)]
tests: add basic unit test for video overlay composition and rectangles

12 years agovideo: add video overlay composition API for subtitles
Tim-Philipp Müller [Sat, 12 Nov 2011 14:59:35 +0000 (14:59 +0000)]
video: add video overlay composition API for subtitles

Basic API to attach overlay rectangles to buffers,
or blend them directly onto raw video buffers.

To be used primarily for things like subtitles or
logo overlays, not meant to replace videomixer.

Allows us to associate subtitle overlays with
non-raw video surface buffers, so that subtitles
are not lost and can instead be rendered later
when those surfaces are displayed or converted,
whilst re-using all the existing overlay plugins
and not having to teach them about our special
video surfaces. Could also have been made part
of the surface buffer abstraction of course, but
a secondary goal was to consolidate the blending
code for raw video into libgstvideo, and this
kind of API allows us to do both in a way that's
minimally invasive to existing elements, and at
the same time is fairly intuitive.

More features and extensions like the ability to
pass the source data or text/markup directly will
be added later.

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

API: gst_video_buffer_get_overlay_composition()
API: gst_video_buffer_set_overlay_composition()

API: gst_video_overlay_composition_new()
API: gst_video_overlay_composition_add_rectangle()
API: gst_video_overlay_composition_n_rectangles()
API: gst_video_overlay_composition_get_rectangle()
API: gst_video_overlay_composition_make_writable()
API: gst_video_overlay_composition_copy()
API: gst_video_overlay_composition_ref()
API: gst_video_overlay_composition_unref()

API: gst_video_overlay_composition_blend()

API: gst_video_overlay_rectangle_new_argb()
API: gst_video_overlay_rectangle_get_pixels_argb()
API: gst_video_overlay_rectangle_get_pixels_unscaled_argb()
API: gst_video_overlay_rectangle_get_render_rectangle()
API: gst_video_overlay_rectangle_set_render_rectangle()
API: gst_video_overlay_rectangle_copy()
API: gst_video_overlay_rectangle_ref()
API: gst_video_overlay_rectangle_unref()

12 years agovideo: hide private video-blend.[ch] from gobject-introspection
Tim-Philipp Müller [Wed, 23 Nov 2011 00:31:18 +0000 (00:31 +0000)]
video: hide private video-blend.[ch] from gobject-introspection

And remove unused fields from helper structure.

12 years agovideo: add fallbacks for compilation without orc
Tim-Philipp Müller [Tue, 15 Nov 2011 18:00:00 +0000 (18:00 +0000)]
video: add fallbacks for compilation without orc

12 years agovideo: add some internal helper functions for image blending
Thibault Saunier [Mon, 17 Oct 2011 15:25:11 +0000 (17:25 +0200)]
video: add some internal helper functions for image blending

This could be improved if we decide we don't need it to
be this generic/flexible.

12 years agoxoverlay: Fix mistakes in the sample code
Sebastian Dröge [Mon, 5 Dec 2011 08:38:33 +0000 (09:38 +0100)]
xoverlay: Fix mistakes in the sample code

Fixes bug #665430.

12 years agoAppsink fixes
Matej Knopp [Sun, 4 Dec 2011 21:19:23 +0000 (22:19 +0100)]
Appsink fixes

12 years agoSuppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
Tim-Philipp Müller [Sun, 4 Dec 2011 20:50:25 +0000 (20:50 +0000)]
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly

GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.

12 years agoalsamixer: use GRectMutext instead of GStaticRecMutex with newer glib versions
Tim-Philipp Müller [Sun, 4 Dec 2011 20:38:19 +0000 (20:38 +0000)]
alsamixer: use GRectMutext instead of GStaticRecMutex with newer glib versions

12 years agoalsamixer: embed static mutexes into the mixer structure
Tim-Philipp Müller [Sun, 4 Dec 2011 20:21:26 +0000 (20:21 +0000)]
alsamixer: embed static mutexes into the mixer structure

instead of allocating them dynamically

12 years agotools, tests: g_thread_init() is deprecated in glib master
Tim-Philipp Müller [Sun, 4 Dec 2011 17:02:39 +0000 (17:02 +0000)]
tools, tests: g_thread_init() is deprecated in glib master

It's not needed any longer.

12 years agoWork around deprecated thread API in glib master
Tim-Philipp Müller [Sun, 4 Dec 2011 16:43:38 +0000 (16:43 +0000)]
Work around deprecated thread API in glib master

Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.

Replace g_thread_create() with g_thread_try_new().

12 years agoxmpwriter: update for thread API deprecations in glib master
Tim-Philipp Müller [Sun, 4 Dec 2011 15:23:21 +0000 (15:23 +0000)]
xmpwriter: update for thread API deprecations in glib master

12 years agofft-example: re-add Makefile.am
Stefan Sauer [Sun, 4 Dec 2011 12:43:06 +0000 (13:43 +0100)]
fft-example: re-add Makefile.am

12 years agoconfigure: trim trailing whitespace
Stefan Sauer [Fri, 2 Dec 2011 22:35:50 +0000 (23:35 +0100)]
configure: trim trailing whitespace

12 years agotests: add a test for fft result value-ranges
Stefan Sauer [Fri, 2 Dec 2011 22:34:47 +0000 (23:34 +0100)]
tests: add a test for fft result value-ranges

Add a small example that uses ffts of various types and parameters and check the
result value ranges.

12 years agoupdate for basesink event handler changes
Wim Taymans [Fri, 2 Dec 2011 21:24:43 +0000 (22:24 +0100)]
update for basesink event handler changes