gst-plugins-base merge requestshttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests2021-03-11T11:05:26Zhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/4audio: const gpointer is not the same as gconstpointer/const void *2021-03-11T11:05:26ZSebastian Drögeaudio: const gpointer is not the same as gconstpointer/const void *See https://bugzilla.gnome.org/show_bug.cgi?id=664491
There are also other occurences in audio/video in the form of
```c
const gpointer in[]
```
Changing those is not trivially possible though, it seems. Code using those APIs fails to ...See https://bugzilla.gnome.org/show_bug.cgi?id=664491
There are also other occurences in audio/video in the form of
```c
const gpointer in[]
```
Changing those is not trivially possible though, it seems. Code using those APIs fails to compile then.1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/5Clone the code from gitlab2020-06-23T14:09:38ZHaihao XiangClone the code from gitlabThis fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/503This fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/5031.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/16gl: Fix GL format confusion when uploading using dmabuf2020-06-23T14:09:38ZSjoerd Simonsgl: Fix GL format confusion when uploading using dmabufOn my i.mx6 board using etnaviv board capturing from a camera and displaying it using glsink end up with a lovely pink shape due to the assumed GL format not matching the actual imported dmabuf format. To fix that make sure the glupload ...On my i.mx6 board using etnaviv board capturing from a camera and displaying it using glsink end up with a lovely pink shape due to the assumed GL format not matching the actual imported dmabuf format. To fix that make sure the glupload ends up specifying the right GL formats.1.15.1Nicolas DufresneNicolas Dufresnehttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/17rtpbasepayload: Update current seqnum for buffer lists2020-06-23T14:09:37ZLinus Svenssonrtpbasepayload: Update current seqnum for buffer listsThe current sequence number will be the one from the first RTP buffer
when a buffer list is pushed, but should be the last one.The current sequence number will be the one from the first RTP buffer
when a buffer list is pushed, but should be the last one.1.15.1Sebastian DrögeSebastian Drögehttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/28gl: Fix subclassing of GstGLContextEGL2020-06-23T14:09:37ZXavier Claessensxclaesse@gmail.comgl: Fix subclassing of GstGLContextEGL1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/35video: Various convert frame fixes2020-06-23T14:09:37ZSebastian Drögevideo: Various convert frame fixes1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/42gst-gl: Remove duplicate declarations2020-06-23T14:09:36ZMaciej Wolnygst-gl: Remove duplicate declarationsThis causes 'redefinition of typedef ...' errors on GCC 4.5.3
Closes #509This causes 'redefinition of typedef ...' errors on GCC 4.5.3
Closes #5091.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/47gltestsrc: Run context query only during decide_allocation2020-06-23T14:09:36ZPhilippe Normandgltestsrc: Run context query only during decide_allocationRunning the context query in _start and during the NULL->READY state transition
can fail because downstream elements might not be able to answer and thus the
source element would not be able to reuse downstream GLContext and GLDisplay.
...Running the context query in _start and during the NULL->READY state transition
can fail because downstream elements might not be able to answer and thus the
source element would not be able to reuse downstream GLContext and GLDisplay.
This issue happened specifically when trying to use gltestsrc in playbin.1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/48audio-convert: Fix endianness conversion function init2020-06-23T14:09:36ZGhodhbane Marouenaudio-convert: Fix endianness conversion function initEndianness conversion should be based on the sample width instead of the
sample depth.
Signed-off-by: Marouen Ghodhbane <marouen.ghodhbane@nxp.com>Endianness conversion should be based on the sample width instead of the
sample depth.
Signed-off-by: Marouen Ghodhbane <marouen.ghodhbane@nxp.com>1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/50video: convertframe: Shut down pipeline asynchronously via the thread pool2020-06-23T14:09:35ZSebastian Drögevideo: convertframe: Shut down pipeline asynchronously via the thread poolIf we use the main loop it might happen that the caller (e.g. our unit
test) already shut down the loop once the result was received and in
that case the pipeline would never ever be shut down (and our unit test
would hang).
----
CC @a...If we use the main loop it might happen that the caller (e.g. our unit
test) already shut down the loop once the result was received and in
that case the pipeline would never ever be shut down (and our unit test
would hang).
----
CC @alatiera1.15.1Sebastian DrögeSebastian Drögehttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/53rtspconnection: Replace Auth header instead of append2020-06-23T14:09:35ZPer Forlinrtspconnection: Replace Auth header instead of appendgst_rtsp_connection_send() adds the Authorization header to the request.
If this function is being called multiple times with the same request
it will add one more Authorization header every time.
To fix to this issue do not append a ne...gst_rtsp_connection_send() adds the Authorization header to the request.
If this function is being called multiple times with the same request
it will add one more Authorization header every time.
To fix to this issue do not append a new Authorization header on
top of an existing ones. Remove any existing Authorization headers first
and then add the new one.
Fixes gst-plugins-good#4251.15.1Mathieu DuponchelleMathieu Duponchellehttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/65gl/wayland: destroy wl_shell instance at finalize2020-06-23T14:09:35ZNiels De Graefnielsdegraef@gmail.comgl/wayland: destroy wl_shell instance at finalize1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/85subparse: do not assert when failling to parse subrip time2020-06-23T14:09:34ZJordan Petridіssubparse: do not assert when failling to parse subrip timeIf a badly formatted was passed into `parse_subrip_time` it would
assert instead of exiting gracefully. This is problematic since
the input is provided by the user, and will trigger a crash.
Close #532If a badly formatted was passed into `parse_subrip_time` it would
assert instead of exiting gracefully. This is problematic since
the input is provided by the user, and will trigger a crash.
Close #5321.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/86video-converter: fix number of allocated lines2020-06-23T14:09:34ZNicolas Dufresnevideo-converter: fix number of allocated linesWe make an allocator for temporary lines and then use this for all
the steps in the conversion that can do in-place processing.
Keep track of the number of lines each step needs and use this to
allocate the right number of lines.
Previ...We make an allocator for temporary lines and then use this for all
the steps in the conversion that can do in-place processing.
Keep track of the number of lines each step needs and use this to
allocate the right number of lines.
Previously we would not always allocate enough lines and we would
end up with conversion errors as lines would be reused prematurely.
Fixes #350
Closes #3501.15.1Nicolas DufresneNicolas Dufresnehttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/89glsinkbin: validate property in internal sink2020-06-23T14:09:33ZVíctor Manuel Jáquez Lealglsinkbin: validate property in internal sinkIt might be the case that glgsinkbin would try to set a property to
its internal sink which doesn't exist in it, leading to a glib's
warning. For example, when playsink sets 'force-aspect-ratio' property
and glsinkbin has, as internal si...It might be the case that glgsinkbin would try to set a property to
its internal sink which doesn't exist in it, leading to a glib's
warning. For example, when playsink sets 'force-aspect-ratio' property
and glsinkbin has, as internal sink, appsink, which doesn't handle
that property.
The patch validates the incoming property to forward to internal sink
if it exists in the internal sink and both properties has the same
type.1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/90pbutils: Add audio, base and video library to Requires line in the pkg-config...2020-06-23T14:09:33ZSebastian Drögepbutils: Add audio, base and video library to Requires line in the pkg-config fileWe use all those libraries internally and include headers from them in
the public headers.
And add the tag library to Requires.private as we use it internally and
it would be needed when doing static linking.
Fixes https://gitlab.freed...We use all those libraries internally and include headers from them in
the public headers.
And add the tag library to Requires.private as we use it internally and
it would be needed when doing static linking.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/5371.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/92gl: Only unbind buffers/vertex attrib arrays if we can't directly bind the ve...2020-06-16T00:06:13ZSebastian Drögegl: Only unbind buffers/vertex attrib arrays if we can't directly bind the vertex array to 0(updated title to match actual commit in the end)
That is, first disable the vertex arrays, then bind the buffers to 0 and
only then bind the vertex array to 0 instead of the other way around.
In the previous order older versions ...(updated title to match actual commit in the end)
That is, first disable the vertex arrays, then bind the buffers to 0 and
only then bind the vertex array to 0 instead of the other way around.
In the previous order older versions of the Intel GL driver caused
errors to be printed for every single call when disabling the vertex
arrays.
----
CC @ystreet1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/84videoscale: Negotiation fixes for fixed PAR2020-06-16T00:06:13ZJan Alexander Steffensvideoscale: Negotiation fixes for fixed PARThis is a set of fixes with the ultimate goal that scaling `width=854,height=480,pixel-aspect-ratio=1/1` into `width=[16,512,2],height=[16,512,2],pixel-aspect-ratio=1/1` works, without adding borders or distorting the image too much.
...This is a set of fixes with the ultimate goal that scaling `width=854,height=480,pixel-aspect-ratio=1/1` into `width=[16,512,2],height=[16,512,2],pixel-aspect-ratio=1/1` works, without adding borders or distorting the image too much.
**Depends on https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/67.**1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/79gl: Fix some type conversion warnings with MSVC2020-06-16T00:06:12ZSeungha Yangseungha@centricular.comgl: Fix some type conversion warnings with MSVCMSVC complained about implicit conversion between GstGLFormat* and guint*MSVC complained about implicit conversion between GstGLFormat* and guint*1.15.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/56codec-utils: support extension audio object type and sample rate2020-06-16T00:06:11ZAlex Ashleycodec-utils: support extension audio object type and sample rateISO 14496-3 defines that audioObjectType 5 is a special case that
indicates SBR is present and that an additional field has to be
parsed to find the true audioObjectType.
There are two ways of signaling SBR within an AAC stream - implic...ISO 14496-3 defines that audioObjectType 5 is a special case that
indicates SBR is present and that an additional field has to be
parsed to find the true audioObjectType.
There are two ways of signaling SBR within an AAC stream - implicit
and explicit (see [1] section 4.2). When explicit signaling is used,
the presence of SBR data is signaled by means of the SBR
audioObjectType in the AudioSpecificConfig data.
Normally the sample rate is specified by an index into a
table of common sample rates. However index 0x0f is a special case
that indicates that the next 24 bits contain the real sample rate.
[1] https://www.telosalliance.com/support/A-closer-look-into-MPEG-4-High-Efficiency-AAC
Fixes #391.15.1