Edward Hervey
90106b6bf2
oggdemux: Don't forget to reacquire lock when needed
...
Fixup to ef93130cf0
I overlooked the issue. There is a case when the lock is released
and we need to reacquire it
2017-10-26 10:07:15 +02:00
Mathieu Duponchelle
d3a10942e0
libgstvideo.def: add new definitions
2017-10-25 17:45:44 +02:00
Guillaume Desmottes
7950a4614c
videoencoder: add qos property
...
This new property control if the encoder base class should gather QoS
stats and if subclasses should use them by dropping late frames.
https://bugzilla.gnome.org/show_bug.cgi?id=789467
2017-10-25 14:22:15 +02:00
Ashish Kumar
346c24dc4b
gst-plugins-base: gstaudiochannels: Handled buffer mapping failure
...
https://bugzilla.gnome.org/show_bug.cgi?id=789458
2017-10-25 13:04:28 +02:00
Edward Hervey
6fd8d78d8b
oggdemux: Don't drop sticky events
...
Previous commit was wrong. We should still send all events to the
pad (so that sticky events get attached to it and sent when pad
gets added).
2017-10-24 11:05:20 +02:00
Edward Hervey
e8a60b3de9
oggdemux: Improve handling of EOS without source pads
...
We might have a chain to use, but it might not have any active pads
Properly detect that and send an error message on EOS
2017-10-24 10:56:00 +02:00
Matthew Waters
a240880664
Revert "videoencoder: flush encoder in transition PAUSED->READY"
...
This reverts commit 877664a414
.
2017-10-22 01:00:10 +11:00
Matthew Waters
a81b5a95ba
Revert "videodecoder: flush decoder in transition PAUSED->READY"
...
This reverts commit 6e9edc3031
.
2017-10-22 01:00:08 +11:00
Matthew Waters
06aba17d19
Revert "audioencoder: flush encoder in transition PAUSED->READY"
...
This reverts commit 2dcdd13512
.
2017-10-22 01:00:06 +11:00
Matthew Waters
b8369ba20d
Revert "audiodecoder: flush decoder in transition PAUSED->READY"
...
This reverts commit e7cf4c058d
.
2017-10-22 01:00:03 +11:00
Edward Hervey
9d3525da4f
win32: update exports file
2017-10-21 10:37:48 +02:00
Edward Hervey
f902286a26
oggdemux: Error out on EOS if we have no chains to use
...
There are not active and pending chains, if we get EOS we need to
inform the user via an error message
2017-10-20 18:41:52 +02:00
Edward Hervey
ef93130cf0
oggdemux: Don't double lock
...
The lock was already taken just before this block and is released after
2017-10-20 18:41:46 +02:00
Nicola Murino
877664a414
videoencoder: flush encoder in transition PAUSED->READY
...
https://bugzilla.gnome.org/show_bug.cgi?id=787311
2017-10-20 01:55:19 +11:00
Nicola Murino
6627dd3ae3
videoencoder: remove the lock from gst_video_encoder_flush
...
The lock is already taken before calling the flush method and can lead to
deadlock for some encoders that need to take the same lock from another
thread while flushing
https://bugzilla.gnome.org/show_bug.cgi?id=787311
2017-10-20 01:55:10 +11:00
Nicola Murino
6e9edc3031
videodecoder: flush decoder in transition PAUSED->READY
...
https://bugzilla.gnome.org/show_bug.cgi?id=787311
2017-10-20 01:55:07 +11:00
Nicola Murino
2dcdd13512
audioencoder: flush encoder in transition PAUSED->READY
...
https://bugzilla.gnome.org/show_bug.cgi?id=787311
2017-10-20 01:55:04 +11:00
Nicola Murino
e7cf4c058d
audiodecoder: flush decoder in transition PAUSED->READY
...
https://bugzilla.gnome.org/show_bug.cgi?id=787311
2017-10-20 01:54:54 +11:00
Guillaume Desmottes
bcca3b926c
videoencoder: implement QoS
...
It allows encoders to detect and drop input frames which are already
late to increase the chance of the pipeline to catch up.
The QoS logic and code is directly copied from gstvideodecoder.c.
https://bugzilla.gnome.org/show_bug.cgi?id=582166
2017-10-19 16:26:22 +02:00
Guillaume Desmottes
9264a298bf
videoencoder test: properly name the encoder variable
...
The element is an encoder so calling it 'dec' makes things confusing.
https://bugzilla.gnome.org/show_bug.cgi?id=582166
2017-10-19 16:26:22 +02:00
Thibault Saunier
6d4e17eee8
doc: Add some missing/malformed Since markers
2017-10-16 14:17:00 +02:00
Mathieu Duponchelle
d4db88772b
audioconvert: allow empty mix matrix
...
When an empty mix matrix is passed, audio-channel-mixer
will now generate a (potentially truncated) identity matrix,
this replicates the behaviour of audiomixmatrix in first-channels
mode.
https://bugzilla.gnome.org/show_bug.cgi?id=788833
2017-10-11 22:57:38 +02:00
Mathieu Duponchelle
464d10f5c2
Reorder win32 defs
2017-10-11 22:14:28 +02:00
Mathieu Duponchelle
889bb92882
discoverer: output channel positions
...
https://bugzilla.gnome.org/show_bug.cgi?id=783722
2017-10-11 19:47:24 +02:00
Mathieu Duponchelle
1d5a6627d8
discoverer: output whether the uri is live
...
https://bugzilla.gnome.org/show_bug.cgi?id=783722
2017-10-11 19:47:24 +02:00
Mathieu Duponchelle
545e0b003b
API: gst_discoverer_info_get_live
...
https://bugzilla.gnome.org/show_bug.cgi?id=783722
2017-10-11 19:47:19 +02:00
Mathieu Duponchelle
2a26baf4be
API: gst_discoverer_audio_info_get_channel_mask
...
https://bugzilla.gnome.org/show_bug.cgi?id=783722
2017-10-11 19:46:29 +02:00
Mathieu Duponchelle
8598f08278
opusenc: Allow unpositioned channels.
...
The input will be treated as a set of mono channels,
and the channel-mapping-family will be set to 255
(no defined channel meaning)
https://bugzilla.gnome.org/show_bug.cgi?id=788720
2017-10-11 19:42:39 +02:00
Mathieu Duponchelle
8e2805cf06
audio-converter: remove unused mix_matrix private field
2017-10-11 17:00:08 +02:00
Tim-Philipp Müller
cb6dd3eb8d
tests: appsink: fix compiler warning and typo in struct name
...
elements/appsink.c:624:3: warning: missing braces around initializer
with gcc 4.8.4
2017-10-07 14:20:54 +01:00
Thibault Saunier
20fae3f1e0
rtsp: Start implementing support for RTSP 2.0
...
Properly handle protocol version in the connection
Add the following headers types:
* Pipelined-Request
* Media-Properties
* Seek-Style
* Accept-Ranges
https://bugzilla.gnome.org/show_bug.cgi?id=781446
2017-10-05 13:16:03 -03:00
Havard Graff
43985b363d
meson: remove vs_module_defs
...
GST_EXPORT should handle it.
2017-10-05 13:53:14 +01:00
Rico Tzschichholz
fb3455d7a1
meson: Add some missing args and dependencies in the gir generation
2017-10-05 13:51:19 +01:00
Reynaldo H. Verdejo Pinochet
e81c334ca9
Use proper GtkDoc notation for NULL/FALSE/TRUE
2017-10-03 14:31:18 -07:00
Thibault Saunier
c610076d85
meson: Add mssing GstBase-1.0 include in the gir generation
2017-09-28 21:56:29 -03:00
Sebastian Dröge
992d026ebf
audio: Fix unit test after changed GstAudioStreamAlign constructor signature
2017-09-28 14:29:03 +03:00
Sebastian Dröge
bf68e74403
audio: Add stream align API for getting timestamp at discont and number of samples since discont
...
https://bugzilla.gnome.org/show_bug.cgi?id=787560
2017-09-28 14:06:24 +03:00
Sebastian Dröge
d2fd740388
audio: Add reverse playback support to GstAudioStreamAlign
...
https://bugzilla.gnome.org/show_bug.cgi?id=787560
2017-09-28 14:06:07 +03:00
Sebastian Dröge
ec1e20ffe5
audio: Add helper object for audio discontinuity detection and sample alignment
...
This is the same code that is in decklinkaudiosrc, audioringbuffer,
audiomixer and various other places. Have it once instead of copying it
everywhere.
https://bugzilla.gnome.org/show_bug.cgi?id=787560
2017-09-28 14:06:05 +03:00
Ponnam Srinivas
0e8a510eda
alsasink: Fix Memory leak in payload not succuss case
...
https://bugzilla.gnome.org/show_bug.cgi?id=788114
2017-09-26 11:18:09 +03:00
Mathieu Duponchelle
8d52a107a4
audioconvert: [API]: expose mix-matrix property.
...
This obsoletes audiomixmatrix
https://bugzilla.gnome.org/show_bug.cgi?id=785471
2017-09-22 20:17:48 +02:00
Mathieu Duponchelle
4196e67ff1
[API]: GST_AUDIO_CONVERTER_OPT_MIX_MATRIX
...
Taken from audiomixmatrix, credits to Vivia Nikolaidou
https://bugzilla.gnome.org/show_bug.cgi?id=785471
2017-09-22 16:19:59 +02:00
Mathieu Duponchelle
877d6faeea
[API]: gst_audio_channel_mixer_new_with_matrix
...
+ Refactor previous constructor to call on that new constructor
+ Reimplement is_passthrough to strictly check whether the matrix
is an identity matrix, comparing channel-masks was incorrect:
the mixer may be remixing from a list of positions to the same
list of positions, but ordered differently, and reciprocally,
the mixer may be remixing from a list of positions to another
list of positions identically ordered
+ Remove unused tmp field, must have been a refactoring leftover
https://bugzilla.gnome.org/show_bug.cgi?id=785471
2017-09-22 16:19:58 +02:00
Mathieu Duponchelle
7a407b69e1
audioconvert: refactor format removal.
...
remove_format_info was a bit confusing to read, this removes
it in favor of standard gst_caps_map_in_place calls.
This no longer simplifies the resulting caps, but I
consider this should be the job of basetransform.
https://bugzilla.gnome.org/show_bug.cgi?id=785471
2017-09-22 15:03:41 +02:00
Julien Isorce
fc86194595
appsink: on drain wait for buffers to be consumed
...
So that an upstream element can claim all buffers to return to its buffer pool.
Added unit test 'test_query_drain'
make elements/appsink.check
https://bugzilla.gnome.org/show_bug.cgi?id=786739
2017-09-19 14:33:36 +01:00
Julien Isorce
7b1056b946
appsink: also clear preroll buffer in _pull_sample
...
If someone calls gst_app_sink_try_pull_sample they are
probably no longer interested in any preroll samples.
Useful if the user has not registered a preroll appsink callback.
Also added unit test 'test_do_not_care_preroll'
make elements/appsink.check
that fails without this patch.
https://bugzilla.gnome.org/show_bug.cgi?id=786740
2017-09-19 09:06:44 +01:00
Julien Isorce
68518acb53
appsink: unref preroll buffer upon pull
...
There is no reason for appsink to hang onto the preroll buffer.
If needed, the application can just keep a ref on this buffer
after calling gst_app_sink_try_pull_preroll.
Also added unit test 'test_pull_preroll'
make elements/appsink.check
https://bugzilla.gnome.org/show_bug.cgi?id=786740
2017-09-13 14:11:27 +01:00
Julien Isorce
c134a3c21b
appsink: rename GstBuffer *preroll to preroll_buffer
...
priv->preroll can be confused with basesink_class->preroll
https://bugzilla.gnome.org/show_bug.cgi?id=786740
2017-09-13 14:06:43 +01:00
Tim-Philipp Müller
925a4fe6a4
tests: playbin-complex: skip test that needs oggdemux if it's not available
...
https://bugzilla.gnome.org/show_bug.cgi?id=773145
2017-09-10 16:32:31 +01:00
Nicolas Dufresne
2bf665486e
Request minimum buffer even if need_pool is FALSE
...
When tee is used, it will not request a pool, but still it wants to
know how many buffers are required.
https://bugzilla.gnome.org/show_bug.cgi?id=730758
2017-09-06 14:20:46 -04:00