Commit graph

2375 commits

Author SHA1 Message Date
Alexey Fisher
d1fe501eb7 vp8enc: generate a timestamp for alt-ref frames.
It will fix handling of altref/invisible frames since matroska-mux
drop any fram with no timestamp.

see also:
http://www.webmproject.org/code/specs/container/
The encoder will currently set the AR's timestamp as close as possible
to the previous frame while attempting to provide a timestamp that is
strictly increasing. In cases where the time base given to the encoder
at configure time is not granular enough to allow for this the AR
will share the same timestamp as D, but should be
treated as having no duration.

Fixes bug #652951

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
2011-06-26 16:56:33 +02:00
Alexey Fisher
f5391e135a vp8dec: add check if we have legal aspect-ratio before reset it.
the commit f9b552f049 (vp8dec: set par to 1/1)
will fix situation where no aspect-ratio is set, but it brake
stream with available aspect-ratio. This patch fix it.

Fixes: #652902.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
2011-06-25 11:36:05 -07:00
Jan Schmidt
38bf3169ff RTMP: add rtmpsink element for output to an RTMP server 2011-06-18 01:09:51 +10:00
David Schleef
f9b552f049 vp8dec: set par to 1/1 2011-06-04 14:09:29 -07:00
Debarshi Ray
335293bf50 Remove unused but set variables
This is needed to satisfy the new -Wunused-but-set-variable added in
GCC 4.6: http://gcc.gnu.org/gcc-4.6/changes.html
2011-06-04 20:26:02 +01:00
Stefan Kost
45e87e8cce zbar: remove template stamp comment 2011-05-31 13:53:41 +03:00
Tom Deseyn
8f7183dc85 dfbvideosink: Also consider non-accelerated DirectFB surfaces
Fixes bug #631390.
2011-05-30 08:48:29 +02:00
Tim-Philipp Müller
e94245c264 faac: fix CFLAGS and LIBS order in Makefile.am 2011-05-27 10:44:28 +01:00
Sebastian Dröge
4093202e9d faac: Set the correct, valid sample rates in the pad template caps 2011-05-27 10:44:42 +02:00
Sebastian Dröge
77f20353f8 voaacenc: Make sure to also return only a subset of the pad template caps in getcaps 2011-05-27 10:41:02 +02:00
Sebastian Dröge
da03a46861 voaacenc: Set the correct, valid sample rates in the pad template caps 2011-05-27 10:35:31 +02:00
Sebastian Dröge
b87ff1a1df voaacenc: The encoder library currently only supports 1 or 2 channels 2011-05-27 10:32:26 +02:00
Sebastian Dröge
e3eabb6e6a voaacenc: Add profile and level to the caps
Fixes bug #650595.
2011-05-27 10:31:34 +02:00
Sebastian Dröge
6702de4237 faac: Add the profile and level to the caps
Also negotiate the profile from the downstream peer caps
instead of using a property.

Fixes bug #650594.
2011-05-27 10:11:32 +02:00
Sebastian Dröge
7f0aa4061e faac: Use PROP_ instead of ARG_ for the property enums 2011-05-27 09:40:38 +02:00
Sebastian Dröge
0bb2a4d229 dc1394src: Implement LATENCY query
Based on the LATENCY query code in v4l2src and the patch
by Tristan Matthews. Fixes bug #625520.
2011-05-26 09:23:49 +02:00
Stefan Kost
579188d436 lv2: ensure uniqe property names
Copy and adjust the code from ladspa plugin to ensure unique gobject property
names.
2011-05-25 23:26:39 +03:00
Tim-Philipp Müller
202a548030 mpeg2enc: fix build with 1.9.0 release again after recent fixes for mjpegtools 2.0.0
https://bugzilla.gnome.org/show_bug.cgi?id=650970
2011-05-25 14:44:50 +01:00
Götz Waschk
407b025786 mpeg2enc: support mjpegtools 2.0
This adds conditional includes for the renamed headers in mjpegtools 2.0.
Fixes: #650970.
2011-05-24 17:15:17 -07:00
Sebastian Dröge
4e01ce3fd2 xviddec: Add video/mpeg,mpegversion=4 to the caps
Fixes bug #609639.
2011-05-23 17:30:41 +02:00
Christian Fredrik Kalager Schaller
efb89cfd4c fix build of openal plugin from disted tarball 2011-05-23 14:58:47 +01:00
Sebastian Dröge
67f23a8539 teletextdec: Minor cleanup and indention fixes 2011-05-23 15:32:09 +02:00
Sebastian Dröge
827e2d13c1 teletextdec: Don't use GST_FLOW_IS_FATAL() 2011-05-23 15:24:12 +02:00
Sebastian Dröge
81134554db teletextdec: Fix buffer data leak 2011-05-23 15:20:37 +02:00
Andoni Morales Alastruey
d20de1087c teletextdec: Add support for pango
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
f4e4fc44f7 teletextdec: add a new method to convert a page in a list of strings
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
fb98c55f67 teletextdec: add some data in the preroll buffer
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
126a98d967 teletextdec: fix deadlock on a stream error
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
afd240c621 teletextdec: don't try to push an event on a pad that returned an error
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
8bb6ff414f teletextdec: New teletext decoder plugin based in zvbi
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:37 +02:00
Sebastian Dröge
0e596670ef openal: Add new openalsrc element
Based on patches by Victor Lin <bornstub@gmail.com>

Fixes bug #550230.
2011-05-23 14:30:11 +02:00
Sebastian Dröge
66a4ed47a3 openal: Add new OpenAL sink element
Based on a patch by Chris Robinson <chris.kcat@gmail.com>

Fixes bug #615615.
2011-05-23 14:30:11 +02:00
W. Michael Petullo
6e4a14d231 apexsink: Add support for generation 2 AirTunes hardware
Fixes bug #649931.
2011-05-20 10:00:02 +02:00
Stefan Kost
16331c0b9e jasperenc: remove unused 'mimetype' variable
As mimetype is not used, we don't need to fetch it and therefore neither need
the structure s.
2011-05-19 18:48:01 +03:00
Sebastian Dröge
23f9286d88 vp8enc: Name max/min quantizer properties {max,min}-quantizer
Also improve quality property description.
2011-05-18 13:27:20 +02:00
Alexey Fisher
1b650b6486 vp8enc: Add properties to select a maximum and minimum quantizer
Fixes bug #641405.
2011-05-18 13:26:23 +02:00
Alexey Fisher
a9ea882307 vp8enc: Fix quality to (constant) quantizer mapping
This now allows to select all possible quantizers between
0 and 63.

See bug #641405.
2011-05-18 13:18:58 +02:00
Stefan Kost
79e3b5b4bb various: fix author tag in element details 2011-05-18 10:31:38 +03:00
Mark Nauwelaerts
66fe878d88 vp8dec: debug code style fixes 2011-05-16 20:32:24 +02:00
Mark Nauwelaerts
772d92eeba vp8dec: propagate downstream flow return to upstream 2011-05-16 20:32:24 +02:00
Mark Nauwelaerts
1b151caf11 basevideodecoder: really and only set src pad caps whenever requested
... since subclass is expected to be wise enough to know when to do so.
2011-05-16 20:32:23 +02:00
Mark Nauwelaerts
f591361d2f basevideodecoder: invoke subclass start method at state change and use set_format
While this changes API slightly (e.g. actually uses set_format now), which is OK
for unstable API, it has following merits:
* symmetric w.r.t. stop at state change
* in line with other base class practice
* otherwise no subclass method at state change (global activation time)
Moreover, subclassese are either unaffected or trivially adjusted accordingly.
2011-05-16 20:32:22 +02:00
Mark Nauwelaerts
7862d9ed35 basevideodecoder: subsume skip_frame into finish_frame 2011-05-16 20:32:21 +02:00
Mark Nauwelaerts
d15b8c7ad3 basevideoencoder: provide proper upstream flow return handling 2011-05-16 20:32:21 +02:00
Mark Nauwelaerts
b7ae60f617 vp8enc: minor optimization in setting up image buffer 2011-05-16 20:32:21 +02:00
Mark Nauwelaerts
1cd8e12c19 vp8enc: refactor frame processing 2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
424e3afe22 vp8enc: do init at set_format time 2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
3d09056c70 vp8enc: fix keyframe forcing 2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
4b5623d687 basevideoencoder: invoke subclass start method at state change
While this changes order w.r.t. set_format, which is OK for unstable API,
it has following merits:
* symmetric w.r.t. stop at state change
* in line with other base class practice
* little benefit in invoking 2 subclass virtual methods (set_format and start)
  in immediate succession; all actions in the second could be done in the first
  whereas subclass has no chance to do anything 'global' at activation time
Moreover, current -bad subclass relevant methods either trivially commute
or are either trivially adjusted accordingly.
2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
b0c982db5b basevideocodec: remove redundant caps field
... as it is already at hand as the src pad's negotiated caps.
2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
404f491c19 vp8enc: use baseclass event virtual handler 2011-05-16 20:32:19 +02:00
Sreerenj Balachandran
c0f9c74ca6 facedetect: Remove dead code and some minor doc changes. 2011-05-14 12:08:39 +02:00
Sreerenj Balachandran
3320a03e20 edgedetect: Remove dead code and some minor doc changes 2011-05-14 12:08:39 +02:00
Sebastian Dröge
f085fa8a97 amrwbenc: Switch to the free vo-amrwbenc library
And rename everything to voamrwbenc instead of amrwbenc.
2011-05-14 12:08:39 +02:00
benjamin gaignard
31d408e22e faac: Detect output format from downstream caps change unit test 2011-05-14 12:08:28 +02:00
Sebastian Dröge
dc7f93c05b voaacenc: Only generate sinkcaps once and in a threadsafe way 2011-05-14 12:08:28 +02:00
Sebastian Dröge
adb3ac9237 voaacenc: Add NULL terminator to gst_structure_new() 2011-05-14 12:08:28 +02:00
Sebastian Dröge
41bb35f38c voaacenc: Some minor cleanup 2011-05-14 12:08:28 +02:00
Sebastian Dröge
55d8c52640 voaacenc: Fix CFLAGS and LIBS 2011-05-14 12:08:27 +02:00
benjamin gaignard
988516ca63 voaacenc: Add new plugin for audio AAC encoder based on vo-aacenc lib
Add plugin and unit test.

Fixes bug #647748.
2011-05-14 12:08:27 +02:00
Mark Nauwelaerts
e1d9574a9d xvidenc: do not leak peer pad reference 2011-05-04 12:36:01 +02:00
Sjoerd Simons
5ebff49162 xvidenc: Always return reffed caps from _getcaps
Not returning ref caps will leads to crashes and refcounting issues in
upstream elements
2011-05-03 15:47:05 +01:00
Tim-Philipp Müller
04a9b099b7 Update orc-generated disted C backup code to orc 0.4.14 2011-04-30 19:46:40 +01:00
Tim-Philipp Müller
954977127b 0.10.21.3 pre-release 2011-04-28 00:00:09 +01:00
Mihai Draghicioiu
412b37ff1b gme: fix infinite looping by fading out after two loops
https://bugzilla.gnome.org/show_bug.cgi?id=647364
2011-04-24 14:48:50 +01:00
Fabrizio Milo
7e5c7048d6 opencv: make work with openCV 2.2
https://bugzilla.gnome.org/show_bug.cgi?id=641796
2011-04-22 09:38:15 +01:00
Tim-Philipp Müller
e5813c9c2c ext, gst: update disted orc backup files 2011-04-17 01:09:33 +01:00
David Schleef
51e6acad1f assrender: refactor blitting, avoid writing past end of buffer
Previous blitting code could potentially write past the
end of the buffer if the x or y position was odd, and for
the same underlying reason, didn't get the chroma registration
correct in the odd position case.

https://bugzilla.gnome.org/show_bug.cgi?id=647830
2011-04-16 12:10:14 +01:00
Tim-Philipp Müller
5d6bdf6052 Fix some unused-but-set-variable warnings with gcc 4.6 2011-04-15 00:24:47 +01:00
Sebastian Dröge
d309cd5771 xvidenc: Implement getcaps function
This allows to set width/height/etc restrictions to be set downstream.

Fixes bug #647498.
2011-04-13 20:27:36 +02:00
Thibault Saunier
17fd7ebcb4 android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized

To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:27:11 +02:00
David Schleef
a8f047f689 Remove setting of plugindir from Makefiles 2011-04-01 13:54:02 -07:00
David Schleef
83d6a5099b basevideo: Add function to allocate src buffer 2011-04-01 13:54:02 -07:00
Sreerenj Balachandran
d6a1eebf37 opencv text overlay: rename and docuemnt
Rename the element textwrite to opencvtextoverlay. Add proper structuring to
opencv textoverlay element.

Fixes: #640561
2011-03-28 20:31:35 +03:00
Arun Raghavan
969578d84c dtsdec: Don't export bitrate if open/variable/lossless
libdca returns the bitrate as 1/2/3 for open/variable/lossless files
respectively. This makes sure we don't emit these values.
2011-03-24 13:54:25 +05:30
Sebastian Dröge
f543ac34f3 celtdec: Read the additional, optional extra headers from the caps too 2011-03-24 09:22:56 +01:00
Sebastian Dröge
f7473a6102 celtdec: Get and use streamheaders from the caps if possible
This allows playback of files where the streamheader buffers were
dropped for some reason and also sets the srcpad caps earlier.
2011-03-24 09:14:10 +01:00
David Schleef
bcd4baec47 schroenc: Revert previous commit
It appears the patch, which I've been carrying around forever,
had been already applied.
2011-03-23 22:57:10 -07:00
David Schleef
3ada35cc0e basevideo: merge utils header into basevideocodec 2011-03-23 21:33:49 -07:00
David Schleef
d1a78aa3f9 schroenc: Output element message with frame stats 2011-03-23 21:33:49 -07:00
David Schleef
9ed93db1d0 logoinsert: Fix memleaks, add test 2011-03-23 21:33:48 -07:00
David Schleef
7405d643dd logoinsert: Add data property 2011-03-23 21:33:48 -07:00
Edward Hervey
261431ef17 mpeg2enc: Lower the rank to MARGINAL
The rationale is that it can't be properly used right now when using
it to encode mpeg2video because of the needs-to-be-rewritten properties
and format negotiation. Other encoders will negotiate in a much saner
fashion.

One such example is that when you pick mpeg2enc for mpeg2video, the
default value for the 'format' property is "Generic MPEG-1", which is
completely wrong if downstream caps are mpeg2. The whole negotiation
code needs some serious loving before this plugin can be bumped back
up to a higher rank.
2011-03-21 10:42:59 +01:00
Tim-Philipp Müller
9c554b7378 vp8: fix LIBADD order in Makefile.am 2011-03-17 20:52:07 +00:00
Tim-Philipp Müller
53a9b430f3 build: remove more tarkin/theoraexp build cruft 2011-03-11 10:26:01 +00:00
David Schleef
d247cf8e6d theora,tarkin: Remove ancient unused code 2011-03-10 13:44:16 -08:00
Stefan Kost
fcf7b11a55 lv2: update url for port-groups extension 2011-03-07 22:41:30 +02:00
Edward Hervey
b45e5833c2 ext: Always dist the curl directory
Event if we can't build it. Fixes make dist
2011-03-04 17:37:04 +01:00
Edward Hervey
d9a930aa25 curlsink: Fix print-related issues 2011-03-04 12:15:32 +01:00
Sebastian Dröge
1eb3f7f41f celtenc: Fix compilation with celt >= 0.11.0
Fixes bug #643607.
2011-03-02 23:44:12 +01:00
Tim-Philipp Müller
c6d7071d93 docs: add new curl plugin and curlsink element to docs 2011-03-01 11:16:56 +00:00
Tim-Philipp Müller
eb5b3be384 curlsink: no need for a private instance structure
The entire instance structure is private anyway.
2011-03-01 10:03:07 +00:00
Tim-Philipp Müller
6f01abd85d curlsink: clean up property registration code
Fix some typos, use same style as in all other plugins, avoiding
unnecessary temporary GParamSpec variables; use G_PARAM_SPEC_STATIC_STRINGS.
2011-03-01 09:56:51 +00:00
Tim-Philipp Müller
56c2cc0f83 curl: add configure check and hook up to build system 2011-02-28 23:56:38 +00:00
Patricia Muscalu
16b79f6f2d curl: add libcurl-based sink element
Sink acts as a client and can connect to servers to
upload media.

https://bugzilla.gnome.org/show_bug.cgi?id=641496
2011-02-28 23:55:33 +00:00
Tim-Philipp Müller
b2be3e2f1a jp2kdec: post proper error when the image's colour space is not supported
https://bugzilla.gnome.org/show_bug.cgi?id=643115
2011-02-28 23:54:32 +00:00
Vincent Penquerc'h
c696b54fa7 xviddec: bodge to avoid crashes
It seems xvidcore overreads its input buffer, so a nasty workaround
is to allocate some more memory (16 bytes seem to be enough).
There is no apparent image corruption with these extra bytes set to 0,
valgrind is much happier, and the crashes go away.
It is ugly, and slower though. But then, xviddec is currently
not autoplugged for playback anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=334107
2011-02-21 00:16:33 +00:00
David Schleef
5b90c31ca2 basevideocodec: remove parser in favor of baseparse 2011-02-20 12:16:08 -08:00
Olivier Aubert
5ac1c96e84 rsvgoverlay: allow negative values for x/y/width/height 2011-02-18 14:43:08 +02:00
Mark Nauwelaerts
a887fc157e faac: remove extraneous buffer unref 2011-02-17 13:00:21 +01:00
Stefan Kost
07f797bf39 rsvgdec: add basic doc-blob 2011-02-14 11:49:10 +02:00
Olivier Aubert
a96fb3b472 rsvgoverlay: implement x/y/width/height (absolute and relative) positioning and dimensioning
Signed-off-by: Olivier Aubert <olivier.aubert@liris.cnrs.fr>
2011-02-14 11:49:09 +02:00
Alexey Fisher
2b4c854146 vp8enc: Add description for bitrate units. 2011-02-04 00:24:04 -08:00
Tim-Philipp Müller
5d754e549a jp2kdec, jp2kenc: add support v308 (4:4:4 YUV)
Because we can.
2011-01-27 14:45:30 +00:00
Thiago Santos
a875342c54 rsvgoverlay: Do not segfault on unexistent files
When passing an unexistent file to rsvgoverlay it would
crash because the svg loading would fail without setting
an error.

This patch makes it check if the handle was actually created
and logs an error in case it didn't. Maybe it should post an
error to the bus, but the previous error handling didn't, so
I just followed the same logic.
2011-01-24 23:51:53 -03:00
Vincent Penquerc'h
0b790b663c kate: ensure the kate pad does not shoot ahead of the video pad
Sync both pads by waiting in the kate chain function.
Do not reset our internal segment from segment updates, in order
to be able to map video running time to kate running time, to
give libtiger the timestamp it expects. This allows us to use
running time to sync to video, which is The Right Way.

https://bugzilla.gnome.org/show_bug.cgi?id=600929
2011-01-14 00:28:41 +00:00
Tim-Philipp Müller
b9af27719d cog, schroedinger: fix warnings when compiling with -DG_DISABLE_ASSERT 2011-01-08 03:12:11 +00:00
Tim-Philipp Müller
62c289f71d 0.10.20.2 pre-release 2011-01-08 03:10:00 +00:00
Tim-Philipp Müller
3145eac577 directfb: don't put code with side-effects into g_assert()
It will all be turned into a NOOP if -DG_DISABLE_ASSERT is used
(as it is for pre-releases and releases).
2011-01-08 00:01:01 +00:00
Tim-Philipp Müller
1498cbcc2d xvidenc: don't put code with side effects into g_return_val_if_fail()
And don't use g_return*_if_fail() for error handling in elements.
2011-01-07 23:57:21 +00:00
Vincent Penquerc'h
73923c4a6e tiger: outline text by default, to make it easier to read
https://bugzilla.gnome.org/show_bug.cgi?id=638527
2011-01-02 19:44:22 +00:00
Tim-Philipp Müller
a197901b82 jack: move plugin to gst-plugins-good
https://bugzilla.gnome.org/show_bug.cgi?id=621929
2011-01-02 15:11:52 +00:00
Tim-Philipp Müller
992c05f840 kate: fix caps and string leaks and some minor clean-ups
Don't leak source caps. Use GST_PTR_FORMAT to log caps, so
we don't need to leak strings from gst_caps_to_string().
No need to use GST_DEBUG_FUNCPTR for vfuncs where the base
class will never look them up (like property getters/setters).
Don't use g_return_*_if_fail() for things that aren't directly
programming errors (by the application developer).

Fixes kate unit test under valgrind.
2011-01-02 13:57:58 +00:00
Vincent Penquerc'h
4b56970d58 kate: reenable the sending of a message for tags
https://bugzilla.gnome.org/show_bug.cgi?id=638412
2011-01-02 13:34:53 +00:00
David Schleef
272086b121 cog: Use math-compat.h 2010-12-30 19:25:46 -08:00
Vincent Penquerc'h
857e3dda46 tiger: fallback on headers in caps to initialize if headers are absent
When Totem switches streams, tiger will be reset, and start receiving
buffers from the middle of the stream, without being sent headers.
If this happens, try to get headers from the caps.

https://bugzilla.gnome.org/show_bug.cgi?id=638004
2010-12-26 21:47:53 +00:00
Vincent Penquerc'h
74d82c4c1e kate: if seeking with GST_SEEK_TYPE_CUR, flush everything
We don't know how to calculate the target, so be safe.

https://bugzilla.gnome.org/show_bug.cgi?id=600929
2010-12-25 17:21:41 +00:00
Tim-Philipp Müller
5dac64b20a tiger: move #if #else bits outside of macro
Some compilers/preprocessors don't like if/else/endif preprocessor
directives in the middle of macros.
2010-12-25 16:44:03 +00:00
Vincent Penquerc'h
2a2c76cdbd tiger: Give tiger primary rank 2010-12-25 17:00:22 +01:00
Vincent Penquerc'h
8574e8f991 kate: add segment tracking, and various other improvements
https://bugzilla.gnome.org/show_bug.cgi?id=600929
2010-12-25 16:59:22 +01:00
Edward Hervey
a7baa891a9 rsvgoverlay: Don't set uint on an int property 2010-12-15 16:48:15 +01:00
Jan Schmidt
7e3472d772 resindvd: Defer pushing tag updates until streaming.
Push tag/title info updates in the streaming thread, avoiding
spurious losses of the downstream events when flushing.

See: https://bugzilla.gnome.org/show_bug.cgi?id=594222
2010-12-12 02:21:53 +11:00
Jan Schmidt
4810fa4c51 resindvd: Attempt to use glib language setting for DVD menus/audio 2010-12-12 02:21:53 +11:00
Jan Schmidt
c12fc9edda resindvd: Fix silly typo in button state tracking. 2010-12-12 02:21:53 +11:00
Wim Taymans
0c36c70f63 jasperdec: don't fail hard on decoding error
don't post an error and return GST_FLOW_ERROR on a simple decoding error. We can
just resume and continue decoding the next image.
2010-12-09 18:09:18 +01:00
David Schleef
159e2768d6 Fix pad template memleaks
Pad templates returned by gst_static_pad_template_get() were not
being unreffed.
2010-11-30 18:54:46 -08:00
David Schleef
4eee2dc95d vp8enc: Readd setting of granulepos
Revert parts of last patch that removed setting of granulepos.
oggmux still requires correct granulepos in incoming packet.
2010-11-30 18:43:24 -08:00
David Schleef
01574dc012 vp8enc: Don't override timestamps set by base class
Because the base class does it correctly.
Fixes: #635720, #625558.
2010-11-30 18:34:34 -08:00
Sebastian Dröge
7593d092df jp2kenc: Emit SOP markers in every codestream packet
This makes parsing much easier, faster and more reliable.
2010-11-30 12:07:49 +01:00
David Schleef
cb3bac56bf schroenc: minor memleak fix 2010-11-27 19:09:51 -08:00
Edward Hervey
7a88aca460 vp8: Remove dead assignments 2010-11-25 18:52:47 +01:00
Edward Hervey
1bdf82db77 sdlaudiosink: Remove dead assignments 2010-11-25 18:49:23 +01:00
Edward Hervey
52239c16af schroedinger: Remove dead assignments 2010-11-25 18:47:15 +01:00
Edward Hervey
c9aa47505a mimenc: Remove dead assignment 2010-11-25 18:43:30 +01:00
Edward Hervey
818d03ceec cogdownsample: Remove dead assignment 2010-11-25 18:43:18 +01:00
Edward Hervey
4067ef886d opencv: Remove dead assignments
... and fix indentation
2010-11-25 18:43:05 +01:00
Edward Hervey
3d3b46db39 cogcolorspace: Remove dead assignment 2010-11-25 18:33:37 +01:00
Edward Hervey
9ede66840f cogframe: Remove dead assignments 2010-11-25 18:30:56 +01:00
Edward Hervey
b8c0b33536 celtenc: Initialize variable
In the case the tag_setter returns something, empty_tags would be
garbage value.
2010-11-25 18:29:31 +01:00
Edward Hervey
28e000d18e celtenc: Remove dead assignment 2010-11-25 18:29:22 +01:00
Edward Hervey
6158953f58 assrender: Remove dead assignments 2010-11-25 18:26:21 +01:00
Josh Doe
6e43f75df3 opencv: fix caps issues and extend supported caps for some elements
Some elements had vague caps, such as "video/x-raw-rgb", which caused problems
at least with textwrite. For other elements, the underlying OpenCV functions
support more than just one image type, so I increased the number of supported
caps.

I created a utility function "gst_opencv_caps_from_cv_image_type", so each
element creates caps directly from OpenCV image types, such as CV_8UC1 for
8-bit grayscale. This function uses gstvideo to create uniform caps.

https://bugzilla.gnome.org/show_bug.cgi?id=635304
2010-11-22 22:25:18 -03:00
Olivier Aubert
c86b12ac95 rsvgoverlay: scalable and relative svg overlay with cairo
Add a cairo+librsvg based overlay element to the rsvg plugin.
2010-11-22 17:08:06 +02:00
Mart Raudsepp
c364f2b46b assrender: Remove unused src_stride variable from blit functions 2010-11-09 23:36:59 +00:00
Stefan Kost
fedcff79d7 rsvgdec: avoid reffing the element in chain 2010-11-08 16:02:07 +02:00
Stefan Kost
9ddeba2407 rsvgdec: add some minimal logging to track what it is doing 2010-11-08 16:02:07 +02:00
Tim-Philipp Müller
2363d97da1 zbar: handle more formats that start with an 8-bit Y plane
We can handle most planar YUV layouts too, as long as we don't
tell zbar about the chroma planes.
2010-11-02 17:46:11 +00:00
Tim-Philipp Müller
7ddd7f7809 zbar: use correct stride
Fixes detection for images with a width that's not a multiple of four.

Based on patch by: Kaj-Michael Lang <milang@tal.org>
Based on patch by: Stefan Kost <ensonic@users.sf.net>

https://bugzilla.gnome.org/show_bug.cgi?id=630830
2010-11-02 17:23:12 +00:00
Tim-Philipp Müller
a97ece29cc zbar: minor clean-up
Fix typo and use DEFAULT_FOO define for property default.
2010-11-02 16:36:05 +00:00
Tim-Philipp Müller
2122c1eb9a zbar: disable cache by default
Since it breaks still image bar code detection.
2010-11-02 16:32:55 +00:00
Tim-Philipp Müller
c627604ea9 cog, colorspace: update orc backup functions for latest changes
Should fix build on systems without the latest orc.
2010-11-01 15:54:18 +00:00
Stefan Kost
0387a89cad various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
2010-10-19 17:13:26 +03:00
Stefan Kost
92634ff92a various: wrap property registration and add a single fixme for long desc. 2010-10-19 15:36:18 +03:00
David Schleef
fe50055715 basevideo: Move common fields/functions to basecodec 2010-10-15 16:30:57 -07:00
Kaj-Michael Lang
18c3302608 zbar: Make scanner cache optional 2010-10-14 23:51:01 +03:00
Mark Nauwelaerts
8a6c490962 faad: reflow opening and closing decoder
In particular, this reconfigures quite forcefully when renegotiation is needed.

Fixes #631501.
2010-10-14 11:27:17 +02:00
Mark Nauwelaerts
7499f2b09b faad: cater for renegotiation
At least, whenever either stream (e.g. ADTS) or upstream provides necessary
info for doing so.

Fixes #631501.
2010-10-12 18:19:54 +02:00
Mark Nauwelaerts
bc6549a108 faac: handle trailing encoder output 2010-10-11 17:13:10 +02:00
Sebastian Dröge
d7d28ea4db switchsrc: Set the GST_ELEMENT_IS_SOURCE flag 2010-10-11 14:26:59 +02:00
Tim-Philipp Müller
a3f9fab72f alsaspdif: remove alsaspdifsink element
Remove alsaspdifsink, it's not needed any longer. alsasink in -base
has been able to handle SPDIF for a while now.
2010-10-05 11:42:42 +01:00
Mark Nauwelaerts
de97a994ba faad: reverse playback; cater for decoder delay
... thereby actually using the gather and decode queues.
2010-09-29 11:30:06 +02:00
Mark Nauwelaerts
636d1caf0d faad: tweak output buffer timestamping
In particular, avoid packetised input leading to initial to non-0 output ts.
2010-09-29 11:30:00 +02:00
Tim-Philipp Müller
887fc8e6e7 resindvdsrc: improve error messages on read erros
Provide i18n-ed error messages when a read error happens,
and point out that the error could be happening because the
DVD is scrambled.

https://bugzilla.gnome.org/show_bug.cgi?id=613633
2010-09-26 20:43:43 +01:00
Sebastian Dröge
1d189c9e75 ofa: Call g_object_notify() after the fingerprint was created 2010-09-25 12:33:58 +02:00
David Schleef
09ed8e87e7 schrodec: Fix class definition
Class structures should include parent class, not the parent
instance structure.
2010-09-22 11:58:55 -07:00
Edward Hervey
9db0d94364 sdlvideosink: Fix function prototype for touchy compilers 2010-09-21 18:45:03 +02:00
Edward Hervey
a96c0ab9fe sdl: Port to new XOverlay API
Fixes #630253
2010-09-21 16:31:57 +02:00
Sebastian Dröge
4376506183 spc: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:27:56 +02:00
Sebastian Dröge
160b5ee560 mplex: Don't use GST_FLOW_IS_SUCCESS() 2010-09-21 12:27:20 +02:00
Sebastian Dröge
2aea590153 timidity: Don't post an error message on the bus for UNEXPECTED
Also don't use GST_FLOW_IS_FATAL()
2010-09-21 12:26:36 +02:00
Sebastian Dröge
e0694abd0a wildmidi: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:26:36 +02:00
Sebastian Dröge
e618365a19 gme: Post an error message on the bus for fatal errors
Also don't use GST_FLOW_IS_FATAL().
2010-09-21 12:26:36 +02:00
Sebastian Dröge
2137ae524d sfsink: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:26:36 +02:00
David Schleef
62a9383527 basevideodecoder: add capture pattern handling
Move typical scan_for_sync() usage into base class, which just
calls gst_adapter_masked_scan_uint32().
2010-09-18 19:27:07 -07:00
David Schleef
7cd2e0dd3e basevideo: Move deadline to frame structure 2010-09-18 19:27:07 -07:00
Sebastian Dröge
c28c480eb9 cog: Allow compilation without orc
Also don't ignore --disable-orc. Fixes bug #629897.
2010-09-17 08:43:48 +02:00
Stefan Kost
bc1c9ac18e metadata: remove metadata plugin
This plugins functionality is replaced by utility libraries in base for exif
and xmp. Jpeg images can use this via jpegformat plugin.
Fixes #486659
2010-09-15 18:22:51 +03:00
Tristan Matthews
0f9a31880a jack: added translatable text for server not found error 2010-09-14 17:40:27 +03:00
Olivier Crête
3cb4a7aefd celtenc: Change bitrate to bits/sec 2010-09-13 17:22:40 -04:00
Tim-Philipp Müller
960ccc118f opencv: define CV_NO_BACKWARD_COMPATIBILITY to suppress warnings caused by compat header
Compile with -DCV_NO_BACKWARD_COMPATIBILITY for now, so that the compat header
doesn't get included, which causes compiler warnings that (it seems) can't be
switched off easily. As a result, we also specify a max. version in configure,
so the build doesn't break if our code doesn't compile against newer opencv
versions any more with that flag.
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
41b9b76fa5 opencv: avoid 'unused' compiler warnings with inline functions in opencv headers
Override CV_INLINE to avoid 'unused' gcc warnings. GLib will take care of defining
'inline' sufficiently and OpenCV's define isn't good enough to avoid 'unused'
compiler warnings (at least in version 2.1.0).
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
e2b45f5155 opencv: update plugin source package name and origin 2010-09-09 15:29:31 +01:00
Thiago Santos
19ba4c8d19 facedetect: Add more parameters
Expose the parameters of cvHaarDetectObjects in facedetect
element.
2010-09-08 23:59:38 -03:00
Thiago Santos
27fedbb352 opencv: Refactor files structure
Remove internal folders and put all code inside the main plugin
folder. Also fixes some building warnings.
2010-09-08 17:15:51 -03:00
Thiago Santos
cf86df2d00 opencv: Adds new plugin opencv
Moves opencv plugin from http://github.com/Elleo/gst-opencv
into -bad module.
2010-09-08 17:15:51 -03:00
Thiago Santos
0c61434945 facedetect: Post an useful message
Add a message to be post when faces are found on a frame that
contains all faces on a single message and also has
timestamp/running/segment times for that buffer so it
can be identified.

This message is called 'facedetect' and has a 'faces' list
of structures with all faces.

The old 'face' message is still posted for each face found, but
it is not really useful as it doesn't have any reference to the
buffer that generated it.
2010-09-08 17:15:51 -03:00
Thiago Santos
77fe3e6a07 facedetect: Use GstOpencvVideoFilter as the base class
Port facedetect to use GstOpencvVideoFilter as the base class
to inherit all the goodness that GstBaseTransform/GstVideoFilter
already handles.
2010-09-08 17:15:51 -03:00
Thiago Santos
dcb97354bf opencvbasetrans: Use GstVideoFilter as the base class
Port from GstBaseTransform to GstVideoFilter as the base class.
2010-09-08 17:15:50 -03:00
Thiago Santos
4c03c980ce cvlaplace: adds new cvlaplace element
Adds new cvlaplace element.

Also adds a new opencvbasetransform function to be overriden
by children classes: the cv_set_caps, it allows children classes
to know what are they going to handle and prepare properly.
2010-09-08 17:15:50 -03:00
Thiago Santos
e17b555efd Adds new element cvsobel 2010-09-08 17:15:50 -03:00
Thiago Santos
8f5b32f764 Adds new element cvequalizehist 2010-09-08 17:15:50 -03:00
Thiago Santos
f38911209d Adds new elements cvdilate and cverode
Adds 2 similar elements (so similar they have their own baseclass),
cvdilate and cverode.
2010-09-08 17:15:50 -03:00
Thiago Santos
128091a1cc cvsmooth: Improve parameters docs 2010-09-08 17:15:50 -03:00
Thiago Santos
f770de8a8b cvsmooth: Deactivating blur-no-scale
Deactivate blur-no-scale because basetransform doesn't provide a way
to override getcaps for pads, always using templatecaps independent
of properties.
2010-09-08 17:15:50 -03:00
Thiago Santos
971fe3ae0c cvsmooth: Add support for video/x-raw-gray 2010-09-08 17:15:50 -03:00
Thiago Santos
824d69d5ad Adding gstopencvutils
Adds a file to keep utilitary functions together
2010-09-08 17:15:50 -03:00
Thiago Santos
f47c4d3905 cvsmooth: Adds new element cvsmooth
Adds new cvsmooth element
2010-09-08 17:15:50 -03:00
Thiago Santos
6fd5cb9b62 gstopencvbasetrans: Adds this new base class
Adds GstOpencvBaseTransform as base class for simple 1:1
opencv filters
2010-09-08 17:15:49 -03:00
Thiago Santos
b8b0c39a63 pyramidsegment: Allocate a new buffer for output
Use a newly allocated buffer for output, and release the intermediary
image used.

Also add a TODO for performance improvement
2010-09-08 17:15:49 -03:00
Thiago Santos
5a9d9a8ae0 faceblur: facedetect: templatematch: textwrite: Set buffer to writable
These elements operates in place, set buffer to writable before
operating.
2010-09-08 17:15:49 -03:00
Thiago Santos
42984056db edgedetect: Fix chain buffer handling
Allocate a new output buffer instead of using the input buffer
pointing to the internal cvCEdge opencv's IplImage data, which
might change, consequently changing the buffer.
2010-09-08 17:15:49 -03:00
Thiago Santos
069c1369a2 configure: enable -Werror to improve code
-Werror on git version is useful to keep code clean.
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran
a33e117af7 Added the property for setting the RGB colours.
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran
6d4f9ceeb5 Added the property for setting the "thickness" of font
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran
ce5eb639cd Added the property for setting x and y co-ordinates
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran
d962551fb7 added the propery for setting x and y co-ordinates
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Mike Sheldon
96a769dc28 Apply Stefan's faceblur fixes to facedetect 2010-09-08 17:15:48 -03:00
Sreerenj Balachandran
fa8210fe94 Add simple text overlay plugin 2010-09-08 17:15:48 -03:00
Stefan Kost
af83f0afd7 faceblur: fix handling of profile property.
Dup and free the string. Fixes leaking new values and avoids crashing
gst-inspect.
2010-09-08 17:15:48 -03:00
Mike Sheldon
f35f701996 Fix includes in template matching element 2010-09-08 17:15:48 -03:00
Mike Sheldon
babe97ca50 Bring code in to line with general Gstreamer standards 2010-09-08 17:15:48 -03:00
Mike Sheldon
0961dbefd4 Fix segfault in template match element if no template has been set
Add template matching python example
Add autotool, libtool and pkgconfig dependencies to debian control file
2010-09-08 17:15:48 -03:00
Mike Sheldon
f8a49aeabd Add a plugin for automatically blurring faces in videos and images 2010-09-08 17:15:48 -03:00
Noam
6bb2bbd9c3 Added control for changing method 2010-09-08 17:15:48 -03:00
Noam
2195e2b123 Added templatematch element 2010-09-08 17:15:48 -03:00
kapil
cf9d13bb4c Registering all elements under opencv plugin 2010-09-08 17:15:48 -03:00
Mike Sheldon
2f77a06d23 Fix the profile parameter in the facedetect element to accept a string correctly 2010-09-08 17:15:47 -03:00
Mike Sheldon
4b9ae0088b Release OpenCV images when finalizing elements 2010-09-08 17:15:47 -03:00
kapil
046ca445b8 Fixed compile errors 2010-09-08 17:15:47 -03:00
Mike Sheldon
aae2576679 Make face detect send a bus message when a face is detected
Write a simple python example for face detection
2010-09-08 17:15:47 -03:00
Mike Sheldon
7408e5393e Add face detection element
Clean up some generated files
Update a few old comments
2010-09-08 17:15:47 -03:00
Mike Sheldon
b96c01f29a * Remove some autotools generated files 2010-09-08 17:15:47 -03:00
Mike Sheldon
1af8fa1066 * Make it possible to set threshold2 at runtime
* Implement pyramid segmentation element
* Make masking optional on edgedetect
* Clean up edgedetect, add element details
* Implemented edge detect element
2010-09-08 17:15:47 -03:00
Tristan Matthews
716fffb098 jack: added client property 2010-09-06 23:22:33 +03:00
Tristan Matthews
d8ee7f01de jack: removed unused file gstjackbin.c
This is a 0.8 leftover.
2010-09-06 22:33:24 +03:00
Jonathan Rosser
62ae33d3d6 cog: Fix cog_virt_frame_new_convert_u8()
Conversion was using uninitialized data instead of source frame.
Fixes #626425.
2010-09-05 15:37:17 -07:00
David Schleef
eea40e46e2 cog: Fix generated Orc code
Also drop required Orc back down to 0.4.7.
2010-09-05 12:08:10 -07:00
Edward Hervey
a80165d23b timidity: Fix unitialized variables (gcc 4.4.4) 2010-09-05 11:28:16 +02:00
David Schleef
acad667e43 cog: update disted Orc files 2010-09-04 11:35:16 -07:00
David Schleef
7d28505c4e sdlvideosink: Re-enable YVYU and UYVY
YVYU on my machine appears to be doing software conversion
(and doing it incorrectly).
2010-09-04 11:22:26 -07:00
David Schleef
135908dfe1 cog: Add fast paths for colorspace conversion 2010-09-04 11:22:25 -07:00
David Schleef
05992323b6 cog: Improvements in colorspace and scaler
Add fast paths for YUV->YUV conversions and Orc code for all.
Use Orc for horizontal resampling.
2010-09-04 11:22:23 -07:00
David Schleef
785fb87caf cog: minor cleanups
Improve element descriptions, remove unused files, code cleanup.
2010-09-04 11:15:20 -07:00
Sebastian Dröge
8af858cf8f cogcolorspace: Classify as Filter/Converter/Video instead of effect
Fixes bug #628570.
2010-09-04 15:01:30 +02:00
Tim-Philipp Müller
18b0375241 Release 0.10.20 2010-09-03 00:23:02 +01:00
Tim-Philipp Müller
d6c908ea59 rtmpsrc: fix wrong use of GST_ELEMENT_ERROR 2010-09-02 22:39:33 +01:00
Sebastian Dröge
315c690347 0.10.19.5 pre-release 2010-08-30 16:01:36 +02:00
Sebastian Dröge
4d7ce8c506 0.10.19.4 pre-release 2010-08-21 21:42:04 +02:00
Philip Jägenstedt
e72574124f vp8dec: Set GstBaseVideoDecoder::packetized to TRUE as soon as possible
This fixes an infinite loop if an EOS event is received before
GstBaseVideoDecoder::start() is called, e.g. immediately when the
pads are activated.

Fixes bug #626815.
2010-08-19 11:17:06 +02:00
Tim-Philipp Müller
fd4437ad90 gsettings: fix make distcheck
Clean up file we generated at build time.
2010-08-11 17:19:57 +01:00
Tim-Philipp Müller
61f7a1e12b 0.10.19.2 pre-release
This commit is out of sequence, it really belongs between commits
1509833141 (Automatic update of
common submodule) and dd26f378b0
(configure: Fix the CELT checks to ...)
2010-08-11 11:35:23 +01:00
David Hoyt
f724428e07 neonhttpsrc: add connect-timeout and read-timeout properties
https://bugzilla.gnome.org/show_bug.cgi?id=625076
2010-08-06 11:07:13 +01:00
Tim-Philipp Müller
640a1ff0e8 neonhttpsrc: add "cookies" property
Based on patch by: Sameer Naik

https://bugzilla.gnome.org/show_bug.cgi?id=625174
2010-08-06 10:44:24 +01:00
Alessandro Decina
fc9cfb0c00 rtmpsrc: fix warning on osx. 2010-07-30 23:59:10 +02:00
Sebastian Dröge
e245709f96 alsaspdifsink: Use new gst_audio_clock_new_full() 2010-07-16 17:59:09 +02:00
Thiago Santos
8d5755a5e2 gsettings: Fix maintainer-clean when it is not available
Do not use @GSETTINGS_RULES@ if gsettings is not available
to avoid maintainer-clean failing.
2010-07-13 00:41:35 -03:00
Sebastian Dröge
2dba63a19c vp8enc: Add support for enabling automatic insertion of alt-ref frames by the encoder 2010-07-10 16:52:10 +02:00
Sebastian Dröge
98048829b0 vp8enc: Fix handling of invisible/alt ref frames 2010-07-10 16:51:53 +02:00
Sebastian Dröge
c15b64a515 wildmidi: Correctly initialize properties with the default values again 2010-07-08 15:07:25 +02:00
Sebastian Dröge
82c408a6d5 wildmidi: Use PROP_ instead of ARG_ for property enums and use G_PARAM_STATIC_STRINGS
Also don't use G_PARAM_CONSTRUCT, it does not make sense for elements.
2010-07-08 07:58:48 +02:00