platform/upstream/gstreamer.git
2 years agoMerge branch 'tizen' into 'tizen_gst_1.19.2'
Eunhye Choi [Mon, 17 Jan 2022 19:48:34 +0000 (04:48 +0900)]
Merge branch 'tizen' into 'tizen_gst_1.19.2'

Change-Id: I55b6ae1068fdcf7cad6d59825271d4e2a34bc024

2 years agoRelease 1.19.2
Tim-Philipp Müller [Thu, 23 Sep 2021 00:34:00 +0000 (01:34 +0100)]
Release 1.19.2

2 years agox264enc: Strip trailing whitespace from x264's log messages
Jan Alexander Steffens (heftig) [Tue, 21 Sep 2021 13:05:58 +0000 (15:05 +0200)]
x264enc: Strip trailing whitespace from x264's log messages

x264 has linebreaks at the end of its log messages that we should
ignore.

Add G_GNUC_PRINTF to the callback to make sure GCC lets us forward the
format string to another function marked as printf (g_strdup_vprintf)
without triggering -Wformat-nonliteral.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85>

2 years agox264enc: Add the func/line info to the log callback
Jan Alexander Steffens (heftig) [Tue, 21 Sep 2021 12:57:29 +0000 (14:57 +0200)]
x264enc: Add the func/line info to the log callback

It looks awkward when it's missing. At least point us at the callback
function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85>

2 years agox264enc: Reduce log spam about bit depth support
Jan Alexander Steffens (heftig) [Tue, 21 Sep 2021 12:56:23 +0000 (14:56 +0200)]
x264enc: Reduce log spam about bit depth support

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/85>

2 years agompeg2dec: drop B-frame on open gop
Stéphane Cerveau [Wed, 28 Jul 2021 09:49:16 +0000 (11:49 +0200)]
mpeg2dec: drop B-frame on open gop

Enhance open gop detection to drop B-frame which are invalid
before the first reference frame.

In stream such
gst-integration-testsuites/medias/defaults/mxf/op2b-mpeg2-wave_hd.mxf,
the two first frames must be dropped as we detect an open GOP situation
but in another media, such as http://col.la/1920X1080IXDCAMEX5MIN, the
first frames should not be dropped as we are in a closed GOP situation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/84>

2 years agoUse g_memdup2() where available and add fallback for older GLib versions
Tim-Philipp Müller [Sat, 22 May 2021 00:53:43 +0000 (01:53 +0100)]
Use g_memdup2() where available and add fallback for older GLib versions

- x264 encoder bitrate profile manager: alloc size is based
  on existing allocation
- asfdemux: change length var to 64-bit and check for G_MAXUINT
- realmedia: opaque_data_len is read from 32 bits and then
  only subtracted upon.

g_memdup() is deprecated since GLib 2.68 and we want to avoid
deprecation warnings with recent versions of GLib.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/83>

2 years agoBack to development
Tim-Philipp Müller [Tue, 1 Jun 2021 14:28:40 +0000 (15:28 +0100)]
Back to development

2 years agoRelease 1.19.1
Tim-Philipp Müller [Mon, 31 May 2021 23:12:09 +0000 (00:12 +0100)]
Release 1.19.1

3 years agox264enc: Change accepted caps width and height from [16, MAX] to [1, MAX]
David Fernandez [Mon, 26 Feb 2018 16:28:25 +0000 (17:28 +0100)]
x264enc: Change accepted caps width and height from [16, MAX] to [1, MAX]

There are cases where the video size might be less than 16x16.
This change allows the x264 encoder to accept this cases.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/44>

3 years agorealmedia: Drop duplicate seek events.
Doug Nazar [Tue, 20 Apr 2021 22:48:38 +0000 (18:48 -0400)]
realmedia: Drop duplicate seek events.

Also use seek seqnum for flush & segment events/messages.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/81>

3 years agoasfdemux: Drop duplicate seek events.
Doug Nazar [Tue, 20 Apr 2021 22:47:31 +0000 (18:47 -0400)]
asfdemux: Drop duplicate seek events.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/81>

3 years agoxingmux: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 11:41:07 +0000 (13:41 +0200)]
xingmux: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agorealmedia: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 11:39:20 +0000 (13:39 +0200)]
realmedia: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agodvdsub: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 11:23:51 +0000 (13:23 +0200)]
dvdsub: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agodvdlpcmdec: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 11:15:32 +0000 (13:15 +0200)]
dvdlpcmdec: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agoasfdemux: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 11:11:23 +0000 (13:11 +0200)]
asfdemux: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agox264: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 10:39:36 +0000 (12:39 +0200)]
x264: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agosidplay: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 10:33:00 +0000 (12:33 +0200)]
sidplay: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agompeg2dec: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 10:31:26 +0000 (12:31 +0200)]
mpeg2dec: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agodvdread: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 10:28:28 +0000 (12:28 +0200)]
dvdread: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agocdio: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 10:28:04 +0000 (12:28 +0200)]
cdio: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agoamrwbdec: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 08:39:46 +0000 (10:39 +0200)]
amrwbdec: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agoamrnb: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 08:38:07 +0000 (10:38 +0200)]
amrnb: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agoa52dec: allow per feature registration
Stéphane Cerveau [Mon, 29 Mar 2021 08:37:26 +0000 (10:37 +0200)]
a52dec: allow per feature registration

Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>

3 years agogst: don't use volatile to mean atomic
Matthew Waters [Fri, 19 Mar 2021 04:16:06 +0000 (15:16 +1100)]
gst: don't use volatile to mean atomic

volatile is not sufficient to provide atomic guarantees and real atomics
should be used instead.  GCC 11 has started warning about using volatile
with atomic operations.

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719

Discovered in https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/868

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/78>

3 years agormdemux: Make sure we have enough data available when parsing audio/video packets
Sebastian Dröge [Wed, 3 Mar 2021 09:05:14 +0000 (11:05 +0200)]
rmdemux: Make sure we have enough data available when parsing audio/video packets

Otherwise there will be out-of-bounds reads and potential crashes.

Thanks to Natalie Silvanovich for reporting.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues/37

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/74>

3 years agomeson: Enable some MSVC warnings for parity with GCC/Clang
Nirbheek Chauhan [Wed, 4 Nov 2020 13:14:07 +0000 (18:44 +0530)]
meson: Enable some MSVC warnings for parity with GCC/Clang

This makes it easier to do development with MSVC by making it warn
on common issues that GCC/Clang error out for in our CI configuration.

Continuation from https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/223

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/71>

3 years agotests: mpeg2dec: Don't expect BT601 color space
Seungha Yang [Fri, 30 Oct 2020 19:52:14 +0000 (04:52 +0900)]
tests: mpeg2dec: Don't expect BT601 color space

If it's required, mpeg2dec should set it explicitly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/70>

3 years agoci: include template from gst-ci master branch again
Tim-Philipp Müller [Tue, 8 Sep 2020 16:30:39 +0000 (17:30 +0100)]
ci: include template from gst-ci master branch again

3 years agoBack to development
Tim-Philipp Müller [Tue, 8 Sep 2020 15:58:40 +0000 (16:58 +0100)]
Back to development

3 years agoRelease 1.18.0
Tim-Philipp Müller [Mon, 7 Sep 2020 23:05:39 +0000 (00:05 +0100)]
Release 1.18.0

3 years agomeson: dist pot file in tarball
Tim-Philipp Müller [Mon, 7 Sep 2020 21:40:46 +0000 (22:40 +0100)]
meson: dist pot file in tarball

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/69>

3 years agox264: Update for gst_video_transfer_function_*() function renaming
Sebastian Dröge [Mon, 7 Sep 2020 09:14:13 +0000 (12:14 +0300)]
x264: Update for gst_video_transfer_function_*() function renaming

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/68>

3 years agox264enc: Allow maximum quantizer value of 63 instead of 51
Sebastian Dröge [Fri, 21 Aug 2020 07:35:11 +0000 (10:35 +0300)]
x264enc: Allow maximum quantizer value of 63 instead of 51

QP_MAX_SPEC in x264 is set to 63 nowadays and in theory it allows even
up to 81 (QP_MAX) but that seems to be outside the spec.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/67>

3 years agoRelease 1.17.90
Tim-Philipp Müller [Thu, 20 Aug 2020 15:12:23 +0000 (16:12 +0100)]
Release 1.17.90

3 years agoasfdemux: Change the mismatched definition
Gilbok Lee [Thu, 6 Aug 2020 01:44:17 +0000 (10:44 +0900)]
asfdemux: Change the mismatched definition

Change-Id: If9945d7b6df8da3c7114b88ebfe4b3b02faa081a

3 years agoamrnbenc: remove global variables
Jordan Petridis [Wed, 15 Jul 2020 07:49:03 +0000 (10:49 +0300)]
amrnbenc: remove global variables

gstcheck is declaring its own buffers glist which ends up
overwritten, loks like the code meant to use that already

gcc 10 is also complaining about this, but only on static
builds for some reason

```
FAILED: subprojects/gst-plugins-ugly/tests/check/elements_amrnbenc
/usr/bin/ld: subprojects/gstreamer/libs/gst/check/libgstcheck-1.0.a(gstcheck.c.o):(.bss+0x38): multiple definition of `buffers'; subprojects/gst-plugins-ugly/tests/check/708af1f@@elements_amrnbenc@exe/elements_amrnbenc.c.o:(.bss+0x18): first defined here
collect2: error: ld returned 1 exit status
```

also remove unused var `current_buf`

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/62>

3 years agormdemux: Don't ignore the return value of gst_segment_do_seek()
Jan Schmidt [Wed, 1 Apr 2020 16:27:26 +0000 (03:27 +1100)]
rmdemux: Don't ignore the return value of gst_segment_do_seek()

If gst_segment_do_seek() fails, fail the seek.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/45>

3 years agoasfdemux: Don't ignore the return result of gst_segment_do_seek()
Jan Schmidt [Wed, 1 Apr 2020 08:34:30 +0000 (19:34 +1100)]
asfdemux: Don't ignore the return result of gst_segment_do_seek()

gst_segment_do_seek() can fail, and our seek should fail
accordingly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/45>

3 years agoasfdemux: Only forward SEEK event when in push mode.
Derek Lesho [Fri, 17 Apr 2020 16:34:16 +0000 (11:34 -0500)]
asfdemux: Only forward SEEK event when in push mode.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/48>

3 years agomeson: add a plugin summary
Stéphane Cerveau [Sat, 25 Jul 2020 20:19:20 +0000 (21:19 +0100)]
meson: add a plugin summary

This summary displays a list of plugins which
have been enabled.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/65>

3 years agox264enc: Add a 'Zero Latency' profile
Thibault Saunier [Wed, 3 Oct 2018 11:32:11 +0000 (13:32 +0200)]
x264enc: Add a 'Zero Latency' profile

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/42>

3 years agotests/x264enc: Don't declare variables inside the for loop header
Mathieu Duponchelle [Wed, 22 Jul 2020 15:31:37 +0000 (17:31 +0200)]
tests/x264enc: Don't declare variables inside the for loop header

This is a C99 feature

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/64>

3 years agotests: x264enc: Test formats are compatible with profile
Jan Alexander Steffens (heftig) [Tue, 21 Jul 2020 13:40:26 +0000 (15:40 +0200)]
tests: x264enc: Test formats are compatible with profile

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59>

3 years agox264enc: Separate high-10 video formats from 8-bit formats
Jan Alexander Steffens (heftig) [Wed, 1 Jul 2020 14:11:09 +0000 (16:11 +0200)]
x264enc: Separate high-10 video formats from 8-bit formats

If downstream is constrained to an 8-bit profile, caps queries would
still allow I420_10LE as input. If upstream actually sends such a caps
event, downstream would fail to accept the high-10 profile.

The following pipeline now fails earlier, during the negotiation phase
instead of the stream start:

    gst-launch-1.0 videotestsrc ! video/x-raw,format=I420_10LE \
        ! x264enc ! video/x-h264,profile=constrained-baseline \
        ! fakesink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59>

3 years agotests: x264enc: Test 10-bit formats
Jan Alexander Steffens (heftig) [Tue, 21 Jul 2020 13:39:31 +0000 (15:39 +0200)]
tests: x264enc: Test 10-bit formats

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59>

3 years agotests: x264enc: Test all (8-bit) video formats
Jan Alexander Steffens (heftig) [Tue, 21 Jul 2020 13:33:57 +0000 (15:33 +0200)]
tests: x264enc: Test all (8-bit) video formats

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59>

3 years agox264enc: Forward downstream colorimetry and chroma-site upstream
Thibault Saunier [Tue, 7 Jul 2020 02:13:55 +0000 (22:13 -0400)]
x264enc: Forward downstream colorimetry and chroma-site upstream

So that the value can be used by upstream converters when necessary.

This whole logic has been copied from `__gst_video_element_proxy_caps`
but those 2 fields were missing.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/60>

3 years agomeson: set release date from .doap file for releases
Tim-Philipp Müller [Wed, 8 Jul 2020 16:07:35 +0000 (17:07 +0100)]
meson: set release date from .doap file for releases

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/61>

3 years agoBack to development
Tim-Philipp Müller [Fri, 3 Jul 2020 01:03:37 +0000 (02:03 +0100)]
Back to development

3 years agoRelease 1.17.2
Tim-Philipp Müller [Thu, 2 Jul 2020 23:29:25 +0000 (00:29 +0100)]
Release 1.17.2

3 years agomeson: mark plugins cache target as always stale
Mathieu Duponchelle [Mon, 22 Jun 2020 22:03:04 +0000 (00:03 +0200)]
meson: mark plugins cache target as always stale

3 years agodoc: Stop documenting properties from parents
Thibault Saunier [Sat, 20 Jun 2020 02:55:28 +0000 (22:55 -0400)]
doc: Stop documenting properties from parents

3 years agoBack to development
Tim-Philipp Müller [Fri, 19 Jun 2020 23:28:13 +0000 (00:28 +0100)]
Back to development

3 years agoRelease 1.17.1
Tim-Philipp Müller [Fri, 19 Jun 2020 18:20:41 +0000 (19:20 +0100)]
Release 1.17.1

3 years agodocs: Update plugins cache
Thibault Saunier [Tue, 9 Jun 2020 19:13:47 +0000 (15:13 -0400)]
docs: Update plugins cache

3 years agodocs: Update plugins cache
Thibault Saunier [Mon, 8 Jun 2020 13:37:10 +0000 (09:37 -0400)]
docs: Update plugins cache

3 years agosiddec: update gst_type_mark_as_plugin_api() calls
Philippe Normand [Sat, 6 Jun 2020 09:15:25 +0000 (10:15 +0100)]
siddec: update gst_type_mark_as_plugin_api() calls

This was left behind in commit bc1ab5e8e00a7ed6ac5e192af9310bd2146e446a.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/55>

3 years agoplugins: uddate gst_type_mark_as_plugin_api() calls
Mathieu Duponchelle [Fri, 5 Jun 2020 22:41:38 +0000 (00:41 +0200)]
plugins: uddate gst_type_mark_as_plugin_api() calls

3 years agodoc: Require hotdoc >= 0.11.0
Thibault Saunier [Wed, 3 Jun 2020 22:38:28 +0000 (18:38 -0400)]
doc: Require hotdoc >= 0.11.0

3 years agodocs: Update gst_plugins_cache.json
Sebastian Dröge [Wed, 27 May 2020 13:02:02 +0000 (16:02 +0300)]
docs: Update gst_plugins_cache.json

3 years agoplugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types
Sebastian Dröge [Sat, 30 May 2020 20:16:50 +0000 (23:16 +0300)]
plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types

3 years agoasfdemux: extract WM/PartOfSet disc number and count metadata
Tim-Philipp Müller [Mon, 1 Jun 2020 23:41:23 +0000 (00:41 +0100)]
asfdemux: extract WM/PartOfSet disc number and count metadata

Fixes #30

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/54>

3 years agoasfdemux: sprinkle some INDENT-OFF
Tim-Philipp Müller [Mon, 1 Jun 2020 23:40:48 +0000 (00:40 +0100)]
asfdemux: sprinkle some INDENT-OFF

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/54>

3 years agotests: fix meson test env setup to make sure we use the right gst-plugin-scanner
Tim-Philipp Müller [Wed, 27 May 2020 13:42:20 +0000 (14:42 +0100)]
tests: fix meson test env setup to make sure we use the right gst-plugin-scanner

If core is built as a subproject (e.g. as in gst-build), make sure to use
the gst-plugin-scanner from the built subproject. Without this, gstreamer
might accidentally use the gst-plugin-scanner from the install prefix if
that exists, which in turn might drag in gst library versions we didn't
mean to drag in. Those gst library versions might then be older than
what our current build needs, and might cause our newly-built plugins
to get blacklisted in the test registry because they rely on a symbol
that the wrongly-pulled in gst lib doesn't have.

This should fix running of unit tests in gst-build when invoking
meson test or ninja test from outside the devenv for the case where
there is an older or different-version gst-plugin-scanner installed
in the install prefix.

In case no gst-plugin-scanner is installed in the install prefix, this
will fix "GStreamer-WARNING: External plugin loader failed. This most
likely means that the plugin loader helper binary was not found or
could not be run. You might need to set the GST_PLUGIN_SCANNER
environment variable if your setup is unusual." warnings when running
the unit tests.

In the case where we find GStreamer core via pkg-config we use
a newly-added pkg-config var "pluginscannerdir" to get the right
directory. This has the benefit of working transparently for both
installed and uninstalled pkg-config files/setups.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/53>

3 years agodvdreadsrc: fix uninitialized warning
Guillaume Desmottes [Wed, 27 May 2020 07:13:17 +0000 (09:13 +0200)]
dvdreadsrc: fix uninitialized warning

Variable is always set in actual code paths but let's keep gcc happy.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/51>

4 years agomeson: Pass native: false to add_languages()
Nirbheek Chauhan [Mon, 11 May 2020 23:37:47 +0000 (05:07 +0530)]
meson: Pass native: false to add_languages()

This is needed for cross-compiling without a build machine compiler
available. The option was added in 0.54, but we only need this in
Cerbero and it doesn't affect older versions so it should be ok.
Will just cause a spurious warning.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/50>

4 years agoasfdemux: Always re-initialize metadata and global_metadata
Derek Lesho [Fri, 3 Apr 2020 19:24:46 +0000 (14:24 -0500)]
asfdemux: Always re-initialize metadata and global_metadata

When transitioning from the PAUSED state, to the READY state, and back,
metadata and global_metadata are left uninitialized, unlike when the
demxuer transitions from NULL to READY, then to PAUSED.  I have found
this to cause a segmentation fault when fields in these structures are
set.

4 years agox264enc: Fix 'ref' property range and default
Nicolas Dufresne [Thu, 2 Apr 2020 20:18:00 +0000 (16:18 -0400)]
x264enc: Fix 'ref' property range and default

The --ref option indicate the size of the DPB, hence should be in the range of
0 to 16. This patch also fix the default to match x264enc default 3. This
change isn't a behaviour change since we don't enforce the reported default.

4 years agoa52dec: Mark as converter
Thibault Saunier [Thu, 19 Mar 2020 21:05:43 +0000 (18:05 -0300)]
a52dec: Mark as converter

It is able to do channel downminxing, so technically it is also a
converter

This is also important so validate knows about that when doing its
checks

4 years agoMerge branch 'tizen_gst_1.16.2' into tizen
Gilbok Lee [Fri, 21 Feb 2020 06:24:12 +0000 (15:24 +0900)]
Merge branch 'tizen_gst_1.16.2' into tizen

Change-Id: I3bcdfa452e9a7f9eb26756f25ccb6e96ccefa446

4 years agoMerge branch 'upstream/1.16' into tizen_gst_1.16.2
Gilbok Lee [Thu, 23 Jan 2020 07:25:51 +0000 (16:25 +0900)]
Merge branch 'upstream/1.16' into tizen_gst_1.16.2

Change-Id: I6e7d06aee81dc8dda405615debd45f0e9885c9a9

4 years agox264enc: Respect Youtube bitrate recommandation
Thibault Saunier [Thu, 17 Oct 2019 12:55:51 +0000 (14:55 +0200)]
x264enc: Respect Youtube bitrate recommandation

Properly follow google recommendations[0] concerning bitrate when the
user wants to use the youtube profile.

[0]: https://support.google.com/youtube/answer/1722171?hl=en

4 years agougly: use of g_value_dup_string
Stéphane Cerveau [Wed, 18 Dec 2019 15:09:42 +0000 (16:09 +0100)]
ugly: use of g_value_dup_string

Use helper method to get string from GValue.

4 years agox264enc: fixed codestyle
Dmitry Shusharin [Sat, 14 Dec 2019 11:49:54 +0000 (18:49 +0700)]
x264enc: fixed codestyle

4 years agox264enc: corrected em_data value in CEA-708 CC SEI message (fixes #28)
Dmitry Shusharin [Sat, 14 Dec 2019 10:15:21 +0000 (17:15 +0700)]
x264enc: corrected em_data value in CEA-708 CC SEI message (fixes #28)

Section 4.4 of CEA-708-D specification (table 2) requires all bits to be
set inside em_data field. h264parse element (and possible third-party
decoders such as libav) also follows this requirement.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/issues/28

4 years agoRelease 1.16.2
Tim-Philipp Müller [Tue, 3 Dec 2019 11:07:52 +0000 (11:07 +0000)]
Release 1.16.2

4 years agoUpdate docs
Tim-Philipp Müller [Tue, 3 Dec 2019 11:07:52 +0000 (11:07 +0000)]
Update docs

4 years agoRemove autotools build system
Tim-Philipp Müller [Sat, 8 Jun 2019 23:30:53 +0000 (00:30 +0100)]
Remove autotools build system

4 years agoRelease 1.16.1
Tim-Philipp Müller [Mon, 23 Sep 2019 10:10:55 +0000 (11:10 +0100)]
Release 1.16.1

4 years agoUpdate docs
Tim-Philipp Müller [Mon, 23 Sep 2019 10:10:55 +0000 (11:10 +0100)]
Update docs

4 years agomeson: Always require the gmodule dependency
Sebastian Dröge [Mon, 22 Apr 2019 09:51:33 +0000 (12:51 +0300)]
meson: Always require the gmodule dependency

It's needed by the dvdread plugin but also by the x264 plugin in certain
circumstances. As it's part of GLib and always available, simply move it
as a hard dependency to the top-level meson.build.

4 years agodocumentation: fix some typos
Aaron Boxer [Mon, 2 Sep 2019 13:33:15 +0000 (09:33 -0400)]
documentation: fix some typos

4 years agodocstrings: port ulinks to markdown links
Mathieu Duponchelle [Fri, 23 Aug 2019 17:06:59 +0000 (19:06 +0200)]
docstrings: port ulinks to markdown links

4 years agomeson: Don't generate doc cache when no plugins are enabled
Matthew Waters [Fri, 23 Aug 2019 06:25:25 +0000 (16:25 +1000)]
meson: Don't generate doc cache when no plugins are enabled

Fixes gst-build with -Dauto-features=disabled -Dugly=enabled

4 years agox264enc: Port to color_{primaries,transfer,matrix}_to_iso
Seungha Yang [Mon, 15 Jul 2019 12:56:57 +0000 (21:56 +0900)]
x264enc: Port to color_{primaries,transfer,matrix}_to_iso

... with more color value mapping

4 years agotests: x264enc: Enable test on Windows
Seungha Yang [Mon, 15 Jul 2019 13:38:35 +0000 (22:38 +0900)]
tests: x264enc: Enable test on Windows

... with removal of pointless unistd.h dependency.
Note that full dependency listing is required to run unit test
executable binary on Windows uninstalled environment.

4 years agomeson: Bump minimal GLib version to 2.44
Niels De Graef [Fri, 31 May 2019 21:07:58 +0000 (23:07 +0200)]
meson: Bump minimal GLib version to 2.44

This means we can use some newer features and get rid of some
boilerplate code using the G_DECLARE_* macros.

As discussed on IRC, 2.44 is old enough by now to start depending on it.

4 years agodoc: remove xml from comments
Mathieu Duponchelle [Wed, 29 May 2019 21:00:48 +0000 (23:00 +0200)]
doc: remove xml from comments

5 years agoasfdemux: remove some unused cruft in internal headers
Tim-Philipp Müller [Sat, 25 May 2019 12:19:54 +0000 (14:19 +0200)]
asfdemux: remove some unused cruft in internal headers

5 years agodocs: Stop building the doc cache by default
Thibault Saunier [Thu, 16 May 2019 13:15:52 +0000 (09:15 -0400)]
docs: Stop building the doc cache by default

And update the cache

Fixes https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/36

5 years agodocs: Update plugins documentation cache
Thibault Saunier [Tue, 14 May 2019 02:54:16 +0000 (22:54 -0400)]
docs: Update plugins documentation cache

5 years agodocs: Port documentation to hotdoc
Thibault Saunier [Mon, 22 Oct 2018 09:47:37 +0000 (11:47 +0200)]
docs: Port documentation to hotdoc

5 years agoci: use template from 1.16 branch
Tim-Philipp Müller [Thu, 2 May 2019 11:35:23 +0000 (12:35 +0100)]
ci: use template from 1.16 branch

5 years agodocs: Port all docstring to gtk-doc markdown
Thibault Saunier [Mon, 22 Oct 2018 09:47:32 +0000 (11:47 +0200)]
docs: Port all docstring to gtk-doc markdown

5 years agomeson: sidplay: use library() instead of shared_module()
Tim-Philipp Müller [Fri, 26 Apr 2019 17:28:04 +0000 (18:28 +0100)]
meson: sidplay: use library() instead of shared_module()

Like we do for other plugins, and also install a .pc file
if we build the plugin statically.

5 years agomeson: Always require the gmodule dependency
Sebastian Dröge [Mon, 22 Apr 2019 09:51:33 +0000 (12:51 +0300)]
meson: Always require the gmodule dependency

It's needed by the dvdread plugin but also by the x264 plugin in certain
circumstances. As it's part of GLib and always available, simply move it
as a hard dependency to the top-level meson.build.

5 years agoBack to development
Tim-Philipp Müller [Fri, 19 Apr 2019 09:28:17 +0000 (10:28 +0100)]
Back to development

5 years agoRelease 1.16.0
Tim-Philipp Müller [Thu, 18 Apr 2019 23:24:40 +0000 (00:24 +0100)]
Release 1.16.0