Guillaume Desmottes
cbff147f71
kmssink: fix tmp_kmsmem leaks
...
configure_mode_setting() keeps a ref on tmp_kmsmem which is released in
gst_kms_sink_show_frame().
But if for some reason configure_mode_setting() is re-called before
showing a frame or if none is showed this memory was leaked.
2018-12-18 15:44:23 +01:00
Tim-Philipp Müller
6ca10c633d
Remove acmmp3dec and acmenc plugins
...
ACM is an ancient legacy API, and there's no point in
keeping it around for a licensed mp3 decoder now that
mp3 patents have expired and we have a decoder in -good.
We didn't ship this in cerbero anyway. If there's a good
case for the AAC encoder (which is LC only anyway) someone
should write a new plugin based on current APIs, that can
actually be built out of the box.
Fixes #850
2018-12-18 10:06:59 +00:00
Tim-Philipp Müller
da7cf85e3c
meson: fix opencv=disabled case if opencv is available on the system
...
ext/opencv/meson.build:103:2: ERROR: Unknown variable "gstopencv_dep".
2018-12-17 18:58:52 +00:00
Tim-Philipp Müller
a26cce1833
meson: wildmidi detection fixes
...
Need at least 0.4.2 apparently.
ext/wildmidi/meson.build:11:2: ERROR: String '' cannot be converted to int
2018-12-17 17:11:00 +00:00
Jonathan Karlsson
d49bc71f00
curlhttpsink: free content type before assigning it
...
Not doing this would result in a memory leak.
2018-12-17 15:56:08 +00:00
Jonathan Karlsson
e8ec1c0143
curlbasesink: cleanup transfer immediately when done
2018-12-17 14:24:07 +00:00
Jan Alexander Steffens (heftig)
f964fb38b6
fdkaac: Syntax tweaks to increase readability
...
Mostly move some assignments out of conditionals that gst-indent
completely destroys.
2018-12-17 12:39:13 +00:00
Jan Alexander Steffens (heftig)
c5a17000b6
fdkaacdec: Enable 8-channel playback
...
The decoder seems to default to 6 channels max, downmixing 7.1 to 5.1.
Disable the channel limit to expose all channels to GStreamer.
In addition, none of the standard configurations use ACT_SIDE channels.
The rear channels of the 7.1 configuration have to be taken from
ACT_BACK. See the table in aacenc_lib.h, reproduced here:
----------------------------------------------------------------------------------------
ChannelMode | ChCfg | Height | front_El | side_El | back_El | lfe_El
-----------------------+-------+--------+---------------+----------+----------+---------
MODE_1 | 1 | NORM | SCE | | |
MODE_2 | 2 | NORM | CPE | | |
MODE_1_2 | 3 | NORM | SCE, CPE | | |
MODE_1_2_1 | 4 | NORM | SCE, CPE | | SCE |
MODE_1_2_2 | 5 | NORM | SCE, CPE | | CPE |
MODE_1_2_2_1 | 6 | NORM | SCE, CPE | | CPE | LFE
MODE_1_2_2_2_1 | 7 | NORM | SCE, CPE, CPE | | CPE | LFE
MODE_6_1 | 11 | NORM | SCE, CPE | | CPE, SCE | LFE
MODE_7_1_BACK | 12 | NORM | SCE, CPE | | CPE, CPE | LFE
-----------------------+-------+--------+---------------+----------+----------+---------
MODE_7_1_TOP_FRONT | 14 | NORM | SCE, CPE | | CPE | LFE
| | TOP | CPE | | |
-----------------------+-------+--------+---------------+----------+----------+---------
MODE_7_1_REAR_SURROUND | 0 | NORM | SCE, CPE | | CPE, CPE | LFE
MODE_7_1_FRONT_CENTER | 0 | NORM | SCE, CPE, CPE | | CPE | LFE
----------------------------------------------------------------------------------------
- NORM: Normal Height Layer. - TOP: Top Height Layer. - BTM: Bottom Height Layer.
- SCE: Single Channel Element. - CPE: Channel Pair. - LFE: Low Frequency Element.
Restores 8 channels to
https://www2.iis.fraunhofer.de/AAC/7.1auditionOutLeader_v2_rtb.mp4
2018-12-17 12:39:13 +00:00
Jan Alexander Steffens (heftig)
4ec3f2f193
fdkaacenc: Add support for v2.0.0 and its configurations
...
These are MPEG-standard configurations so should be checked first,
before the PCE clones added by v0.1.4.
2018-12-17 12:39:13 +00:00
Jan Alexander Steffens (heftig)
bc3c5ea7b1
fdkaacenc: Add support for MPEG configuration 7
2018-12-17 12:39:13 +00:00
Jan Alexander Steffens (heftig)
3a9f5a76e8
fdkaacenc: Add a description of each configuration
2018-12-17 12:39:13 +00:00
Jan Alexander Steffens (heftig)
383fe6f81d
fdkaacenc: Prefer REAR for surround channels
...
We (currently?) prefer to use the REAR positions for what MPEG calls
"surround" channels.
2018-12-17 12:39:13 +00:00
Tim-Philipp Müller
d3f174f77f
Remove daala plugin
...
Not so useful now that all effort is focused on AV1 instead.
Was only ever enabled with --enable-experimental anyway.
Fixes #848
2018-12-17 12:03:09 +00:00
Sebastian Dröge
38be1fb2db
meson: Add libsinc to the CFLAGS
...
Otherwise gst-i18n-plugin.h can't be found.
2018-12-17 12:30:27 +02:00
Tim-Philipp Müller
2e6510b9e2
meson: build openni2 plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
094478d248
meson: build openmpt plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
79d8855d87
meson: build openexr plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
c23a1dc2b6
meson: build openal plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
dd529d0f5d
meson: build sndfile plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
9313470358
meson: install freeverb preset file
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
0be8a5f8f4
meson: build voamrwbenc plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
986f6cac45
meson: build teletext plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
cbf746782b
meson: build modplug plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
4130b08776
meson: build wildmidi plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
56c65afff4
meson: build dc1394 plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
d7b7f2a9a5
meson: build ofa plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
7c69abd918
meson: build gme plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
f102c61397
meson: build vdpau plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
97cc93d621
meson: build tinyalsa plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
807227cef2
meson: build vcdsrc plugin
2018-12-17 09:12:53 +00:00
Tim-Philipp Müller
ee7e3f7bc7
Remove spc plugin
...
Replaced by gme plugin. Fixes #467
2018-12-16 23:35:58 +00:00
Sebastian Dröge
aa72783b95
closedcaption: Use new API for converting GstVideoCaptionType from/to GstCaps
2018-12-15 21:31:28 +00:00
Sebastian Dröge
48f48cc4ba
closedcaption: Replace GST_VIDEO_CAPTION_TYPE_CEA608_IN_CEA708_RAW with CEA608_S334_1A
...
As a side-effect we can now actually store the line offset in the
line21dec element, and have to perform fewer transformations in the
decklink elements (which were also buggy as they assumed a single byte
triplet per meta).
2018-12-15 21:31:28 +00:00
Sebastian Dröge
f9e4ed99b0
line21dec: If CCs are not found at the previous line, reset and search from the beginning again
2018-12-15 21:31:28 +00:00
Sebastian Dröge
36ba1e80b6
line21dec: Don't read more lines than the height of the frame
2018-12-15 21:31:28 +00:00
Nicola Murino
c16bc1c5a1
removesilence: add libm to meson.build
2018-12-14 19:55:32 +01:00
Nicola Murino
824e079273
removesilence: reset filter on start and on segment events
2018-12-14 18:43:49 +01:00
Nicola Murino
f7880c0272
removesilence: improve documentation
2018-12-14 18:43:49 +01:00
Nicola Murino
8978f55886
removesilence: add threshold property
...
silence thresold was hardcoded to -60 dB, now it is configurable
using this new property
Closes #63
2018-12-14 18:43:49 +01:00
Nicola Murino
e549566969
removesilence: add properties to detect silence only after minimum silence time/buffers
...
Closes #63
2018-12-14 18:43:49 +01:00
Nicola Murino
ef3da2787a
removesilence: add silent property to control bus message notifications
...
Closes #63
2018-12-14 18:43:49 +01:00
Nicola Murino
fa7da2fb16
removesilence: post bus messages when silence is detected/finished
...
Closes #63
2018-12-14 18:43:49 +01:00
Nicola Murino
50a84f8d7b
removesilence: add squash property
...
allows to output buffers without timestamp gap when silence is removed
Closes #63
2018-12-14 18:43:49 +01:00
Justin Kim
18c8557836
sys: applemedia: meson: Add dependencies by using appleframeworks
...
gst-build#13
2018-12-14 12:22:51 +09:00
Wonchul Lee
2ae381e2a3
waylandsink: Avoid race condition on multi-threaded client
...
When waylandsink is used on some other thread than the main wayland
client thread, the waylandsink implementation is vulnerable to a
condition related to registry and surface events which handled in
seperated event queue.
The race that may happen is that after a proxy is created, but
before the queue is set, events meant to be emitted via the yet to
set queue may already have been queued on the wrong queue.
Wayland 1.11 introduced new API that allows creating a proxy
wrappper which can help to avoid this race condition.
2018-12-13 17:20:04 +00:00
Wonchul Lee
c082634d16
examples/wayland: Add wayland multi-thread client example
...
This is for testing race condition with multi-thread wayland client
environment. The race condition will be resolved with wayland proxy
wrapper API when handling event queue.
2018-12-13 17:20:04 +00:00
Seungha Yang
8766a45ee4
h26{4,5}parse: Don't confuse nal of codec_data with frame
...
vps/sps/pps in codec_data shouldn't be considered as inband data.
Otherwise, h26{4,5}parse never insert them to nal when transform
(packetized to byte-stream) use case
2018-12-13 10:32:30 +00:00
Matthew Waters
0842187e6e
nvdec: Rely on upstream's value for interlace-mode with hevc
...
The nvdec API doesn't seem to produce interlacing information with hevc
streams so rely on upstreams value for interlace-mode
2018-12-12 21:21:57 +00:00
Haihao Xiang
88586b4149
msdk: change the wait time for encoder and vpp
...
In MSDK samples, the wait time for encoder, decoder and vpp is
300000. Let's set the wait time to the same value in msdk plugin
2018-12-12 17:24:00 +00:00
Haihao Xiang
51dc388783
msdk: correct the error message
...
It is VPP session instead of Encoder session
2018-12-12 17:24:00 +00:00