Commit graph

13710 commits

Author SHA1 Message Date
Tim-Philipp Müller
a84e2ccbb8 audiovisualizer: shaders assume 32bpp
Backport fix for crashes and invalid writes in totem from libvisual
in -base, to minimise differences to version in -base and to make
sure the bug doesn't sneak back in later when the base class is
made public.

The shader code looks like it makes assumptions that are not
necessarily always true, even if they're true for now for the
existing elements, namly that pixel stride is 4, for example.

See https://bugzilla.gnome.org/show_bug.cgi?id=683527
2013-04-05 00:53:54 +01:00
Matthew Waters
bf502f5502 audiovisualizer: handle non-existant pool in the default allocation query
gst_query_set_nth_allocation_pool() requires there to be a pool in the
query already. This is not always the case when we get the query from
upstream.  Use gst_query_add_allocation_pool() instead in such case.

https://bugzilla.gnome.org/show_bug.cgi?id=681719
2013-04-05 00:38:36 +01:00
Wim Taymans
5d72759fec audiovisualizer: improve allocation
Based on patch by Matthew Waters

Add private data
Add decide_allocation vmethod
Refactor bufferpool negotiation

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681719
2013-04-05 00:37:08 +01:00
Andoni Morales Alastruey
7f18295321 d3dvideosink: use bilinear filter as much as possible
Use the bilinear scalling filter when the magnifier or the minifier
filters are avaible. Some graphics cards do not provide minifier filters
but we want to use it for upscalling if it's available

https://bugzilla.gnome.org/show_bug.cgi?id=697176
2013-04-04 11:39:45 +02:00
Edward Hervey
725f8dc1f7 rsvg: Bump minimum requirement to 2.36.0
And handle header changes in 2.36.2
2013-04-03 14:57:23 +02:00
Tim-Philipp Müller
3f228f3dfc docs: add since markers to new codecparsers video meta API
https://bugzilla.gnome.org/show_bug.cgi?id=691712
2013-04-02 23:34:19 +01:00
David Schleef
94ed6caec4 rtmpsrc: Implement basesrc->unlock()
This fixes ->NULL transition problems if librtmp is stuck in a
recv or send call that never returns.
2013-04-01 19:53:01 -07:00
David Schleef
79af542fc6 element-maker: call up in basetransform template
More templates should be doing this: function implementations
should call up to the default implementation in the base class.
2013-04-01 19:53:01 -07:00
Tim-Philipp Müller
bd175c4bae configure: also check for bluez for bluetooth/bluetooth.h
Fixes build on machines where bluez headers are not available.
2013-04-01 22:39:23 +01:00
Tim-Philipp Müller
acf06f602d bluez: enable bluez plugin
Seems to mostly work now.

https://bugzilla.gnome.org/show_bug.cgi?id=690582
2013-04-01 21:49:49 +01:00
Tim-Philipp Müller
a25b38f1a3 Bump soft liborc requirement to 0.4.17
To match -base and -good. Also fixes potential
crash when a fallback function has to be used.
2013-04-01 21:48:01 +01:00
Sebastian Dröge
1acde42b6e eglglessink: Use the EGLImage and GstVideoGLTextureUploadMeta caps features 2013-04-01 10:22:07 +02:00
Sebastian Dröge
f7a00d8ca4 egl: Add a #define for the EGLImage memory caps feature 2013-04-01 10:22:06 +02:00
Edward Hervey
e6041b9974 rsvg: Don't include rsvg-cairo.h directly
Including it directly is now deprecated
2013-04-01 09:13:16 +02:00
Edward Hervey
35cd75684c vdpau: Don't use deprecated GMutex methods 2013-04-01 09:10:53 +02:00
Luciana Fujii Pontello
9097da30e8 rsvg: Port to 1.0
Also port the decoder to the GstVideoDecoder
2013-03-31 19:23:30 +02:00
Edward Hervey
e3c71c65fe vdpau: Port to 1.0
New base class for vdpau decoders
* mpeg2 ported and activated
* h264 ported but deactivated
* Uses GstMpegVideo meta
2013-03-31 19:05:31 +02:00
Edward Hervey
2296296a51 mpegvideoparse: Only add meta if downstream needs it
It's not perfect, because in the cases where upstream doesn't
initiate an allocation query, we won't know.
2013-03-31 19:04:12 +02:00
Edward Hervey
14e7e78b7a mpegvideoparse: Store information in GstMpegVideo12Meta
FIXME : Only do so if we know downstream will need it
2013-03-31 18:55:33 +02:00
Edward Hervey
67ac84c7b5 codecparsers: Add Mpeg Video GstMeta
This can be used by parsers to provide pre-parsed information to
downstream elements that would require it (so they can avoid having
to parse the bitstream again).
2013-03-31 18:55:29 +02:00
Edward Hervey
3bb62cbf1d codecparser: Fix picture packet extension size check
It is at least 34 bit big (5 bytes with byte padding)
2013-03-31 12:18:32 +02:00
Edward Hervey
5e70c76b33 dvb: Move CAM handling to a separate GstTask
* No longer blocks in READY=>PAUSED (faster startup)
* No longer requires a pad probe
2013-03-31 12:11:48 +02:00
Sebastian Dröge
95f819109f eglglessink: Use gst_element_get_context() wherever possible 2013-03-31 11:47:01 +02:00
Edward Hervey
68c0d16b2c dvbsrc: We output time segments
Fixes #690949
2013-03-30 13:54:50 +01:00
Edward Hervey
ca3146a2cd tsparse: Ensure segment events are forwarded
We skip them for tsdemux though (recreated later)

Fixes #690949
2013-03-30 13:54:37 +01:00
Wim Taymans
d7bcf7206f mpegpsdemux: push stream start event 2013-03-30 11:15:48 +01:00
Josep Torra
b6719fe0e3 midiparser: ensure variable is initialized and fix debug message access 2013-03-30 10:57:08 +01:00
Josep Torra
030cf658e6 mpeg4videoparser: Fix a compiler warning about uninitialised variable use 2013-03-30 09:52:45 +01:00
Sebastian Dröge
ce9b6e5afb eglglessink: Implement GstContext handling 2013-03-29 16:38:34 +01:00
Sebastian Dröge
9e2af116f6 eglglessink: Use a separate texture for the custom textures 2013-03-29 16:11:56 +01:00
Sebastian Dröge
3233c6163a eglglessink: Add support for GstVideoGLTextureUploadMeta 2013-03-29 16:07:23 +01:00
Josep Torra
a9a385c512 egl: check on the proper display and indent some lines 2013-03-29 10:33:10 +01:00
Olivier Crête
6e9ff0a160 shm: Make sure the zero-sized array is always last in the struct
https://bugzilla.gnome.org/show_bug.cgi?id=696681
2013-03-28 14:37:03 -04:00
Olivier Crête
c42ac5b450 srtp: Update example pipelines 2013-03-28 14:35:48 -04:00
Arun Raghavan
6adddc7c51 bluez: Remove a2dpsrc bin
This element isn't really useful. The original plan was to use this to
eventually allow dynamically picking a format based on what we can
support while negotiating with the source device. We can just plug in a
decodebin downstream and it'll handle RTP depayloading and decoding of
whatever format we negotiated with the source device.
2013-03-28 17:36:07 +00:00
Arun Raghavan
a3713f7be1 bluez: Compile fixes for avdtpsrc/a2dpsrc code against 1.x 2013-03-28 16:50:26 +00:00
Arun Raghavan
adc9d39710 bluez: Add avdtpsrc/a2dpsrc to build 2013-03-28 16:50:26 +00:00
Arun Raghavan
a3c8c0aed2 bluez: Fix up some problems that came in with cherry-pick 2013-03-28 16:50:26 +00:00
Wim Taymans
dddd89f5a2 bluez: We work in TIME format with avdtpsrc 2013-03-28 16:50:26 +00:00
Wim Taymans
19392a989e bluez: Fix depreacation warnings on g_mutex_* 2013-03-28 16:50:26 +00:00
Wim Taymans
ec00b31b18 bluez: Fix a number of compiler warnings 2013-03-28 16:50:25 +00:00
Arun Raghavan
ac85a633b0 bluez: Fix some warnings in gstavdtputil.c 2013-03-28 16:50:25 +00:00
Arun Raghavan
b40c4f53a7 bluez: Fix typo in resetting the D-Bus connection
No real effect since FALSE and NULL are both 0
2013-03-28 16:50:25 +00:00
Arun Raghavan
6b1ccb8685 bluez: Handle EOF in avdtpsrc correctly 2013-03-28 16:50:25 +00:00
Arun Raghavan
49fa7ac6b2 bluez: Fix avdtpsrc getcaps() function
This is now a proper subset of the template caps.
2013-03-28 16:50:25 +00:00
Arun Raghavan
50b3040544 bluez: Add an a2dpsrc bin element
This wraps avdtpsrc + rtpsbcdepay into a single element. when more
formats are supported in avdtpsrc, payloader selection will need to be
done dynamically.

This could also be extended to accept a device, connect to it, and
provide avdtpsrc a transport (instead of passing through a transport as
it does now).
2013-03-28 16:50:25 +00:00
Arun Raghavan
d2e0b43fe3 bluez: Fix avdtpsrc classification 2013-03-28 16:50:25 +00:00
Arun Raghavan
b8e2550362 bluez: Bump up priority for sockets in AVDTP elements
This is based on the code in PulseAudio.
2013-03-28 16:50:25 +00:00
Arun Raghavan
f644b924d4 bluez: Add an avdtpsrc element
Source element that connects to a given transport and reads audio over
AVDTP. Does not provide a clock but uses the system clock to timestamp
incoming packets. Only SBC is currently supported.
2013-03-28 16:50:25 +00:00
Sebastian Dröge
c645e41711 egl: Add a boxed type for GstEGLDisplay 2013-03-28 16:53:35 +01:00