Commit graph

50 commits

Author SHA1 Message Date
Sanchayan Maity
406cd3bdef gsta2dpsink: Fix GstPad leak
The sinkpad returned by a call to gst_element_get_static_pad needs to be
unrefed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1621>
2020-11-11 22:19:33 +05:30
Arun Raghavan
8aa6db2c8d bluez: a2dpsink: Add support for LDAC to a2dpsink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1621>
2020-11-11 22:19:33 +05:30
Arun Raghavan
a07bc92319 a2dpsink: Drop some dead-code
Left over from the last cleanup.

CID: 1373418
2016-09-29 21:46:56 +05:30
Arun Raghavan
7e22db6542 a2dpsink: Don't try to set device caps on avdtpsink
We can't actually configure the transport, so we should only be working
with whatever we get.
2016-09-24 23:24:28 +05:30
Arun Raghavan
5a70912a50 bluez: Clean up and make a2dpsink functional again
Was crashing, and had a lot of cruft (like a capsfilter and a fakesink)
that was no longer required.
2016-09-24 23:24:28 +05:30
Guillaume Desmottes
007c7f9b78 a2dpsink: unref avdtpsink if state transition failed
If for some reason the avdtpsink element can't go READY then the
gsta2dpsink can't either and so should release the ressources it
allocates when trying to do so.

Fix a leak with the generic/states test.

https://bugzilla.gnome.org/show_bug.cgi?id=767161
2016-06-03 00:51:32 +01:00
Vineeth TM
8cdfb13658 bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
2016-03-24 14:56:51 +02:00
Reynaldo H. Verdejo Pinochet
86ec812429 Remove unnecessary NULL checks before g_free()
g_free() is NULL-safe
2015-11-18 16:05:42 -08:00
Wim Taymans
19392a989e bluez: Fix depreacation warnings on g_mutex_* 2013-03-28 16:50:26 +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
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
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
Marcel Holtmann
d7ca6b81bb bluez: audio: Remove workaround for compiler warnings 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
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
Johan Hedberg
b167c2bbd3 bluez: Fix unnecessary NULL checks 2013-01-09 14:30:12 +00:00
Filippo Giunchedi
c1eb112a6d bluez: Register the a2dp gst sink as marginal
Avoid taking over as default gst sink by registering as GST_RANK_MARGINAL
2013-01-09 14:30:11 +00:00
Marcel Holtmann
93c66d5008 bluez: Update copyright information 2013-01-09 14:30:11 +00:00
Marcel Holtmann
441a82cb6b bluez: First attempt in fixing compiler warnings (still needs cleanup) 2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
2431bdeb7c bluez: Fix runtime warnings of gstreamer plugin. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
d27932cac4 bluez: Update gstreamer plugin to use new sbc API. 2013-01-09 14:30:10 +00:00
Marcel Holtmann
89f66da8ae bluez: Update copyright information 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
42f9db0214 bluez: Add bitpool property and others fixes for gstreamer plugin. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
ff3034af81 bluez: Enable gstreamer plugin to use autoconnect flag. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
1354fcea15 bluez: Fixes gstreamer caps and code cleanup. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
aba7785ba1 bluez: Fix use of gstreamer plugin with rhythmbox and banshee and rtp timestamps. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
309c6ecc47 bluez: Rename a2dpsendersink to avdtpsink. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
26017b78da bluez: Bug fixes for gstreamer plugin. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
1ca7a347cf bluez: Add mp3 support for gstreamer plugin. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
b0e7feba1e bluez: Make a2dpsink to act like a bin and split the payloader. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
62b90c78e5 bluez: Fix error messages. (thanks to fchevalier for the patch) 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
06b6caf5cd bluez: Handle new ipc messages properly and adapt the plugins. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
efbe0f68a2 bluez: Code cleanup. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
3c8b91e0cb bluez: Integrate new ipc API implementation. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
22d80ddff0 bluez: Fix sbc negotiation and improves buffer handling by using GstAdapter. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
ff77205750 bluez: Add bitpool capability. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
4f12fb1827 bluez: Remove dependency of sbc library from a2dpsink element. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
1eb40b8550 bluez: Fix buffer usage. 2013-01-09 14:30:09 +00:00
Marcel Holtmann
050a168c4e bluez: Some more coding style fixes 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
518f463efe bluez: Fix coding style. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
cb09a130ae bluez: Fix a2dpsink coding style problems and improve compatibility with some players. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
53dfa00805 bluez: Add rtp header. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
2522d1ce0d bluez: Fix coding style issues. 2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
795c605f7c bluez: Fixes a2dpsink element. 2013-01-09 14:30:09 +00:00
Marcel Holtmann
cb7d3b6d4e bluez: Add possible capabilities and connect to audio server 2013-01-09 14:30:09 +00:00
Marcel Holtmann
8fdac7fec0 bluez: Add SBC encoder and decoder skeletons for GStreamer 2013-01-09 14:30:09 +00:00
Marcel Holtmann
0e117ffef3 bluez: Add skeleton for an A2DP sink element 2013-01-09 14:30:09 +00:00