Commit graph

12549 commits

Author SHA1 Message Date
Edward Hervey 56ef4054ee dvbsuboverlay: Use default query handlers where needed
And fixup getcaps handler while I'm at it
2012-09-12 15:17:56 +02:00
Thiago Santos 8a8baa6a70 camerabin: port tagsetter mode setting code
Check directly with GST_IS_TAG_SETTER instead of using the
deprecated GstImplementsInterface

Fixes the image tag setting unit test
2012-09-12 09:48:32 -03:00
Tim-Philipp Müller 63eeb11bfb tests: fix win32 build even more 2012-09-12 13:20:56 +01:00
Mark Nauwelaerts 84cea735e9 tests: mpegtsmux: port to the new GLib thread API 2012-09-12 13:17:08 +02:00
Gwenole Beauchesne 0b2dd2e723 codecparsers: vc1: fix aspect ratio calculation.
ASPECT_HORIZ_SIZE and ASPECT_VERT_SIZE are syntax elements that hold
binary encodings of sizes ranging from 1 to 256. Thus, the calculated
pixel-aspect-ratio was off by one.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

https://bugzilla.gnome.org/show_bug.cgi?id=683858
2012-09-12 10:44:10 +01:00
Gwenole Beauchesne 2c3eaf527b codecparsers: h264parse: don't use anonymous unions.
Anonymous union is an ISO C (2011) feature that is not exposed in
compilers strictly conforming to the previous standard.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-09-12 10:39:32 +01:00
Gwenole Beauchesne a08273be72 codecparsers: h264: compute pixel aspect ratio.
Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-09-12 10:38:46 +01:00
Tim-Philipp Müller 585bd3ee21 tests: attempt to get disabled streamheader test to compile on win32
Though it probably won't work, but then it's disabled.
2012-09-12 09:49:17 +01:00
Peter Korsgaard b04e61d8a4 opus + jpegformat: unbreak non-debug build
opus + jpegformat plugin builds fail when gstreamer is configured with
--disable-gst-debug as they are checking the GST_DISABLE_DEBUG symbol
instead of GST_DISABLE_GST_DEBUG.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>

https://bugzilla.gnome.org/show_bug.cgi?id=683850
2012-09-12 09:13:30 +01:00
Tim-Philipp Müller 3bb23a5e98 jpegformat: don't link to libgstinterfaces which doesn't exist any longer 2012-09-12 01:37:06 +01:00
Olivier Crête 9b559160cc spanplc: Don't unref too much, don't forward gap event 2012-09-11 20:30:55 -04:00
Olivier Crête f9320170cd spanplc: Port to 1.0 API 2012-09-11 20:19:48 -04:00
Olivier Crête 77d4a59969 audiovisualizer: Don't try to sync controller values to invalid timestamp 2012-09-11 19:41:31 -04:00
Olivier Crête 1826c126bf jpegparse: Finish port to 1.0 API 2012-09-11 19:36:24 -04:00
Olivier Crête c2c6ef1697 test: Simplify autoconvert test 2012-09-11 18:55:11 -04:00
Olivier Crête 977f84d272 autoconvert: Look at all possibilities for accept-caps even if there is a selected subelement
If the accept-caps succeeds with a different subelement, then the subsequent
caps event will change the current subelement.
2012-09-11 18:53:43 -04:00
Olivier Crête 60739b828d test: Flush opus encoder between tests 2012-09-11 18:02:28 -04:00
Olivier Crête 23acf753a8 test: Flush opus encoder between tests 2012-09-11 18:01:58 -04:00
Youness Alaoui 7a7267b402 uvch264: Make gudev/libusb a hard dependency and remove XU_FIND_UNIT ioctl support
Conflicts:
	sys/uvch264/gstuvch264_src.c
2012-09-11 15:00:18 -04:00
Mark Nauwelaerts b807753453 ext, gst: only activate in pull mode if upstream is seekable 2012-09-11 17:47:33 +02:00
Tim-Philipp Müller 3f0a844f9d festival: timed text is text/x-raw now 2012-09-11 15:08:49 +01:00
Mark Nauwelaerts 4a843dbbac d3dvideosink: port to the new GLib thread API 2012-09-11 15:12:55 +02:00
Mark Nauwelaerts 82f46a5efe tests: mpeg2enc, mplex: port to the new GLib thread API 2012-09-11 15:12:55 +02:00
Mark Nauwelaerts 2816380e7c opusenc: port to the new GLib thread API 2012-09-11 15:12:55 +02:00
Tim-Philipp Müller 79f59ea3d2 gdp: move gdp plugin here from -base
Needs some reworking.
2012-09-11 01:54:46 +01:00
Tim-Philipp Müller 2c5138dd76 gdp: dump bytes into debug log using GST_MEMDUMP
Instead of home-grown solution.
2012-09-11 01:54:46 +01:00
Wim Taymans ed451b1cd7 update for new variable names 2012-09-11 01:54:46 +01:00
Tim-Philipp Müller 18181befde tests: use multifdsink for streamheader test
Use multifdsink for pipes instead of multisocketsink,
to avoid "creating GSocket from fd 9: Socket operation
on non-socket "criticals from Gio. Test still fails,
but it fails in a different way now.
2012-09-11 01:54:46 +01:00
Mark Nauwelaerts 712c63af44 gdppay: plug buffer leak 2012-09-11 01:54:46 +01:00
Stefan Sauer 07f8c2a4e6 tests: initialize variables 2012-09-11 01:54:46 +01:00
Tim-Philipp Müller b928640b5e Use new gst_element_class_set_static_metadata() 2012-09-11 01:54:45 +01:00
Sebastian Dröge ca7c2af1c4 gst: Update for GST_PLUGIN_DEFINE() API change 2012-09-11 01:54:45 +01:00
Wim Taymans 946dbd38d8 Improve buffer allocation of wrapped memory 2012-09-11 01:54:45 +01:00
Wim Taymans f12af88f4a update for buffer api change 2012-09-11 01:54:45 +01:00
Wim Taymans e817295aef update for buffer changes 2012-09-11 01:54:44 +01:00
Wim Taymans 38abb4a497 update for memory api changes 2012-09-11 01:54:44 +01:00
Wim Taymans 4ae0b5eb48 update for new memory api 2012-09-11 01:54:44 +01:00
Wim Taymans 65a59c57e1 gdp: fixup unit tests 2012-09-11 01:54:44 +01:00
Wim Taymans 30b45304e4 gdppay: fixup for changed caps
Try to send the streamheader after the first buffer.
2012-09-11 01:54:44 +01:00
Wim Taymans 66fb9166a4 dataprotocol: don't define default Category
Since we now include this into the unit tests directly, don't define the default
category macro because it conflicts with check.
2012-09-11 01:54:44 +01:00
Wim Taymans f6cab316cc update for HEADER flag changes 2012-09-11 01:54:44 +01:00
Wim Taymans 33344dc2b9 port to new map API 2012-09-11 01:54:44 +01:00
Wim Taymans 0a817d23e6 tests: fix some tests 2012-09-11 01:54:44 +01:00
Wim Taymans 12ce1cb319 tests: port and enable more unit tests 2012-09-11 01:54:43 +01:00
Tim-Philipp Müller 2d7150414b gdp: move dataprotocol library into gdp plugin and make private
We have removed things like protocol=gdp in the tcp elements
in favour of explicit gdppay/depay elements, so there's no need
to keep a public API and library for now. We can still add it
back later. Someone needs to think hard about 0.11 and gdp
anyway one of these days.
2012-09-11 01:54:43 +01:00
Wim Taymans d67bdd8375 gdp: fix header files
Ensure correct indentation and retab
Make sure all structure have padding
2012-09-11 01:54:41 +01:00
Wim Taymans 3bd55502a1 gdp: rename buffer PREROLL -> LIVE flag
Rename the GST_BUFFER_FLAG_PREROLL to GST_BUFFER_FLAG_LIVE and give the new flag
a meaning. The old PREROLL flag never had a clear meaning.
2012-09-11 01:54:41 +01:00
Wim Taymans 615063ba5e gdp: make new _buffer_allocate method
Make a new method to allocate a buffer + memory that takes the allocator and the
alignment as parameters. Provide a macro for the old method but prefer to use
the new method to encourage plugins to negotiate the allocator properly.
2012-09-11 01:54:41 +01:00
Wim Taymans 1136224e91 gdp: Rework GstSegment handling
Improve GstSegment, rename some fields. The idea is to have the GstSegment
structure represent the timing structure of the buffers as they are generated by
the source or demuxer element.
gst_segment_set_seek() -> gst_segment_do_seek()
Rename the NEWSEGMENT event to SEGMENT.
Make parsing of the SEGMENT event into a GstSegment structure.
Pass a GstSegment structure when making a new SEGMENT event. This allows us to
pass the timing info directly to the next element. No accumulation is needed in
the receiving element, all the info is inside the element.
Remove gst_segment_set_newsegment(): This function as used to accumulate
segments received from upstream, which is now not needed anymore because the
segment event contains the complete timing information.
2012-09-11 01:54:41 +01:00
Wim Taymans b4305c56f5 gdp: Hide the GstStructure in GstEvent
Hide the GstStructure of the event in the implementation specific part so that
we can change it.
Add methods to check and make the event writable.
Add a new method to get a writable GstStructure of the element.
Avoid directly accising the event structure.
2012-09-11 01:54:41 +01:00