Commit graph

3279 commits

Author SHA1 Message Date
Syam Sidhardhan
142a5fb637 sbc: audio: Fix newline before EOF 2013-03-27 22:21:17 +00:00
Lucas De Marchi
b31ee7bffc sbc: Fix common misspelled words
Accounting of misspelled words, as detected by codespell:

acording      2
ancilliary    1
appropiate    1
atribute      1
cant          1
comming       2
gracefull     1
lenght        1
mispelled     1
occured       1
occurences    1
ocurred       3
prefered      1
presense      1
reponse       1
seperate      1
succesful     1
successully   1
sucessfull    1
sucessfully   1
2013-03-27 22:21:17 +00:00
Marcel Holtmann
5514d457a1 sbc: audio: Remove workaround for compiler warnings 2013-03-27 22:21:17 +00:00
Marcel Holtmann
df140f7852 sbc: Add pragma based workaround for GStreamer warnings 2013-03-27 22:21:17 +00:00
Marcel Holtmann
1ddbdc3e7a sbc: Update copyright information 2013-03-27 22:21:16 +00:00
Luiz Augusto von Dentz
d4fd8f3ecd sbc: Remove unused variable. 2013-03-27 22:21:16 +00:00
Luiz Augusto von Dentz
c985a85cf2 sbc: Remove unused variable. 2013-03-27 22:21:16 +00:00
Marcel Holtmann
db16c0332c sbc: Fix signed/unsigned comparison issue within GStreamer plugin 2013-03-27 22:21:16 +00:00
Siarhei Siamashka
3f994a84bb sbc: Use native byte order for audio in GStreamer and ALSA plugins
This fixes endianness inconsistency between default SBC
configuration and GStreamer/ALSA.
2013-03-27 22:21:16 +00:00
Marcel Holtmann
a3bf74686a sbc: Update copyright information 2013-03-27 22:21:16 +00:00
Marcel Holtmann
54f6cd0218 sbc: First attempt in fixing compiler warnings (still needs cleanup) 2013-03-27 22:21:16 +00:00
Marcel Holtmann
57f6f2655d sbc: Assign variables after declarations 2013-03-27 22:21:16 +00:00
Johan Hedberg
7ae0c70682 sbc: More coding style fixes 2013-03-27 22:21:16 +00:00
Luiz Augusto von Dentz
266cfb11b4 sbc: Fix runtime warnings of gstreamer plugin. 2013-03-27 22:21:16 +00:00
Luiz Augusto von Dentz
834a9b193b sbc: Update gstreamer plugin to use new sbc API. 2013-03-27 22:21:16 +00:00
Luiz Augusto von Dentz
ccf5d9ea7e sbc: Make use of parameters selected in alsa plugin and fix auto selection. 2013-03-27 22:21:16 +00:00
Marcel Holtmann
5be53d24ab sbc: Update copyright information 2013-03-27 22:21:16 +00:00
Luiz Augusto von Dentz
937066575a sbc: Add bitpool property and others fixes for gstreamer plugin. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
10325f3604 sbc: Enable gstreamer plugin to use autoconnect flag. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
2a5e58f44f sbc: Fixes gstreamer caps and code cleanup. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
ad24bafb62 sbc: Fix gtreamer payloader sending fragmented frames. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
84dcb6bb34 sbc: Add mp3 support for gstreamer plugin. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
76c77b1c60 sbc: Make a2dpsink to act like a bin and split the payloader. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
6a34433dd8 sbc: Code cleanup. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
742f952688 sbc: Integrate new ipc API implementation. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
2a21d83ce0 sbc: Add sbc_reinit. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
946d564292 sbc: Fix bug in sbcenc when changing encoder parameters. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
97fcf537cd sbc: Make sbc codec to write directly in application buffers and so avoiding memcpys. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
6f87580cfa sbc: Fix sbc negotiation and improves buffer handling by using GstAdapter. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
5672836c61 sbc: Fix buffers timestamps in sbcenc. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
a2152f6c12 sbc: Add bitpool capability. 2013-03-27 22:21:15 +00:00
Marcel Holtmann
f2441fe654 sbc: Some more coding style changes 2013-03-27 22:21:15 +00:00
Marcel Holtmann
d1062c97d1 sbc: Don't forget to include the config options 2013-03-27 22:21:15 +00:00
Marcel Holtmann
cd3e730aeb sbc: Fix coding style issues 2013-03-27 22:21:14 +00:00
Luiz Augusto von Dentz
8f8ccc0f12 sbc: Fix coding style issues. 2013-03-27 22:21:14 +00:00
Luiz Augusto von Dentz
01b0530663 sbc: Fixes sbcparser element. 2013-03-27 22:21:14 +00:00
Luiz Augusto von Dentz
f88c9d5555 sbc: Fixes for gstsbcenc. 2013-03-27 22:21:14 +00:00
Luiz Augusto von Dentz
c5668f1e45 sbc: Add gstsbcutil.c and gstsbcutil.h. 2013-03-27 22:21:14 +00:00
Marcel Holtmann
e590dc56dc sbc: Force LITTLE_ENDIAN instead of BYTE_ORDER for now 2013-03-27 22:21:14 +00:00
Marcel Holtmann
85874338ff sbc: Implement full parsing support 2013-03-27 22:21:14 +00:00
Marcel Holtmann
5488f2bf13 sbc: Add mode property to the encoder 2013-03-27 22:21:14 +00:00
Marcel Holtmann
fa031b3fe0 sbc: Implement full encoding support 2013-03-27 22:21:14 +00:00
Marcel Holtmann
1f88ce2dca sbc: Fix class variable naming 2013-03-27 22:21:14 +00:00
Marcel Holtmann
7a231ada07 sbc: Limit the supported output rates 2013-03-27 22:21:14 +00:00
Marcel Holtmann
36f952b627 sbc: Implement full decoding support 2013-03-27 22:21:14 +00:00
Marcel Holtmann
974757b2f7 sbc: Add SBC encoder and decoder skeletons for GStreamer 2013-03-27 22:21:14 +00:00
Olivier Crête
ed7f675966 srtp: Fix filter handling in caps negotiation to keep filter content 2013-03-25 13:48:56 -04:00
Wim Taymans
c2966fce30 fluidsynth: rename to fluiddec
Rename the fluidsynth plugin to fluidsynthmidi and the decoder
to fluiddec to avoid conflicts with buzztard.
2013-03-22 15:24:20 +01:00
Wim Taymans
2bd4712efd fluidsynth: fix debug of segment structure 2013-03-22 13:48:26 +01:00
Wim Taymans
f5230ab8ec fluidsynth: handle discont 2013-03-22 13:48:03 +01:00
Wim Taymans
87041064f8 fluidsynth: reset on flush and state change 2013-03-22 12:16:45 +01:00
Wim Taymans
d09a72029c fluidsynth: add properties
Add properties.
Try to find a good default soundfont when not specified.
2013-03-22 11:04:10 +01:00
Wim Taymans
30585c8f8e fluidsynth: log midi tick event 2013-03-22 08:54:54 +01:00
Wim Taymans
64498c576b fluidsynth: redirect logging to gst logging functions 2013-03-22 08:54:32 +01:00
Wim Taymans
a6e5a26be2 fluidsynth: improve debug 2013-03-21 18:17:40 +01:00
Wim Taymans
5256b6bf89 fluidsynth: produce more accurate timestamps 2013-03-21 17:05:36 +01:00
Wim Taymans
76080b78af fluidsynth: add more debug 2013-03-21 14:57:43 +01:00
Wim Taymans
73824e0ea7 fluidsynth: add fluidsynth midi renderer
Add a fluidsynth element that converts midi events into raw
float samples.
2013-03-21 07:21:41 +01:00
Tim-Philipp Müller
f479401fd3 Dist hls as well 2013-03-20 15:25:55 +00:00
Wim Taymans
66d0d86e78 wildmidi: fix event and query handler
Call the default implementation for unknown events and queries.
Fix event leak.
2013-03-19 13:54:00 +01:00
Alessandro Decina
d2d6798087 Make the hls plugin depend on gnutls and move to ext/hls/
gnutls is used to implement AES decryption
2013-03-19 10:54:18 +01:00
Wim Taymans
4a44dc5ecf port wildmidi
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=696041
2013-03-19 10:15:05 +01:00
Jose Antonio Santos Cadenas
ea2332c466 srtp: fix compilation warning returning NULL in case of error
https://bugzilla.gnome.org/show_bug.cgi?id=695897
2013-03-15 11:04:39 +00:00
Jose Antonio Santos Cadenas
2347c4e711 srtp: use constant AES_128_ICM instead of AES_ICM that is not found
https://bugzilla.gnome.org/show_bug.cgi?id=695897
2013-03-15 11:04:29 +00:00
Sebastian Dröge
86363b4f39 eglglessink: Add support for different EGLImage orientations 2013-03-13 13:02:07 +01:00
Sebastian Dröge
d5f15cf3a2 eglglessink: Add RGBA to the caps again 2013-03-13 11:10:02 +01:00
Olivier Crête
4eb960d6c3 srtp: Add SRTP plugin based on libsrtp
In large part the work of Gabriel Millaire
2013-03-12 20:01:50 -04:00
Sebastian Dröge
71768daceb eglglessink: Make sure the buffer is released to the pool if it's the last used one 2013-03-12 19:36:12 +01:00
Sebastian Dröge
bd8963f591 eglglessink: There are only two GLSL programs, not three 2013-03-07 11:58:25 +01:00
Sebastian Dröge
0931724767 eglglessink: gst_buffer_pool_config_get_allocator() does *not* return a new reference to the allocator
Different to gst_query_get_n_allocation_params() which does
2013-03-07 11:51:06 +01:00
Sebastian Dröge
c4fc3428eb eglglessink: Fix allocation of RGBA textures 2013-03-06 17:53:18 +01:00
Sebastian Dröge
a50700404a eglglessink: Make sure to set the NO_SHARE flag on the EGLImage memories
See https://bugzilla.gnome.org/show_bug.cgi?id=695203
2013-03-06 10:53:59 +01:00
Sebastian Dröge
ebe5849443 eglglessink: Always use an RGBA configuration 2013-03-05 12:47:07 +01:00
Sebastian Dröge
a2e89b0858 eglglessink: Properly negotiate an allocator 2013-03-03 12:31:05 +01:00
Sebastian Dröge
a47f52bb96 egl: Mark memory as not mappable if it isn't 2013-03-03 12:31:05 +01:00
Sebastian Dröge
106a0f09af eglglessink: Store a reference to the last_buffer if using EGLImages 2013-03-03 12:31:05 +01:00
Sebastian Dröge
196223b810 eglglessink: Fix compiler warning on RPi 2013-03-03 12:31:05 +01:00
Sebastian Dröge
e852f18e93 eglglessink: Port to new EGL library 2013-03-03 12:31:04 +01:00
Sebastian Dröge
f9eccfe015 egl: Move configure checks around and re-use for eglglessink plugin 2013-03-03 12:31:04 +01:00
Sebastian Dröge
ec19fa930c eglglessink: Fix GST_ERROR_OBJECT() parameters 2013-03-03 12:29:24 +01:00
Tim-Philipp Müller
dec865b2ff opencv: use pkgdatadir locally to construct path for custom haar cascades
https://bugzilla.gnome.org/show_bug.cgi?id=685655
2013-03-01 00:14:54 +00:00
Sreerenj Balachandran
757e7c25bf opencv: port handdetect element to 1.0 and add to build
https://bugzilla.gnome.org/show_bug.cgi?id=685655
2013-03-01 00:14:54 +00:00
Andol Li
7faa44057e opencv: add handdetect plugin, initial implementation
The handdetect plugin is for detecting hand gestures using
opencv.

It was created in the course of the Google Summer of Code.

https://bugzilla.gnome.org/show_bug.cgi?id=685655
2013-03-01 00:14:54 +00:00
Sebastian Dröge
4f638c720a eglglessink: gst_video_sink_center_rect() takes the structs itself instead of pointers as first parameters 2013-02-28 12:04:50 +01:00
Sebastian Dröge
31bed4c27d eglglessink: Fix aspect-ratio issues caused by scaling on RPi 2013-02-28 11:29:24 +01:00
Sebastian Dröge
d875858167 eglglessink: Close the dispman display on RPi after usage 2013-02-13 15:22:37 +01:00
Sebastian Dröge
3876a7f9e6 eglglessink: For RPi, initialize bcm_host in plugin_init() 2013-02-13 15:22:37 +01:00
Julian Scheel
f337777eb5 eglglessink: Add bcm/Raspberry Pi support.
This adds a video platform backend for the dispmanx display manager used by
broadcom and the Raspberry Pi.

Signed-off-by: Julian Scheel <julian@jusst.de>
2013-02-13 12:38:31 +01:00
Tim-Philipp Müller
fced457ad4 swfdec: remove
The swfdec project is dead, and this plugin was
never really useful because of the way swf works.
Remove it before someone accidentally ports it.
2013-02-11 23:29:59 +00:00
Tim-Philipp Müller
e3afe460a4 Add cog to cruft list and remove some more leftover files 2013-02-11 22:50:15 +00:00
David Schleef
3cddc007cb cog: remove cog plugin
Everything has been merged into other elements.
2013-02-11 12:30:29 -08:00
Wim Taymans
6c4029357c opusdec: clear the state of the decoder
Set the channels and rate back to their default values in _stop because they
are used to renegotiate when needed.

See https://bugzilla.gnome.org/show_bug.cgi?id=692950
2013-02-11 11:12:35 +01:00
Marc Leeman
b28870150b rsvgoverlay: deprecated GStaticMutex -> GMutex
Element needs porting though.

https://bugzilla.gnome.org/show_bug.cgi?id=693322
2013-02-09 19:41:29 +00:00
Wim Taymans
de648b8832 opuspay: fix timestamps
Copy timestamps to payloaded buffer.
Avoid input buffer memory leak.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692929
2013-01-31 12:33:23 +01:00
Tim-Philipp Müller
32893dd95e opusenc: fix crash when setting "cbr" property when encoder is not running yet
https://bugzilla.gnome.org/show_bug.cgi?id=692698
2013-01-28 14:12:56 +00:00
Patricia Muscalu
4202eeff7d curltlssink: set correct level of SSL for the transfer
https://bugzilla.gnome.org/show_bug.cgi?id=692010
2013-01-22 10:55:14 +00:00
Arnaud Vrac
8d837cbac4 assrender: reenable unit tests and up rank to primary again 2013-01-22 00:24:52 +00:00
Arnaud Vrac
143c0cbd45 assrender: use overlay composition to blit subtitles on video frames
Re-uses existing blitting code and also means we can support
a lot more video formats out of the box, hence avoid unnecessary
pixel format or colour space conversions.

https://bugzilla.gnome.org/show_bug.cgi?id=692012
2013-01-22 00:24:31 +00:00
Arnaud Vrac
5f91366553 assrender: render overlay composition if supported downstream
This allows rendering ASS subtitles on top of video when
using hardware-accelerated video decoders based on e.g.
VA-API or VDPAU.

https://bugzilla.gnome.org/show_bug.cgi?id=678389
https://bugzilla.gnome.org/show_bug.cgi?id=692012
2013-01-22 00:24:25 +00:00
Arnaud Vrac
30222d6080 assrender: add wait-text property
This is the same property as in the pango element, to allow waiting for
text on the text pad before rendering the video.

https://bugzilla.gnome.org/show_bug.cgi?id=692012
2013-01-22 00:24:20 +00:00
Arnaud Vrac
c78714ced3 assrender: fix some subtitles being ignored
https://bugzilla.gnome.org/show_bug.cgi?id=692012
2013-01-22 00:24:17 +00:00
Arnaud Vrac
c16d41d709 assrender: refactor code to avoid duplication
https://bugzilla.gnome.org/show_bug.cgi?id=692012
2013-01-22 00:24:13 +00:00
Arnaud Vrac
61976b7aa7 assrender: proxy allocations on video pad
Forward allocation queries on video sink pad instead
of discarding them.

This allows the upstream elements to use the allocation
parameters or pools from the downstream elements like
videosink.

https://bugzilla.gnome.org/show_bug.cgi?id=692012
2013-01-22 00:24:06 +00:00
Olivier Crête
81b452ba5d dtmf/spandsp: Move dtmfdetect to use libspandsp
Remove our copy of the tone_detect.c file and use the original
from libspandsp. Also move the element to the spandsp plugin.
2013-01-09 20:05:16 -05:00
Tim-Philipp Müller
4c76427ba7 resindvd: handle non-utf8 dvd disc titles better
Maybe something based on the code in bug #688367
and the language encodings would work even better
though (now it will try things based on the locale).

https://bugzilla.gnome.org/show_bug.cgi?id=690097
2013-01-07 10:37:53 +00:00
Tim-Philipp Müller
8436a7d8ae jasper: remove jasper jpeg2000 plugin, replaced by openjpeg plugin
libjasper isn't really maintained any longer, we probably
don't want to port this.
2013-01-07 10:36:45 +00:00
Sebastian Dröge
1b88d7cada eglglessink: Don't return EGLImages that we just rendered from the buffer pool
Mapping them will fail because they're still internally used.
2013-01-03 17:28:49 +01:00
Sebastian Dröge
2aefc09248 eglglessink: Handle copying of GstMemory properly
We have to use the default video meta mapping functions.
2013-01-03 15:22:38 +01:00
Sebastian Dröge
b244151f85 eglglessink: Make sure to always use the correct GstMemory for buffers from our pool 2013-01-03 12:08:39 +01:00
Sebastian Dröge
e8b4815783 eglglessink: Don't forget to call the platform specific EGLImage free function 2013-01-03 11:07:06 +01:00
Sebastian Dröge
c6d9191abe eglglessink: Make sure to wait for the right object to be dequeued 2013-01-03 10:43:43 +01:00
Sebastian Dröge
79144b7cea eglglessink: Remove packed YUV support
This will not allow zero-copy because the same
EGLImage would need to be used for two different
textures with a different format.
2013-01-02 16:10:20 +01:00
Sebastian Dröge
9e1faac4df eglglessink: Log in the performance category if we map/copy EGLImages to normal memory 2013-01-01 12:05:03 +01:00
Sebastian Dröge
1ad5e5b329 eglglessink: Catch errors from glEGLImageTargetTexture2DOES() 2013-01-01 10:48:53 +01:00
Sebastian Dröge
1fbea3e39d eglglessink: Upload textures in GstBaseSink::prepare() already
This gives more time for the texture to be uploaded as it happens
before syncing to the running time. When the running time is reached
only eglSwapBuffers() is necessary.
2013-01-01 10:48:53 +01:00
Sebastian Dröge
2cae6df5e5 eglglessink: Downgrade a GST_ERROR to a GST_DEBUG 2012-12-31 15:59:05 +01:00
Sebastian Dröge
9f14fd5cce eglglessink: Make last_flow handling more threadsafe 2012-12-31 15:59:05 +01:00
Sebastian Dröge
4df3e56c9a eglglessink: Add support for allocating EGLImages on Mali
This allows to decoders and other upstream elements to do
zero-copy to the sink.
2012-12-31 15:59:04 +01:00
Sebastian Dröge
6748198668 eglglessink: Fix indention 2012-12-30 11:32:29 +01:00
Sebastian Dröge
6140bc7f8c eglglessink: Return the last_flow immediately if it wasn't GST_FLOW_OK 2012-12-30 11:32:02 +01:00
Sebastian Dröge
fa6cddcf45 eglglessink: Fix copy&paste mistake 2012-12-30 11:29:49 +01:00
Sebastian Dröge
be5486231b eglglessink: Improve EGL/GL error handling a bit 2012-12-30 11:25:13 +01:00
Sebastian Dröge
d643ff961e eglglessink: Don't access the video frame data if not necessary 2012-12-30 11:25:13 +01:00
Sebastian Dröge
83612e7d19 eglglessink: Configure caps from the setcaps function already 2012-12-30 11:25:13 +01:00
Sebastian Dröge
e454e9a862 eglglessink: Bind the OpenGL ES API in the render thread too 2012-12-28 20:07:34 +01:00
Sebastian Dröge
46c7bbfeb5 eglglessink: Some refactoring as preparation for platform specific rendering 2012-12-28 20:07:34 +01:00
Sebastian Dröge
823f490fe8 eglglessink: Add some more comments 2012-12-28 20:07:34 +01:00
Sebastian Dröge
6b8188f9f6 eglglessink: Only use the GstVideoFrame if we have a buffer 2012-12-28 20:07:34 +01:00
Sebastian Dröge
31a3ef2f82 eglglessink: Add configure parameter to chose the EGL window system
Only needed for creating native windows.
2012-12-28 20:07:34 +01:00
Sebastian Dröge
0304518d1d eglglessink: Add support for Mali fbdev EGL driver 2012-12-28 20:07:30 +01:00
Sebastian Dröge
079f5e83ea eglglessink: Add support for video meta and arbitrary strides 2012-12-26 17:25:36 +01:00
Sebastian Dröge
7a08bb8429 eglglessink: Fix width/height swap in last commit 2012-12-26 15:58:55 +01:00
Sebastian Dröge
673d262fe7 eglglessink: Remove debug function call from previous commit 2012-12-26 15:46:40 +01:00
Sebastian Dröge
17bf9dfd70 eglglessink: Fix handling of GstVideoOverlay::set_render_rect() and crop metadata 2012-12-26 14:39:03 +01:00
Sebastian Dröge
b126c62e31 eglglessink: Add a cast from EGLNativeWindowType to Window to fix a compiler warning 2012-12-26 10:54:38 +01:00
Sebastian Dröge
4789db8930 eglglessink: Fix a crash on GstVideoOverlay::expose() 2012-12-26 10:39:52 +01:00
Sebastian Dröge
3c2574998b eglglessink: Fix crash when closing internal X11 window 2012-12-26 10:34:21 +01:00
Sebastian Dröge
7efa7b9698 eglglessink: Add proper check for X11 2012-12-26 10:21:34 +01:00
Joe Konno
8a63face0e waylandsink: do not default to a fullscreen canvas
Defer certain canvas particulars to the player (or the Wayland
compositor). Before this change, a fullscreen canvas was always
requested. This may not be desirable in all cases.

https://bugzilla.gnome.org/show_bug.cgi?id=690442
2012-12-23 15:58:05 +00:00
Sebastian Dröge
fe38fc2b5a openjpegdec: Only use 10 bit YUV formats for exactly 10 bit images, not <= 16 bit
And use the generic converter to AYUV64 for everything else.
2012-12-23 09:51:42 +01:00
Sebastian Rasmussen
3d1ca76725 openjpegenc/-dec: print openjpeg logs for debug tracing 2012-12-19 11:24:02 +01:00
Thijs Vermeir
05dfea2689 opus: use appropriate printf format for gsize 2012-12-18 16:56:28 +01:00
Sebastian Dröge
680c13f993 openjpegenc: Add some properties 2012-12-18 15:44:56 +01:00
Sebastian Dröge
da8f8270c3 openjpegdec: Don't crash if colorspace is not provided on the caps
g_str_equal() is *not* NULL-safe
2012-12-18 15:43:37 +01:00
Sebastian Dröge
d70e43a069 openjpegdec: Improve robustness against formats with different settings per component 2012-12-17 17:19:54 +01:00
Sebastian Dröge
8b33b17748 openjpegdec: Properties won't be needed in the decoder 2012-12-17 17:13:22 +01:00
Sebastian Dröge
ed33db79cd openjpegenc: Fix data pointer incrementing 2012-12-17 17:12:04 +01:00
Sebastian Dröge
2ea8ede145 openjpegenc: Optimize image filling functions a bit 2012-12-17 17:06:29 +01:00
Sebastian Dröge
43ff27ba34 openjpegdec: Add missing shifts 2012-12-17 17:02:47 +01:00
Sebastian Dröge
bff020e9e4 openjpegdec: Optimize frame filling functions a bit 2012-12-17 16:57:14 +01:00
Sebastian Dröge
7faf96eb14 openjpeg: Correct template caps a bit 2012-12-16 20:50:34 +01:00
Sebastian Dröge
cb5dcaba76 openjpeg: Handle the num-components field in the caps 2012-12-16 20:50:34 +01:00
Sebastian Dröge
8547618f96 openjpeg: Add support for the colorspace field in the caps 2012-12-16 20:50:34 +01:00
Sebastian Dröge
e9fc332e25 openjpeg: Add JPEG2000 encoder element 2012-12-16 20:50:34 +01:00
Sebastian Dröge
e1416c11a4 openjpeg: Add OpenJPEG based JPEG2000 decoder 2012-12-16 20:50:34 +01:00
Sebastian Dröge
0b3cce4890 mms: Fix format string for off_t/goffset
Fixes bug #690033.
2012-12-11 10:58:54 +00:00
Alessandro Decina
62879bdd38 rtmpsrc: disable seeking if the configured url specifies live=true
Disable seeking when live=true is set in the location URL (eg:
"rtmp://example.net/stream live=true")
2012-12-01 17:11:43 +01:00
Tim-Philipp Müller
caa9014bce resindvd, frei0r: link to libgmodule-2.0 in plugins that use g_module_* API
Probably needed for other plugins as well.
2012-11-30 20:01:16 +00:00
Sebastian Dröge
b80764e8b7 eglglessink: Use new GType for GThread instead of just G_TYPE_POINTER 2012-11-12 11:48:38 +01:00
Tim-Philipp Müller
9e1b75fda3 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
fa20fba1a2 opencv: fix warnings and build against opencv 2.4.x
gstpyramidsegment.c: In function 'gst_pyramid_segment_chain':
gstpyramidsegment.c:307:3: error: implicit declaration of function
'cvPyrSegmentation' [-Werror=implicit-function-declaration]
gstpyramidsegment.c:307:3: error: nested extern declaration of
'cvPyrSegmentation' [-Werror=nested-externs]

https://bugzilla.gnome.org/show_bug.cgi?id=687237
2012-11-03 13:52:08 +00:00
Sebastian Dröge
c3f94f14f0 eglglessink: Use more constants instead of hardcoding values 2012-11-02 11:29:54 +01:00
Sebastian Dröge
b0bad3ca15 eglglessink: Post stream-status messages for our render thread 2012-11-01 13:51:09 +01:00
Sebastian Dröge
8786262fff eglglessink: If pushing an item on the queue fails, free it
Otherwise we're going to leak the item.
2012-10-31 13:55:47 +01:00
Carlos Rafael Giani
701fd9b336 mpg123: removed unnecessary finalize function
https://bugzilla.gnome.org/show_bug.cgi?id=687176
2012-10-30 10:15:14 +00:00
Jan Schmidt
41b08e2948 mpg123: Fix leaks from not chaining up in the finalize function 2012-10-30 10:20:09 +11:00
Sebastian Dröge
ac420ff0de eglglessink: Stop using deprecated GLib thread API 2012-10-25 14:28:49 +02:00
Sebastian Dröge
4dd39a3856 assrender: Handle GAP events 2012-10-25 14:05:49 +02:00
Sebastian Dröge
1e1d4da87c eglglessink: Add support for crop metadata 2012-10-25 14:05:48 +02:00
Sebastian Dröge
187350329a eglglessink: Port to 1.0 2012-10-25 14:05:48 +02:00
Carlos Rafael Giani
e6b05111d3 opusdec: fixed buffer unmapping bug
When the decoder received a NULL buffer, it tried to
unmap a not mapped buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=686829
2012-10-25 01:20:23 +01:00
Carlos Rafael Giani
a84677a7a0 mpg123: added gtkdoc section
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:43:23 +01:00
Carlos Rafael Giani
8ba422839a mpg123: fixed bug with last frame, disabled internal resampler & chatter
* The last MP3 frame wasn't being pushed when base class was draining
* Made sure mpg123 cannot ever use its (crude) internal resampler
* Disabled mpg123 stderr output

https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:43:16 +01:00
Carlos Rafael Giani
2de930689c mpg123: cleaned up comments, formatting, and logging lines
also replaced mpg123decoder->handle != NULL checks with asserts

https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 11:59:19 +01:00
Sebastian Rasmussen
1c71fd351a curlsmtpsink: add comment describing function
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686774
2012-10-24 11:29:47 +01:00
Tim-Philipp Müller
0a57441908 pitch: fix for start times > 0
Fixes buffering and playback of streams that start with
a non-0 timestamp in totem (which has a 'pitch' element
before pulsesink).

Example URI: http://lobostv.lobocast.org.es:8004/lobostv.ogg

Still breaks with chained oggs, on second chain.

https://bugzilla.gnome.org/show_bug.cgi?id=686391
2012-10-22 21:46:56 +01:00
Wim Taymans
50140388d2 opuspay: remove pointless caps serialization
Remove the caps serialization in the rtp caps. the spec nor the receiver
does anything with it.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686547
2012-10-22 12:11:02 +02:00
Sreerenj Balachandran
54e05ee4aa wayland: update to wayland-protocol 0.99
https://bugzilla.gnome.org/show_bug.cgi?id=686520
2012-10-20 13:09:03 +01:00
Sebastian Dröge
888fe99fa4 eglglessink: Don't try to render expose() if no caps are known yet 2012-10-19 12:02:05 +02:00
Sebastian Dröge
4dc028a2a3 eglglessink: Fix expose 2012-10-19 10:38:06 +02:00
Sebastian Dröge
c9b17f28f6 eglglessink: Make compilable on desktop Linux with MESA too 2012-10-18 14:35:52 +02:00
Sebastian Dröge
6fb5a9b716 eglglessink: Integrate into the build system
Conflicts:
	ext/Makefile.am
2012-10-18 14:35:49 +02:00
Sebastian Dröge
ebb99f27ac eglglessink: Fix debug output 2012-10-18 14:35:20 +02:00
Sebastian Dröge
61db9ad941 eglglessink: Also clear the surface once when the buffer content is preserved 2012-10-18 14:35:20 +02:00
Sebastian Dröge
147edd1fc2 eglglessink: Only draw black borders if the default swap behaviour of the surface is to destroy the buffer 2012-10-18 14:35:20 +02:00
Sebastian Dröge
a025c80b4c eglglessink: Remove unused label 2012-10-18 14:35:20 +02:00
Reynaldo H. Verdejo Pinochet
5bdf1ec099 eglglessink: Factor display region reset to its own func 2012-10-18 14:35:20 +02:00
Reynaldo H. Verdejo Pinochet
c3a12d737e eglglessink: Always Reset display_region.* at EGL/GLES ctx wipe 2012-10-18 14:35:20 +02:00
Reynaldo H. Verdejo Pinochet
ac037ce319 eglglessink: Factor ELG/GLES context cleanup into its own func 2012-10-18 14:35:20 +02:00
Reynaldo H. Verdejo Pinochet
ab81bd8f1e eglglessink: Drop drafted fast rendering path logic 2012-10-18 14:35:20 +02:00
Sebastian Dröge
9e8ad1097b eglglessink: Also update header file 2012-10-18 14:35:20 +02:00
Sebastian Dröge
f5043f5d64 eglglessink: Provide the texture positions to the shader on every frame too 2012-10-18 14:35:20 +02:00
Sebastian Dröge
9941466ab4 eglglessink: Draw black borders and also use a single GL buffer for all vertices
Fixes weird artifacts outside the video frame on
Qualcomm Snapdragon chipsets and should be faster
than glClear() on the complete area all the time.
2012-10-18 14:35:20 +02:00
Sebastian Dröge
a65ed4d7c1 eglglessink: Fix memory leak 2012-10-18 14:35:20 +02:00
Sebastian Dröge
f7a0da4da9 eglglessink: Remove useless debug output added for debugging earlier 2012-10-18 14:35:20 +02:00
Sebastian Dröge
0ac17bcbc2 eglglessink: Make window setting/handling a bit more threadsafe 2012-10-18 14:35:19 +02:00
Sebastian Dröge
e766bd1e0a eglglessink: Print window handle after setting it 2012-10-18 14:35:19 +02:00
Reynaldo H. Verdejo Pinochet
32861ab0a7 eglglessink: Move DAR query & store to surface init
The DAR (display's pixel aspect ratio) should remain a
constant at runtime so there's no point on repeatedly
query and store this value. Doing it at surface setup
should be enough. As an added bonus this change should
make rendering a bit faster.
2012-10-18 14:35:19 +02:00
Sebastian Dröge
406630a294 eglglessink: Don't signal the GCond too often 2012-10-18 14:35:19 +02:00
Sebastian Dröge
82dc2a3544 eglglessink: Add myself as author 2012-10-18 14:35:19 +02:00
Sebastian Dröge
87a028a0a4 eglglessink: Make sure to always reset the display region in start() 2012-10-18 14:35:19 +02:00
Sebastian Dröge
28fe3f7888 eglglessink: Also commit missing changes to the header file 2012-10-18 14:35:19 +02:00
Sebastian Dröge
610e33b049 eglglessink: Also include $(GST_BASE_CFLAGS) 2012-10-18 14:35:19 +02:00
Sebastian Dröge
caf9d1febd eglglessink: Fix race condition 2012-10-18 14:35:19 +02:00
Sebastian Dröge
99f738bbc0 eglglessink: Refactor rendering and all context specific GL things into a separate thread
Also fixes some threading related problems.
2012-10-18 14:35:19 +02:00
Sebastian Dröge
11ec917ee0 eglglessink: Re-add accidentially reverted commit 2012-10-18 14:35:19 +02:00
Sebastian Dröge
ba3274c8f0 eglglessink: Remove unneeded flow_lock
Use the object lock in the few places necessary, everything
else is protected by other things already.

Also store the context directly inside the instance struct
instead of allocating some memory for it.
2012-10-18 14:35:19 +02:00
Sebastian Dröge
2b3279c9b5 eglglessink: Fix debug output and constant names 2012-10-18 14:35:19 +02:00
Sebastian Dröge
1f0bf75075 eglglessink: start()/stop() is called in READY<->NULL in basesink
But this should be called in PAUSED<->READY.
2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
d2dcecfc8a eglglessink: Fix for outbound DAR reported by EGL
Some EGL implementations don't honor the spec
requirement of returning DAR values as w/h *
EGL_DISPLAY_SCALING.

This changeset:

- Fixes rendering on the Samsung Galaxy III
- Fixes wrong check on required 1.2 EGL version
- Reorders the code a bit.
2012-10-18 14:35:18 +02:00
Sebastian Dröge
dde62cee8e eglglessink: Fix crashes if there are no EGL or GLES extensions 2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
a317f6936c eglglessink: Fix crash at element instantiation 2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
af009b7de7 eglglessink: GLSL: Save one extra texture lookup 2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
0ed02803f7 eglglessink: GLSL: Minor named index access tweak xyz -> rgb 2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
5c2b1dc631 eglglessink: GLSL: Assorted fixes to optimized code
- Don't copy over opos as it's already a vec2
- Fix index order access at frag_YUY2_YVYU_UYVY_prog
2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
73d865091c eglglessink: GLSL: Planar YUV converters optimization
- Use consts for the transform's offset and cofficients values
- Use dot product instead of mult and add
- Avoid unneeded texture lookups
2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
846e77871b Geglglessink: LSL: Optimize frag_YUY2_YVYU_UYVY_prog
- Avoid repeatedly performing the texture lookup
- Use consts for the transform's offset and cofficients values
- Use the dot product instead of the explicit mult and add
2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
eb8f7d63d5 eglglessink: GLSL: Drop unneded nxy vec2 2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
bb0b872644 eglglessink: Fix missing double quotation mark in GLSL code 2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
a95834a491 eglglessink: GLSL: Optimize frag_AYUV_prog
- Avoid repeatedly performing the texture lookup
- Use consts for the transform's offset and cofficients values
- Use the dot product instead of the explicit mult and add
2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
a7a2dcc433 eglglessink: Documentation: GstEglGlesSink struct 2012-10-18 14:35:18 +02:00
Reynaldo H. Verdejo Pinochet
38ca631a7a eglglessink: Documentation: GstEglGlesBuffer struct (DRAFT) 2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
c27c11582e eglglessink: Documentation: GstEglGlesImageFmt struct 2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
945b11fd02 eglglessink: Documentation: GstEglGlesRenderContext struct 2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
d97b3dba60 eglglessink: Assorted doc and reordering fixes 2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
031b6a57ac eglglessink: Documentation: Element properties
Brief explanatory comments plus some reordering
to group default setting of properties and runtime
flags values.
2012-10-18 14:35:17 +02:00
Sebastian Dröge
81463a1cb7 eglglessink: Add support for YVYU 2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
95a223a030 eglglessink: Documentation: GLSL Shaders
Brief explanatory comments plus some rerdering
to group packed/planar converters.
2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
731be48dac eglglessink: Documentation: Element overview 2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
1eef329725 eglglessink: Refactor REORDER shader.
Avoid unneededly calling texture2D() 3 consecutive times.
2012-10-18 14:35:17 +02:00
Sebastian Dröge
c91238a2af eglglessink: Fix handling of caps changes by only releasing what needs to be released
And not terminating the display connection
2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
310e5111b7 eglglessink: Move display_region reset to locked section 2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
884e5fa173 eglglessink: Reset display_region dims at caps renego 2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
f28f5df29e eglglessink: Cosmetics 2012-10-18 14:35:17 +02:00
Reynaldo H. Verdejo Pinochet
c255aa5dd4 eglglessink: Don't access local value from struct 2012-10-18 14:35:16 +02:00
Reynaldo H. Verdejo Pinochet
2ab9de8e4f eglglessink: Terminate display connection at caps renego 2012-10-18 14:35:16 +02:00
Reynaldo H. Verdejo Pinochet
734ac85bb4 eglglessink: Cosmetics 2012-10-18 14:35:16 +02:00
Sebastian Dröge
e022fc5389 eglglessink: Only attach the context once to the streaming thread 2012-10-18 14:35:16 +02:00
Sebastian Dröge
09b3518bae eglglessink: Make the context current for the thread and unbind it again around every use
This fixes some crashes and leaking of our context into other
OpenGL code on the same thread.
2012-10-18 14:35:16 +02:00
Sebastian Dröge
113253b292 eglglessink: Improve cleanup 2012-10-18 14:35:16 +02:00
Sebastian Dröge
70d077acd8 eglglessink: Remove unused label 2012-10-18 14:35:16 +02:00
Sebastian Dröge
f058b5d78b eglglessink: Allow setting a NULL handle 2012-10-18 14:35:16 +02:00
Sebastian Dröge
fc0dc0055a eglglessink: Revert "Do not update_surface_dims() once per frame"
This reverts commit 82103376ede2bc7c63dd699f5982168660f67852.

We have to update the surface dimensions on every frame to
make sure that we get notified about updates. This happens
for example if the Android window gets re-layouted because
a widget takes more space than before.
2012-10-18 14:35:16 +02:00
Reynaldo H. Verdejo Pinochet
a818d5c771 eglglessink: Do not update_surface_dims() once per frame
And.. Upgrade debug message to warging on weird DAR.
Correct fix to avoid spaming with this message
once per each frame is avoid calling update_surface_dims()
at render_and_display(). This is handled at egl surface
init.
2012-10-18 14:35:16 +02:00
Sebastian Dröge
162f63e064 eglglessink: And downgrade another warning too 2012-10-18 14:35:16 +02:00
Sebastian Dröge
7307ddd54b eglglessink: Downgrade GST_WARNING to GST_DEBUG 2012-10-18 14:35:16 +02:00
Sebastian Dröge
8dabfbfca8 eglglessink: Add some {} to if statements make them work as expected 2012-10-18 14:35:16 +02:00
Reynaldo H. Verdejo Pinochet
20a05726b3 eglglessink: Drop stale defines for max frame size 2012-10-18 14:35:16 +02:00
Reynaldo H. Verdejo Pinochet
a3530d9a3d eglglessink: Small commentary fixes here an there 2012-10-18 14:35:15 +02:00
Reynaldo H. Verdejo Pinochet
2b706d3fbe eglglessink: Avoid setting height or width twice 2012-10-18 14:35:15 +02:00