Seungha Yang
d2e87e6a31
meson: Fix Windows CUDA dependency check
...
Python returns 'None' string for unknown environment
2018-11-26 11:31:06 +09:00
Seungha Yang
d3a6eb7977
nvh265enc: Fix email address typo
2018-11-25 23:31:37 +00:00
Seungha Yang
c75907d23c
nvenc: Fix undefined reference build error on MSVC and CUDA 9.1
2018-11-25 23:31:37 +00:00
Seungha Yang
3cd1d0c7bc
nvenc: Fix MSVC build error C2121
2018-11-25 23:31:37 +00:00
Seungha Yang
6bf5ba993d
nvenc: Add meson build with Windows support
...
Note that, since Nvidia does not provide nvEncodeAPI.lib file,
find_library() couldn't be used for build on Windows.
This patch changes to load nvEncodeAPI(64).dll or libnvidia-encode.so
in runtime
2018-11-25 23:31:37 +00:00
Seungha Yang
6051c47bfe
nvdec: Add meson build with Windows support
2018-11-25 23:31:37 +00:00
Seungha Yang
4e314d6f80
nvdec: Drop dynlink interface and use NVIDIA CODEC SDK instead
...
dynlink_* was introduced since CUDA Toolkit 9.x but it's deprecated from 10.0.
Instead of using #ifdef hack, shipping nvidia headers of NVIDA CODEC SDK
can make build/code simple
2018-11-25 23:31:37 +00:00
Seungha Yang
67a84254ae
nvdec/nvenc: Shipping NVIDA Codec SDK headers
...
Add cuvidec.h, nvcuvid.h and nvEncodeAPI.h of NVIDIA Codec SDK 8.2.16
2018-11-25 23:31:37 +00:00
Víctor Manuel Jáquez Leal
09dbe83e5d
msdk: don't declare headers in meson
...
This partially reverts commit 0bae648353
.
The compiler tells ninja the header dependency, then there is
no need to add them explicity.
2018-11-23 17:10:24 +01:00
Víctor Manuel Jáquez Leal
0bae648353
msdk: declare headers in meson
2018-11-23 13:50:20 +01:00
Wangfei
409d4ff30e
msdkdec: move output-order out of decode bass class.
...
Since output-order is a deprecated attribute, move it out of decode
bass class and configure it in each sub decoder class who need it.
https://bugzilla.gnome.org/show_bug.cgi?id=796853
2018-11-23 12:26:40 +00:00
Víctor Manuel Jáquez Leal
eaa1bd93e8
msdk: add support for open sourced MediaSDK
...
MediaSDK has been released as open source [1], but the directories
where it installs its files, are different from the binary only
distribution.
This patch adds to the libraries path the directory /lib. Also it
is defined in meson if the include directory has the mfx/ prefix,
something that is already handled in autotools.
1. https://github.com/Intel-Media-SDK/MediaSDK
2018-11-22 17:31:58 +01:00
Seungha Yang
b44d2702ca
meson: Fix invalid keyword warning
...
"required" keyword is not a valid argument for has_header()
WARNING: Passed invalid keyword argument "required".
WARNING: This will become a hard error in the future.
2018-11-13 09:02:21 +00:00
Sebastian Dröge
1d0d395b5c
decklinkvideosink: Cast result of bitwise-or of multiple enum values to the enum again
...
In C++ the bitwise-or results in an int, and ints are not implicitely
cast to enums.
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/25#note_78122
2018-11-13 10:02:57 +02:00
Nirbheek Chauhan
09f814a00a
d3dvideosink: Remove unused variable
...
Fixes a compiler warning.
2018-11-13 09:55:56 +05:30
Sebastian Dröge
96490b83a4
decklinkvideosink: Add support for outputting closed captions
2018-11-12 14:10:03 +00:00
Jochen Henneberg
15fc39c296
avdtputil: Remove dead code
...
These function are not used at all, using them together with the
transport-volume property from avdtpsrc may end up in a binding loop so
we better remove the functions.
2018-11-12 08:00:26 +00:00
Jochen Henneberg
bac0e14eae
avdtpsrc: Fix transport-volume write
...
If properties are proxied through GBinding this can work only if the
proxied property keeps it's own value. The previous implementation will
read the original value if the proxied property signals a change and
thus nothing will happen.
2018-11-12 08:00:26 +00:00
Joshua M. Doe
5b179991bc
dshowsrcwrapper: add implementation of GstDeviceMonitor
...
Right now this only works for video. An attempt was made at adding
monitoring following the example winks, but it seems the only devices that
can be easily detected are KS sources, which winks already handles.
2018-11-09 09:52:40 +00:00
Joshua M. Doe
912ff02a21
dshowsrcwrapper: refactor device selection, filter creation, and caps retrieval
...
This allows a future GstDeviceProvider to more easily query devices and caps.
2018-11-09 09:52:40 +00:00
Joshua M. Doe
e70af38d4e
dshowsrcwrapper: add get_property implementation to sources
2018-11-09 09:52:40 +00:00
Joshua M. Doe
8f7641bf3c
dshowvideosrc: handle empty strings for device and device-name
...
The device and device-name properties should treat NULL and empty strings the same
2018-11-09 09:52:40 +00:00
Joshua M. Doe
73a84148d3
dshowvideosrc: delay selecting device until source is started
...
The previous behaviour had issues when setting one of the device properties
after _get_caps had been called. The device shouldn't be locked in until after
_start has been called.
2018-11-09 09:52:40 +00:00
Joshua M. Doe
4b4535b35c
dshowvideosrc: fix template caps to reflect actual supported caps
2018-11-09 09:52:40 +00:00
Joshua M. Doe
659e5d08ac
dshowsrcwrapper: add some helpful debug statements
2018-11-09 09:52:40 +00:00
Joshua M. Doe
1449411e39
ksvideosrc: initialize pointer to satisfy MSVC
2018-11-08 15:42:51 +00:00
Joshua M. Doe
ca90ecef9c
ksvideosrc: support 'Y16 ' FOURCC as GRAY16_LE
...
The FLIR Boson USB provides 16-bit grayscale video using this FOURCC.
2018-11-08 15:42:51 +00:00
Joshua M. Doe
6c53d696dd
ksvideosrc: gracefully handle device prop when empty string
2018-11-08 15:42:51 +00:00
Sebastian Dröge
2d0243fc68
decklinkvideosrc: Search from line 1 again if we didn't find closed captions at the same line as before
2018-11-07 16:07:25 +00:00
Jordan Petridis
1e887f9b12
meson: avoid unkown variables in the msdk tests
2018-11-06 23:48:58 +02:00
admin
8af8fd62dd
decklinkvideosink: fix segfault when audiosink is closed before videosink
2018-11-06 17:19:16 +00:00
Florent Thiéry
23b0172ee9
msdk: fix intel sdk libdir path
...
the 2018.3.1 intel sdk release places libraries into /lib64 instead of
/lib/lin_x64 or /lib/x64, this commit adds /lib64 to the libdir
locations list
Fixes #815
2018-11-06 13:08:45 +00:00
Seungha Yang
f4dc780168
d3dvideosink: Fix calculating buffer size of packed format
...
The Pitch (i.e., stride) of D3DLOCKED_RECT structure is already
respecting required stride value.
2018-11-06 11:51:39 +00:00
Seungha Yang
6c6d351665
d3dvideosink: Set actual buffer size to buffer pool
...
If configured size of buffer pool and actual buffer size are mismatched,
pool will do unwanted buffer resize.
Fixes #801
2018-11-06 11:51:39 +00:00
Seungha Yang
dee5201392
d3dvideosink: Use lock/cond to wait internal window construction
...
We can save one (or possibly more) sleep time by using lock/cond
2018-11-06 11:51:39 +00:00
Seungha Yang
b3279c3fce
d3dvideosink: Don't leak GThread object
...
Need to call g_thread_join() to avoid leak
2018-11-06 11:51:39 +00:00
Seungha Yang
c9b204ea87
d3dvideosink: Print lock/unlock log with trace debug level
2018-11-06 11:51:39 +00:00
Seungha Yang
2a3207bfc1
d3dvideosink: Remove white space
2018-11-06 11:51:39 +00:00
Matthew Waters
dff857463a
applemedia: install plugin pkg-config file
2018-11-06 14:35:46 +11:00
Joshua M. Doe
1a360a1c65
decklinkvideosrc: respect pixel format property even if mode is set to auto
...
Before this patch, if mode=auto and video-format!=auto, video-format would
always be ignored, and get set to 8bit-yuv, or if detected to be RGB444, then
it would be set to 8bit-argb. This change respects video-format if it is set
to 10bit-yuv (v210) or 8bit-bgra, even when mode=auto.
Closes #772
2018-11-05 08:52:11 -05:00
Sebastian Dröge
3d8a0b8996
decklinkvideosrc: Add support for extracing CEA608 according to S334-1 Annex A
...
https://bugzilla.gnome.org/show_bug.cgi?id=797363
2018-11-01 19:21:47 +02:00
Nirbheek Chauhan
55134df54c
meson: Add a feature option for the MSDK plugin
2018-10-28 14:54:52 +00:00
Joshua M. Doe
6c7ba14247
dshowsrcwrapper: add device-index property to sources
...
This allows users to more easily select different devices without having
to first get the device or device-name.
https://bugzilla.gnome.org/show_bug.cgi?id=797338
2018-10-27 21:58:30 +01:00
Joshua M. Doe
5caefc1e0c
dshowsrcwrapper: update CMake build instructions
...
GStreamer 1.8 is minimum version, and remove paragraph about 32 vs 64-bit build
https://bugzilla.gnome.org/show_bug.cgi?id=797338
2018-10-27 21:58:30 +01:00
Joshua M. Doe
a6d193bb1e
dshowsrcwrapper: support building 32- and 64-bit with CMake
...
https://bugzilla.gnome.org/show_bug.cgi?id=797338
2018-10-27 21:58:30 +01:00
Joshua M. Doe
1569264d1e
dshowsrcwrapper: add debug category for general dshowsrcwrapper
...
https://bugzilla.gnome.org/show_bug.cgi?id=797338
2018-10-27 21:58:30 +01:00
Josep Torra
498dc9a84d
shmsrc: delay fd removal until there's no uses
...
This fixes the remaining race condition with the fd by delaying
the removal until last pipe ref.
Unexpected critical/warning: gst_poll_fd_has_error: assertion 'fd->fd
>= 0' failed
Stack trace:
gst_debug_get_stack_trace (gstinfo.c:2788)
gst_check_log_critical_func (gstcheck.c:281)
g_logv (/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2:0x7fdd4efa0a40)
g_log (/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2:0x7fdd4efa0c6b)
gst_poll_fd_has_error (gstpoll.c:1217)
gst_shm_src_create (gstshmsrc.c:364)
gst_push_src_create (gstpushsrc.c:131)
gst_base_src_get_range (gstbasesrc.c:2521)
gst_base_src_loop (gstbasesrc.c:2845)
gst_task_func (gsttask.c:328)
default_func (gsttaskpool.c:69)
https://bugzilla.gnome.org/show_bug.cgi?id=797203
2018-10-10 13:42:05 -04:00
Josep Torra
eb1665ff22
shmsrc: fixes a crash when is-live is true due a race condition
...
There's a race condition when is-live is set to true and the shmsrc
element releases the pipe in the transition from PLAYING to PAUSED.
To avoid it this change ensures that _create method takes the pipe
and increases the use_count in one operation protected by object lock.
Also perform apropriate protections when releasing the pipe.
https://bugzilla.gnome.org/show_bug.cgi?id=797203
2018-10-10 13:42:05 -04:00
Olivier Crête
a3f395d921
shmsrc: Remove commented out code
2018-10-10 13:07:50 -04:00
Aleix Conchillo Flaqué
5078116889
shmsink: do not keep locking if element is unlocked
...
https://bugzilla.gnome.org/show_bug.cgi?id=797260
2018-10-10 12:02:44 -04:00