Commit graph

1593 commits

Author SHA1 Message Date
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
35cd75684c vdpau: Don't use deprecated GMutex methods 2013-04-01 09:10:53 +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
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
Edward Hervey
68c0d16b2c dvbsrc: We output time segments
Fixes #690949
2013-03-30 13:54:50 +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
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
42965f5aa0 d3dvideosink: Make sure that all buffers in our pool contain our own memory 2013-03-27 09:09:59 +01:00
Sebastian Dröge
e7a69bb8de wasapi: Initial port to 1.0
This should really use GstAudioSink and GstAudioSrc.
2013-03-26 15:43:51 +01:00
Sebastian Dröge
d5d37fafa7 wasapi: Include config.h before anything else 2013-03-26 15:01:08 +01:00
Sebastian Dröge
ff30417bd9 d3dvideosink: Add support for crop meta 2013-03-26 14:27:43 +01:00
Sebastian Dröge
81304a7956 d3dvideosink: Implement a buffer pool that shares D3D surfaces with upstream 2013-03-26 13:39:46 +01:00
Sebastian Dröge
abede65bbc d3dvideosink: Allocate a new offscreen surface for every buffer
This is a preparation for implementing a buffer pool.
2013-03-26 13:39:46 +01:00
Thiago Santos
23b2b46993 applemedia: fix build for objc
The obj-c api version option is required to get applemedia to
build for ios, otherwise it won't find some symbols during linking
2013-03-25 12:56:55 -03:00
Sebastian Dröge
2b7446e2d2 opensles: Include string.h for memcpy() 2013-03-21 15:43:50 +01:00
Tim-Philipp Müller
d84ef611f0 decklinksink: fix some compiler warnings 2013-03-20 10:49:04 +00:00
Mark Nauwelaerts
52908193b0 decklinksink: obtain class from object 2013-03-18 21:19:15 +01:00
Tim-Philipp Müller
a2f446fabc decklinksrc: set discont flag on first audio buffer too 2013-03-16 23:32:12 +00:00
Tim-Philipp Müller
929b0bc3e2 decklinksrc: aggregate audio and video flow returns
And pause task in some more cases where we should
pause the task.
2013-03-16 23:30:24 +00:00
Tim-Philipp Müller
5dfc7c4bce decklinksrc: add send_event handler so application can inject EOS event
This is needed to shut down a recording pipeline cleanly.

https://bugzilla.gnome.org/show_bug.cgi?id=680700
2013-03-16 23:17:24 +00:00
Tim-Philipp Müller
5eb8188e55 decklinksrc: pause streaming thread and send EOS event on error
Instead of just posting an EOS message and continuing,
actually pause the thread.
2013-03-16 21:34:57 +00:00
Josep Torra
1870a4d58b applemedia: suppress warnings for deprecated glib API 2013-03-10 22:06:31 +01:00
Josep Torra
87e053386a shmsink: Use correct print format specifiers to fix compiler warnings 2013-03-10 21:21:17 +01:00
Tim-Philipp Müller
ae550222a8 fbdev: port fbdevsink to 1.0 2013-03-09 00:20:00 +00:00
Sebastian Dröge
a63ed8cfc7 opensles: Only include <gst/audio/audio.h> 2013-03-03 12:30:44 +01:00
Olivier Crête
48b9fa2c24 shmsink: Add custom allocator to allow for zero-copy shared memory use 2013-02-28 18:46:02 -05:00
Olivier Crête
df321edeaf shm: Don't leak socket path 2013-02-28 18:13:44 -05:00
Tim-Philipp Müller
74ca4aeefd decklinksink: port to 1.0
Compiles, not tested yet.
2013-02-28 18:54:15 +00:00
Tim-Philipp Müller
c16224a220 decklinksrc: add layout=interleaved to audio caps 2013-02-28 18:53:54 +00:00
Blake Tregre
c175c6b3d0 shm: use O_CLOEXEC where appropriate in shmpipe
https://bugzilla.gnome.org/show_bug.cgi?id=684339
2013-02-28 12:35:45 -05:00
Olivier Crête
684811cddf shmsink: Error out if memory area is smaller than buffer 2013-02-27 21:05:38 -05:00
Olivier Crête
7a77b41d6a shm: Make sure to not allocate blocks larger than the shared mem area
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681359
2013-02-27 20:57:56 -05:00
Tim-Philipp Müller
126df5a0c2 decklinksrc: port to 1.0
Compiles, not tested yet. A great number of superfluous custom
pad functions may have been harmed in the making of this port.
2013-02-27 23:34:34 +00:00
Sebastian Dröge
4b5f764daf mfcdec: Use new GST_MEMORY_FLAG_CONTIGUOUS instead of requiring a specific memory type 2013-02-23 09:13:33 +01:00
Ole André Vadla Ravnås
519cefdeee applemedia: update contact information 2013-02-16 02:51:52 +01:00
Ole André Vadla Ravnås
ad2d6be695 applemedia: fix gst_buffer_get_core_media_meta macro 2013-02-16 02:51:52 +01:00
Ole André Vadla Ravnås
73bcf51f9f applemedia: port vtenc to 1.0 2013-02-16 02:51:51 +01:00
Ole André Vadla Ravnås
bace18bacc applemedia: replace usage of deprecated gst_pad_set_caps() in vtdec 2013-02-16 02:51:51 +01:00
Ole André Vadla Ravnås
af6df7292c applemedia: port vtapi to run on OS X 10.8 2013-02-16 02:51:51 +01:00
David Schleef
20627cc5d5 mfc: quiet debugging when mfc device doesn't exist
Avoid registering the element if the mfc device doesn't work,
but allow plugin loading to succeed.
2013-02-11 17:41:17 -08:00
Sjoerd Simons
06ae51a3fe uvch264: Remove custom renegotiate event 2013-02-11 22:05:00 +01:00
Sjoerd Simons
8ea2085484 uvch264: Add image/jpg to vfsrc and vidsrc caps 2013-02-11 22:05:00 +01:00
Sjoerd Simons
adb6aa6b72 uvch264: Fix NV21 vs NV12 typo 2013-02-11 22:05:00 +01:00
Sjoerd Simons
bad01ceead uvch264: Pass through the filter on the caps query 2013-02-11 22:04:59 +01:00
Sjoerd Simons
6ce751442b uvch264: Remove the _ from the element names
Rename uvch264_src to uvch264src and uvch264_mjpgdemux to
uvch264mjpgdemux
2013-02-11 22:04:59 +01:00
Sjoerd Simons
14637e2a27 uvch264src: Port to gstreamer 1.0 2013-02-11 22:04:59 +01:00
Tim-Philipp Müller
68a34d2a60 shm: don't use deprecated threading API 2013-02-11 12:01:19 +00:00
Tim-Philipp Müller
8f93c2448e mfc: fix compilation with newer GLib versions
that don't include pthread.h any more from public headers.
We could just fix this by including pthread.h ourselves,
but we may just as well use atomic ops for this and
simplify the code a little.

https://bugzilla.gnome.org/show_bug.cgi?id=693322
2013-02-09 18:48:04 +00:00
Wim Taymans
9444776aff dvbsrc: handle EINTR from poll
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693212
2013-02-05 17:39:15 +01:00
Tim-Philipp Müller
f198d04bf8 bluez: clean up GValue handling a little
Allocate GValues on the stack, and unset/free them properly, fixing
a few leaks in the process. Also use gst_structure_take_value()
where appropriate to avoid unnecessary list copies.
2013-01-20 17:49:32 +00:00
Tim-Philipp Müller
ee6d8a7e62 bluez: update SBC caps for renamed fields
mode -> channel-mode
allocation -> allocation-method
2013-01-20 17:49:26 +00:00
Olivier Crête
feb113e87a shm: Initialize shm_area_buf to invalid value 2013-01-17 19:29:31 -05:00
Roland Elek
2cacfa2932 shm: apply shm area permissions to shmpipe control socket
Apply shared memory area permissions to the control socket (more
precisely, the path it is bound to) as well.

https://bugzilla.gnome.org/show_bug.cgi?id=682775
2013-01-17 19:16:42 -05:00
Youness Alaoui
49fefbde65 uvch264: Define LIBUSB_CLASS_VIDEO if using an old version of libusb 2013-01-16 15:10:40 -05:00
Olivier Crête
e82e434730 uvch264: Prevent temporary elements from going to playing 2013-01-16 14:51:11 -05:00
Youness Alaoui
c9fbf274f4 uvch264: do not double-unref if transform_caps fails 2013-01-16 14:51:07 -05:00
Youness Alaoui
410d0c0194 uvch264: Add a fakesink to the transform_caps
Some version of basetransform will return the template caps if the src
pad is not linked, so the capsfilter will return ANY. Linking it to
fakesink allows us to return the right caps in the capsfilter and have
them transformed by the colorspace converter.
2013-01-16 14:51:01 -05:00
Tim-Philipp Müller
e89c130f1e bluez: use GLib defines to check for byte order 2013-01-10 00:31:25 +00:00
Tim-Philipp Müller
70ba34c485 bluez: add new plugin to build system, but disable for now
Disable until it has been tested and works.

https://bugzilla.gnome.org/show_bug.cgi?id=690582
2013-01-09 18:10:30 +00:00
Tim-Philipp Müller
c994ae021d bluez: make bluez elements compile with 1.0
Builds, but very likely doesn't work yet at all. Some
things are still commented out.

https://bugzilla.gnome.org/show_bug.cgi?id=690582
2013-01-09 18:02:11 +00:00
Chan-yeol Park
49a69e394a bluez: avinfo: Replace definitions with a2dp-codecs.h's 2013-01-09 14:30:14 +00:00
Chan-yeol Park
e5a5d179da bluez: audio: Add check for vendor specific A2DP codec
This patch adds checks(vendor ID, vendor specific codec ID) to make sure of
vendor specific A2DP codec selection.
2013-01-09 14:30:14 +00:00
Syam Sidhardhan
711e5b4909 bluez: gstavdtpsink: Free the D-Bus error on reply failure
If D-Bus error is set we should free it.
2013-01-09 14:30:14 +00:00
Anderson Lizardo
f1c526da47 bluez: Fix trivial coding style issues on pointer declarations and casting
Avoid using C++ style pointer declarations like "char* ptr", as most
BlueZ code uses "char *ptr".
2013-01-09 14:30:14 +00:00
Luiz Augusto von Dentz
3a02461349 bluez: audio: Remove internal audio IPC
With unix socket and ALSA removed there is no longer any use for the
internal IPC.
2013-01-09 14:30:13 +00:00
Anderson Lizardo
f40d5135f0 bluez: Remove compatibility check for DBUS_TYPE_UNIX_FD
Since commit c89b589a586e97ad875fbdd1d41f03979157ebb0, D-Bus >= 1.4.0 is
required. This version already contains Unix FD passing support,
therefore code that checks for DBUS_TYPE_UNIX_FD definition is
unnecessary.
2013-01-09 14:30:13 +00:00
Anderson Lizardo
54b8979d67 bluez: avdtp: Fix incorrect gchar buffer allocation
The code was allocating an array of gchar pointers, where an array of
gchar is expected.
2013-01-09 14:30:13 +00:00
Chan-yeol Park
6c31678d8b bluez: audio: Add SBC NULL check for GST AVDTP signaling
Due to RF condition or headset malfunctioning, gst audio plug-in could
not get SBC (mandatory codec) information.
2013-01-09 14:30:13 +00:00
Syam Sidhardhan
a91cc4257d bluez: gstavdtpsink: Fix D-Bus memory leak in audio 2013-01-09 14:30:13 +00:00
Anderson Lizardo
53031e0a9e bluez: AVDTP: Fix closing invalid FD on error
In gst_avdtp_sink_start(), if bt_audio_service_open() failed, there was
an attempt to close an invalid file descriptor (through
bt_audio_service_close()).
2013-01-09 14:30:13 +00:00
Anderson Lizardo
83b0583a7a bluez: Fix return value check for bt_audio_service_open()
Only negative values (namely -1) are errors for this function.
2013-01-09 14:30:13 +00:00
Anderson Lizardo
86c2797eef bluez: AVDTP: Fix errno handling convention
Variables which are assigned to the errno variable (usually called
"err") should be negative, and "-err" should be used where a positive
value is needed.
2013-01-09 14:30:13 +00:00
Marcel Holtmann
64c0532017 bluez: audio: Update license for shared header files
The header files with constants and structures for audio specific
interaction with Pulseaudio are suppose to be under LGPL license.

For some odd reason a2dp-codecs.h ended up being under GPL license
which is against the intention of this being shared and re-used by
non-GPL programs. Fix this now to avoid any future confusion.
2013-01-09 14:30:13 +00:00
Lucas De Marchi
445f76513a bluez: 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-01-09 14:30:12 +00:00
Szymon Janc
3a81025f2e bluez: Fix garbage return value in gst_avdtp_sink_audioservice_recv 2013-01-09 14:30:12 +00:00
Marcel Holtmann
d7ca6b81bb bluez: audio: Remove workaround for compiler warnings 2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
9c9d76268a bluez: Update a2dpsink to use new Acquire API 2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
1396082264 bluez: Fix use of deprecated glib on audio plugin 2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
c3afd98226 bluez: Add support for media transport in gstreamer plugin 2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
651e1be7ef bluez: Fix crash on gstreamer plugin if device doesn't support sbc 2013-01-09 14:30:12 +00:00
Marcel Holtmann
31fe375174 bluez: Add pragma based workaround for GStreamer warnings 2013-01-09 14:30:12 +00:00
Marcel Holtmann
afa8560345 bluez: Revert "Fix build issues with latest GStreamer updates" 2013-01-09 14:30:12 +00:00
Marcel Holtmann
e03a435ad9 bluez: Fix build issues with latest GStreamer updates 2013-01-09 14:30:12 +00:00
Marcel Holtmann
d8b4759116 bluez: Update copyright information 2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
81eb2b020f bluez: Fix codec selection on gstream plugin. 2013-01-09 14:30:12 +00:00
Johan Hedberg
b167c2bbd3 bluez: Fix unnecessary NULL checks 2013-01-09 14:30:12 +00:00