Commit graph

1559 commits

Author SHA1 Message Date
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
Luiz Augusto von Dentz
621d857d49 bluez: Remove useless instruction. 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
Luiz Augusto von Dentz
86ea471beb bluez: Add specific codec types.
Add specific codec types for a2dp sources and sinks so clients are able
to differ between them.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
c4f094da7d bluez: Remove unnecessary memset. 2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
08837565fa bluez: Add lock flag for capabilities.
lock flag permits the unix client to detect if there is someone holding
the lock so it can prevent useless attempt of setting a new configuration.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
08dd7e709d bluez: Introduce BT_OPEN command to audio ipc.
BT_OPEN make it possible to lock a given seid which is automacally
release if the client disconnects from the unix socket.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
35e57f99f0 bluez: Add source and destination fields to audio ipc messages. 2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
1f8330784a bluez: Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close. 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
Johan Hedberg
8b5d0aba41 bluez: More coding style fixes 2013-01-09 14:30:11 +00:00
Johan Hedberg
43879f9a5d bluez: Coding style fixes 2013-01-09 14:30:11 +00:00
Johan Hedberg
d8b5c0d9c9 bluez: Fix length header values in messages 2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
b03faa59d1 bluez: Fix gstreamer plugin to reflect the ipc changes. 2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
4fd14e4113 bluez: Fix channel mode string from dual to dual-channel. 2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
7bc4d8ee9e bluez: Fix channel mode string to joint-stereo. 2013-01-09 14:30:10 +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
Luiz Augusto von Dentz
a85d0fb7e8 bluez: Make use of parameters selected in alsa plugin and fix auto selection. 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
Sebastian Dröge
1e9aaee3ec mfc: Add support for RGB 2013-01-05 19:33:52 +01:00
Olivier Crête
4caad2d06c shm: Actually get the permissions on get_property 2013-01-04 15:39:05 -05:00
Sebastian Dröge
f5ef0dd7ee mfc: Set variables to NULL to prevent usage after free/unref 2013-01-03 12:09:15 +01:00
Sebastian Dröge
6e05f1ba12 mfc: Fix leak of input/output buffer storage in the MFC decoder library 2013-01-03 10:53:01 +01:00
Sebastian Dröge
24b5dd72bd mfc: Fix typo 2013-01-03 10:10:57 +01:00
Sebastian Dröge
204ec7efd5 mfc: Only add crop metadata if required 2013-01-02 17:23:51 +01:00
Sebastian Dröge
83ea8f1256 fimc: Do STREAMON/STREAMOFF only once and not once per buffer 2013-01-02 16:53:19 +01:00
Sebastian Dröge
718fe99018 mfc: Require one more output buffer than returned by the driver 2013-01-02 16:38:47 +01:00
Sebastian Dröge
8ed8347866 mfc: Prefer NV12 over I420/YV12 2013-01-02 16:09:15 +01:00
Sebastian Dröge
710b7c3f2e mfc: The first frame produces output in our case 2013-01-02 15:40:10 +01:00
Sebastian Dröge
0fbfe0225c mfc: Request input buffers explicitely 2013-01-02 14:32:32 +01:00
Sebastian Dröge
644ef86728 mfc: Don't STREAMOFF if no STREAMON happened yet 2013-01-02 14:27:53 +01:00
Sebastian Dröge
954ad79320 mfc: Check if the MFC hardware exists before registering the element 2013-01-02 14:23:22 +01:00
Sebastian Dröge
83a8138b4a mfc: Check device capabilities before doing anything else 2013-01-02 14:16:06 +01:00
Sebastian Dröge
4abcec4ce8 mfc: Include codec_data in the buffer with the next frame 2013-01-02 12:33:42 +01:00
Sebastian Dröge
b765e33b86 mfc: Set format field of the instance struct 2013-01-02 11:56:20 +01:00
Sebastian Dröge
43ea557b9c mfc: Implement support for crop metadata 2013-01-02 11:56:20 +01:00
Sebastian Dröge
0489f52776 mfc: Check if the hardware is available in GstVideoDecoder::open() 2013-01-02 10:27:28 +01:00
Sebastian Dröge
8835cb5814 mfc: Add support for h263 and MPEG1/2 2013-01-01 11:05:24 +01:00
Sebastian Dröge
c3c33d88d4 mfc: Don't reconfigure if we get compatible caps 2012-12-31 15:59:08 +01:00
Sebastian Dröge
bee7328210 mfc: Only create the MFC context in ::set_format() 2012-12-31 15:59:08 +01:00
Sebastian Dröge
9739f58a7f mfc: Recreate fimc context if settings change 2012-12-31 15:59:08 +01:00
Sebastian Dröge
3a4ade2966 mfc: Some refactoring 2012-12-31 15:59:08 +01:00
Sebastian Dröge
7a8845243c mfc: Do zerocopy if we get EGLImage buffers 2012-12-31 15:59:07 +01:00
Sebastian Dröge
37603c7dbd mfc: Some minor fixes 2012-12-31 15:59:07 +01:00
Sebastian Dröge
2cf73892e1 mfc: Fix double-unmap of the codec data 2012-12-31 15:59:07 +01:00
Sebastian Dröge
30fd0ded4f mfc: Pass codec_data to the codec if there's some 2012-12-31 15:59:07 +01:00
Sebastian Dröge
cfe1ff1c08 mfc: Refactor fimc code a bit 2012-12-31 15:59:07 +01:00
Sebastian Dröge
3b172723d6 mfc: Downgrade an error to debug output 2012-12-31 15:59:07 +01:00
Sebastian Dröge
410eb82aff mfc: Some fimc cleanup 2012-12-31 15:59:07 +01:00
Sebastian Dröge
64230003d9 mfc: Add profile/level and width/height constraints 2012-12-31 15:59:07 +01:00
Sebastian Dröge
817d30f130 mfc: Don't leak buffers when setting new dest settings for a direct buffer 2012-12-31 15:59:07 +01:00
Sebastian Dröge
21258a52cd mfc: Add initial MPEG4 support 2012-12-31 15:59:07 +01:00
Sebastian Dröge
fbf42806dc mfc: Add some more debug output 2012-12-31 15:59:06 +01:00
Sebastian Dröge
fe5b268a1c mfc: Implement tracking of frames using the v4l2_buffer timestamp 2012-12-31 15:59:06 +01:00
Sebastian Dröge
35400051fa mfc: Reset some more variables on ::reset() 2012-12-31 15:59:06 +01:00
Sebastian Dröge
8c433b8fb9 mfc: Also add support for YV12 2012-12-31 15:59:06 +01:00
Sebastian Dröge
2212880093 mfc: Add support for video meta 2012-12-31 15:59:06 +01:00
Sebastian Dröge
6111f89365 mfc: Implement negotiation to NV12 or I420 based on downstream caps 2012-12-31 15:59:06 +01:00
Sebastian Dröge
c77e820a52 mfc: Workaround for wrongly reported strides by FIMC 2012-12-31 15:59:06 +01:00
Sebastian Dröge
52f8649586 mfc: Add proper support for MFC decoder strides 2012-12-31 15:59:06 +01:00
Sebastian Dröge
94acf4189c mfc: Try with I420 for now, it's easier to debug 2012-12-31 15:59:06 +01:00
Sebastian Dröge
440dec8a68 mfc: Add some more debug output 2012-12-31 15:59:06 +01:00
Sebastian Dröge
048a09682f mfc: Don't require stride to be set on src parameters 2012-12-31 15:59:06 +01:00
Sebastian Dröge
dd56c6b5b6 mfc: The mfc decoder library is dual licensed too
Apache License 2.0 and LGPL2+
2012-12-31 15:59:05 +01:00
Sebastian Dröge
dedbb443ed mfc: Use CAMIF/FIMC for hardware color format conversion and de-tiling 2012-12-31 15:59:05 +01:00
Sebastian Dröge
1ca618fa6a mfc: Only unref the outbuf if it doesn't belong to the frame 2012-12-31 15:59:05 +01:00
Sebastian Dröge
902e72874a mfc: Port to GStreamer 1.0 2012-12-31 15:59:05 +01:00
Sebastian Dröge
01da756491 mfc: Add initial decoder element implementation
This does not copy the output to any output buffers yet.
Other than that should be basically functional already.
2012-12-31 15:59:05 +01:00
Sebastian Dröge
5d6c33d7e4 mfc: Add plugin and decoder skeleton 2012-12-31 15:59:05 +01:00
Sebastian Dröge
b0129f9994 mfc: Make mfc_decoder library compile and fix some compiler warnings 2012-12-31 15:59:05 +01:00
Sebastian Dröge
d4c78fc4ca mfc: Add mfc_decoder library from FXI 2012-12-31 15:59:05 +01:00
Sebastian Dröge
996e8912f2 d3dvideosink: Add compatibility #defines for older mingw headers
These were removed recently but these mingw headers are still
out there.
2012-12-27 14:09:51 +01:00
Youness Alaoui
57160c2be7 decklink: remove useless and uninitialized list causing a crash in the device probe 2012-12-26 13:11:50 -05:00
Sebastian Dröge
85690b802d d3dvideosink: Remove scary "while (object.refcount > 0) release (object);" code
If there is a memory leak, this isn't the way how it should be fixed.
2012-12-22 18:43:37 +01:00
Sebastian Dröge
038cf9eba0 d3dvideosink: Don't forget to return a value from ::propose_allocation() 2012-12-22 18:17:45 +01:00
Sebastian Dröge
53b2cdf335 d3dvideosink: Add support for the video meta 2012-12-22 18:17:04 +01:00
Sebastian Dröge
0642f3a143 d3dvideosink: Don't use "class" as variable name and don't use C99 comments 2012-12-22 18:13:48 +01:00
Sebastian Dröge
23265c8428 d3dvideosink: Only open system resources in in NULL->READY, not on object instantiation 2012-12-22 18:04:42 +01:00
Sebastian Dröge
827655ffb4 d3dvideosink: Properly copy frames to D3D with the right strides and everything
And only support color formats that are actually supported by the driver,
this allows proper zero-copy handling later and simplifies the code a lot.

Also simplify some other places, like the format mapping code.
2012-12-22 17:57:41 +01:00
Sebastian Dröge
c6763c2bbb d3dvideosink: Remove non-sense display PAR handling
This has to be implemented properly at some point
2012-12-22 16:26:52 +01:00
Sebastian Dröge
020da4c577 d3dvideosink: Fix caps leak 2012-12-22 16:20:13 +01:00
Sebastian Dröge
41e58ecf5f d3dvideosink: Fix duplicated format entry in the template caps 2012-12-22 12:09:30 +01:00
Sebastian Dröge
29b677fe9b d3dvideosink: Fix linking 2012-12-22 12:05:14 +01:00
Sebastian Dröge
de8f436b21 d3dvideosink: Fix some more compiler warnings 2012-12-22 11:58:21 +01:00
Sebastian Dröge
7e8c531621 d3dvideosink: Port remaining bits to new GLib threading API 2012-12-22 11:50:08 +01:00
Sebastian Dröge
4f28e50540 d3dvideosink: And remove the right declaration 2012-12-22 11:45:27 +01:00
Sebastian Dröge
52a62d73b1 d3dvideosink: Remove unused static declaration 2012-12-22 11:44:32 +01:00
Sebastian Dröge
345b5f0eb8 d3dvideosink: Remove unused variables 2012-12-22 11:43:21 +01:00
Sebastian Dröge
d2d19eb1e6 d3dvideosink: Update to new GLib threading API 2012-12-22 11:42:52 +01:00
Sebastian Dröge
9838e3748c d3dvideosink: Rename keep_aspect_ratio to force_aspect_ratio in the header too 2012-12-22 11:38:28 +01:00
Sebastian Dröge
5f3eefb611 d3dvideosink: Use G_PARAM_STATIC_STRINGS 2012-12-22 11:35:55 +01:00
Sebastian Dröge
872dc5feb6 d3dvideosink: Rename keep-aspect-ratio to force-aspect-ratio and default to TRUE
For consistency with other video sinks.
2012-12-22 11:34:43 +01:00
Sebastian Dröge
5ea516d735 d3dvideosink: Add files that had to be included in the last commit 2012-12-22 11:30:08 +01:00
Sebastian Dröge
479a54d18b d3dvideosink: Add $(GST_PLUGINS_BASE_CFLAGS) to CFLAGS 2012-12-22 11:28:19 +01:00
Roland Krikava
fe5f514049 d3dvideosink: Various improvements
* XOverlay set_render_rectangle support (Useful for rendering in QT QML)
* Video format negotiation (with preference ordering)
* Using Direct3D9 (No benefit to using newer D3D versions)
2012-12-22 11:24:28 +01:00
Sebastian Dröge
c636b45c9a d3dvideosink: Only include formats that are actually working 2012-12-21 16:11:49 +01:00
Sebastian Dröge
2b2112e6be d3dvideosink: Add the actually supported color formats to the template caps 2012-12-21 15:23:42 +01:00
Руслан Ижбулатов
1b11496194 directsound: fix compilation errors caused by circular includes
https://bugzilla.gnome.org/show_bug.cgi?id=690128
2012-12-12 22:45:53 +00:00
Michael Esemplare
09512c5db1 d3dvideosink: fix compiler and linker flags
https://bugzilla.gnome.org/show_bug.cgi?id=690031
2012-12-11 20:58:42 +00:00
Sebastian Dröge
eeab001bc2 winscreencap: Fix configure check and compilation 2012-12-11 14:22:25 +00:00
Sebastian Dröge
5641546bf4 wasapi: make the build happy without the static plugins patch 2012-11-30 11:45:25 +01:00
Sebastian Dröge
f7f34f9f3f wasapi: Integrate into the autotools build system
Patch based on a patch by Fabrizio Ciavatta <fabrizio.ciavatta@gmail.com>
2012-11-30 11:40:15 +01:00
Sebastian Dröge
3be147046d shm: Fix configure check and clean up Makefile 2012-11-28 13:10:47 +01:00
Emmanuel Durand
1c973536b9 shm: Fix compilation of shm on OSX
https://bugzilla.gnome.org/show_bug.cgi?id=689183
2012-11-28 13:04:30 +01:00
Sebastian Dröge
97a365c439 windows: Put the DirectX LDFLAGS in the correct place and reorder libraries 2012-11-21 10:23:45 +01:00
Andoni Morales Alastruey
689cef0fc7 d3dvideosink: fix redefinition of DECLARE_INTERFACE_IID
https://bugzilla.gnome.org/show_bug.cgi?id=688510
2012-11-20 11:10:25 +00:00
Sebastian Dröge
f17ebca62a amcvideodec: Fix refcount problem with frames being dropped because of decoder bugs 2012-11-12 14:58:00 +01:00
Sebastian Dröge
b2e5b9cb67 androidmedia: Update to new GLib thread API 2012-11-12 11:32:44 +01:00