Edward Hervey
35039ea2b4
video: Silence "restrict" issues with ORC code
...
The problem is that even though the functions we are calling are
in-place transformation, orc automatically puts the restrict keyword
on all arguments. To silence that warning just create yet-another
variable containing the same value.
https://bugzilla.gnome.org/show_bug.cgi?id=795765
2018-05-05 11:22:15 +02:00
Thibault Saunier
ed49373e87
pbutils: Avoid assertion describing raw audio caps without format
...
We used to get:
gst_audio_format_from_string: assertion 'format != NULL' failed
2018-05-02 10:37:40 +02:00
Thibault Saunier
d91638b2be
encodebin: Also lock input caps when dynamic output is disabled
...
With the way caps negotiation work in encoders, the only way to ensure
that no downstream renegotiation is done in the encoder is to also lock
upstream caps. Anyway with the current behavior upstream of encoders
*require* to handle any file format so locking upstream format should
be safe.
https://bugzilla.gnome.org/show_bug.cgi?id=795464
2018-05-02 09:53:21 +02:00
Seungha Yang
19026c822d
tagmux: Reset final tags for reusing element
...
If the output tag had been exposed, it never ever updated
even if we reset the tagmux using state change.
https://bugzilla.gnome.org/show_bug.cgi?id=795691
2018-05-01 10:12:22 +01:00
Michael Olbrich
3dfe9dbb70
videodecoder: add test for event order
...
When frames are dropped or reordered then the serialized events are
collected and pushed with the next frame. This test verifies that the
order is preserved.
https://bugzilla.gnome.org/show_bug.cgi?id=794192
2018-05-01 11:24:41 +03:00
Matthias Fend
6f3d6d6a8e
videodecoder: keep event order
...
Since events are pushed out in reverse order, newer events need to
be added at the front of event lists
https://bugzilla.gnome.org/show_bug.cgi?id=794192
2018-05-01 11:24:32 +03:00
hoonhee.lee
2012e1d1c6
uridecodebin3: don't segfault if a pad is not a source pad when it is removed
...
Ignore to handling a pad of decodebin3 which doesn't have corresponding output
when it is removed.
https://bugzilla.gnome.org/show_bug.cgi?id=795529
2018-05-01 09:54:22 +02:00
Sebastian Dröge
fac9f88f06
gl/cocoa: Let ARC clean up our dispatch queue if ARC is used, and otherwise do it manually
...
Also don't use __bridge casts if ARC is not used, as is the case on 32
bit systems.
2018-04-25 11:20:25 +03:00
Sebastian Dröge
c6f4b5a14f
gl/cocoa: Use NSRect instead of CGRect
...
On 64 bit systems they're typedefs of each other but on 32 bit systems
not, and we pass the rect to an API that expects a NSRect
2018-04-25 11:20:25 +03:00
Mark Nauwelaerts
3970a35fd6
gl: fix some GIR annotations
...
Mostly related to out and array parameters
2018-04-23 19:26:15 +01:00
Mark Nauwelaerts
30c97c5082
pbutils: fix some GIR annotations
...
Mostly related to out and array parameters
2018-04-23 19:26:05 +01:00
Mark Nauwelaerts
bc91749eb1
video: fix some GIR annotations
...
Mostly related to out and array parameters
2018-04-23 19:25:49 +01:00
Mark Nauwelaerts
3ce37b490a
audio: fix some GIR annotations
...
Mostly related to out and array parameters
2018-04-23 19:25:22 +01:00
Mark Nauwelaerts
0a0e320c78
rtsp: fix some GIR annotations
...
Mostly related to out and array parameters.
2018-04-23 19:25:19 +01:00
Mark Nauwelaerts
8bbb802c3e
rtp: fix some GIR annotations
...
Mostly related to out and array parameters.
2018-04-23 19:25:13 +01:00
Tim-Philipp Müller
8ab2f96b63
meson: gl: fix 'invalid keyword argument' meson warnings
...
Required is not a valid kwarg for cc.has_header()
2018-04-23 19:24:47 +01:00
Omar Akkila
0978a2efa9
egl: fix build when using RPi EGL
...
https://bugzilla.gnome.org/show_bug.cgi?id=795336
2018-04-23 19:24:26 +01:00
Víctor Manuel Jáquez Leal
8a5f5eaaae
gl: Define default value for GST_GL_HAVE_WINDOW_GBM
...
Thus, silent compiler's warning:
"GST_GL_HAVE_WINDOW_GBM" is not defined, evaluates to 0 [-Wundef]
2018-04-23 19:23:40 +01:00
Mathieu Duponchelle
0c19ac0b47
audioaggregator: fix filtered getcaps
...
In the situation described in
https://bugzilla.gnome.org/show_bug.cgi?id=795397 ,
downstream_caps consists of two structures, the first with
the preferred rate, if at all possible (44100), the second
containing the full range of allowed rates, as audioresample
correctly tries to negotiate passthrough caps.
As audioaggregator cannot perform rate conversion, it wants
to return a fixated rate in its getcaps implementation,
however it previously directly used the first structure in
the caps allowed downstream, without taking the filter into
consideration, to determine the rate to fixate to.
With this, we first intersect our downstream caps with the
filter, in order not to fixate to an unsupported rate.
2018-04-23 17:21:42 +02:00
Mark Nauwelaerts
9a1f62923e
tag: fix some GIR annotations
...
Mostly related to out and array parameters.
2018-04-16 11:07:53 +03:00
Mathieu Duponchelle
d202097dd6
audioaggregator: unref converted buffer after gst_buffer_replace
2018-04-16 11:07:43 +03:00
Mathieu Duponchelle
1bd3ee8be3
alsamidisrc: unref buffer_list before early return
2018-04-16 11:07:35 +03:00
Thibault Saunier
8705d9b63e
urisourcebin: Avoid unreffing a pad we are not owning
...
expose_output_pad takes ownership of the pad.
2018-04-16 11:07:28 +03:00
Mathieu Duponchelle
947a2627c5
uridecodebin3: free_play_items when READY_TO_PAUSED failed.
...
We will never go through the PAUSED_TO_READY transition if
that is the case, and thus never free the play items.
2018-04-16 11:07:19 +03:00
Tim-Philipp Müller
f7ac5dbb4f
playbin3: fix leak of recursive mutex
2018-04-16 11:07:12 +03:00
Mathieu Duponchelle
5984a1f3c2
vorbisenc: do not map input buffer in WRITE mode
2018-04-16 11:07:04 +03:00
Sebastian Dröge
2f58fbecdf
audiovisualizer: Only fixate pixel-aspect-ratio if the field exists
...
It's optional.
2018-04-11 23:22:31 +01:00
Sebastian Dröge
de12900760
audiovisualizer: Fixate pixel-aspect-ratio to the closest value to 1/1
2018-04-10 22:42:18 +01:00
Nirbheek Chauhan
8a995b9e94
audioringbuffer: Don't spam INFO for every buffer
...
This makes GST_DEBUG=4 outputs too spammy, and such frequent messages
are meant to go into DEBUG or TRACE anyway.
2018-04-07 11:09:19 +05:30
Zeeshan Ali
0214fea222
tests: Enable tests for videodecoder
...
The tests pass fine here so don't see any reason to keep them disabled.
https://bugzilla.gnome.org/show_bug.cgi?id=795005
2018-04-05 14:29:43 -03:00
Thibault Saunier
0bbd2963eb
encodebin: Always respect encoding profile preset factory name
...
And fail if it is not present.
2018-04-04 20:58:01 -03:00
Carlos Rafael Giani
76c667bfe0
gl/gbm: Initialize window handle (= gbm surface) like other window systems
...
https://bugzilla.gnome.org/show_bug.cgi?id=793997
2018-03-28 12:25:03 +01:00
Tim-Philipp Müller
9261296858
gl: pick up GstVideo-1.0.gir from local build dir
...
https://bugzilla.gnome.org/show_bug.cgi?id=794708
2018-03-27 11:53:35 +01:00
Antonio Ospite
eb990b539b
tools: play: fix leaving STDIN in non-blocking mode after exit
...
gst-play-1.0 sets STDIN to non-blocking mode to have the input
characters read as soon as they arrive.
However, when gst_play_kb_set_key_handler() gets called from
restore_terminal() it forgets to restore the STDIN blocking status.
This can result in broken behavior for cli command executed in the same
terminal after gst-play-1.0 exited.
It turns out that putting STDIN in non-blocking mode is not even the
proper way to achieve the desired effect, instead VMIN and VTIME in
struct termios should be set to 0.
Let's do that, and don't mess with the STDIN blocking mode now that it's
not necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=794591
2018-03-26 13:23:14 +01:00
Sebastian Dröge
c0c76a8788
gl: Disable glmixerbin for the time being too
...
Otherwise we have one copy in gst-plugins-bad and one (unused) here,
which makes static linking unhappy.
2018-03-25 12:55:02 +03:00
Edward Hervey
bfc4567586
audio-aggregator: Check return values
...
And copy over already-parsed information
CID #1427140
2018-03-25 12:34:55 +03:00
Carlos Rafael Giani
e66971cf51
viv-fb: Include gstglfuncs.h to fix cross compilation errors
...
https://bugzilla.gnome.org/show_bug.cgi?id=794589
2018-03-25 12:33:18 +03:00
Sebastian Dröge
9ad1a44dc6
video: Set correct value in g-i annotations for tile related mask constants
2018-03-25 12:33:08 +03:00
Sebastian Dröge
b5e14cf8f2
video: Include gstvideoaffinetransformationmeta.h in video.h
2018-03-25 12:33:03 +03:00
Sebastian Dröge
54d348b09f
pbutils: Include gstaudiovisualizer.h in pbutils.h
2018-03-25 12:32:57 +03:00
Tim-Philipp Müller
46fc41f1a8
Release 1.14.0
2018-03-19 20:15:03 +00:00
Tim-Philipp Müller
01039a1548
Update docs
2018-03-19 20:15:02 +00:00
Edward Hervey
17d5f08316
oggstream: protect against out-of-bounds read
...
We need at least 17 bytes of data for a valid flac header
oss-fuzz #6974
2018-03-17 06:34:47 +01:00
Tim-Philipp Müller
57516c5153
tests: audiomixer: remove unistd.h include
...
Not needed and breaks the build with MVSC.
2018-03-16 09:29:41 +00:00
Sebastian Dröge
b058de9d90
audiostreamalign: Mark the whole type as new in 1.14
2018-03-15 09:58:11 +02:00
Sebastian Dröge
f6520ee9db
pkg-config: Add orc-0.4 to Requires.private of gstreamer-audio and gstreamer-video
...
https://bugzilla.gnome.org/show_bug.cgi?id=794307
2018-03-14 09:34:39 +02:00
Tim-Philipp Müller
abcb96b698
Release 1.13.91
2018-03-13 19:13:19 +00:00
Tim-Philipp Müller
3c5b0f3976
Update docs
2018-03-13 19:13:18 +00:00
Tim-Philipp Müller
98a8d7eaf5
meson: install new audio-prelude.h
2018-03-13 13:49:57 +00:00
Tim-Philipp Müller
d8c6ca804b
docs: update api decorators to ignore
2018-03-13 12:16:42 +00:00