Commit graph

5562 commits

Author SHA1 Message Date
Sebastian Dröge e4eeef2bbf docs: Update gst_plugins_cache.json 2020-06-03 22:44:20 -04:00
Sebastian Dröge dddf71b18d plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:20 -04:00
Tim-Philipp Müller 112174bcea asfdemux: extract WM/PartOfSet disc number and count metadata
Fixes #30

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/54>
2020-06-02 12:26:41 +01:00
Tim-Philipp Müller 4f4b67bea4 asfdemux: sprinkle some INDENT-OFF
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/54>
2020-06-02 12:26:41 +01:00
Tim-Philipp Müller 4063a319c5 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>
2020-05-27 14:55:11 +01:00
Guillaume Desmottes 887416db4b 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>
2020-05-27 09:13:17 +02:00
Nirbheek Chauhan 8562bb304d 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>
2020-05-12 05:07:47 +05:30
Derek Lesho 8fe8ed3dd2 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.
2020-04-08 11:06:27 +03:00
Nicolas Dufresne 15440f2ddc 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.
2020-04-02 20:26:07 +00:00
Thibault Saunier 9b1e183256 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
2020-03-19 18:09:50 -03:00
Thibault Saunier 9273903286 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
2020-01-07 21:21:42 +00:00
Stéphane Cerveau a47b6b5f3c ugly: use of g_value_dup_string
Use helper method to get string from GValue.
2019-12-18 16:09:42 +01:00
Dmitry Shusharin 0dd89a1dd2 x264enc: fixed codestyle 2019-12-14 18:49:54 +07:00
Dmitry Shusharin 9d3b96e5f7 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
2019-12-14 17:24:33 +07:00
Tim-Philipp Müller 3cd445a490 Remove autotools build system 2019-10-13 14:19:11 +01:00
Aaron Boxer 3f24460e37 documentation: fix some typos 2019-09-02 09:33:15 -04:00
Mathieu Duponchelle b3f0008b34 docstrings: port ulinks to markdown links 2019-08-23 19:06:59 +02:00
Matthew Waters 8f5b7a93b4 meson: Don't generate doc cache when no plugins are enabled
Fixes gst-build with -Dauto-features=disabled -Dugly=enabled
2019-08-23 16:25:25 +10:00
Seungha Yang f31f085e7b x264enc: Port to color_{primaries,transfer,matrix}_to_iso
... with more color value mapping
2019-07-15 17:06:23 +00:00
Seungha Yang fe92e92c14 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.
2019-07-15 22:46:18 +09:00
Niels De Graef 985ace70e0 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.
2019-06-02 21:27:12 +02:00
Mathieu Duponchelle dd96c2a989 doc: remove xml from comments 2019-05-29 23:00:48 +02:00
Tim-Philipp Müller f93aa34200 asfdemux: remove some unused cruft in internal headers 2019-05-25 14:19:54 +02:00
Thibault Saunier b081d5a34b docs: Stop building the doc cache by default
And update the cache

Fixes https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/36
2019-05-16 09:34:21 -04:00
Thibault Saunier 89299d478d docs: Update plugins documentation cache 2019-05-13 23:05:57 -04:00
Thibault Saunier 21ac37c61a docs: Port documentation to hotdoc 2019-05-13 17:00:00 -04:00
Thibault Saunier 2df9f6e5ce docs: Port all docstring to gtk-doc markdown 2019-04-26 20:32:26 -04:00
Tim-Philipp Müller e778c5594f 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.
2019-04-26 18:28:04 +01:00
Sebastian Dröge 8c994a632b 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.
2019-04-22 12:51:33 +03:00
Tim-Philipp Müller 7107fc5214 Back to development 2019-04-19 11:00:07 +01:00
Tim-Philipp Müller 6cbac8d09f Release 1.16.0 2019-04-19 00:24:41 +01:00
Tim-Philipp Müller 1c7e77a60b Update docs 2019-04-19 00:24:40 +01:00
Tim-Philipp Müller 8304f37a63 Update translations 2019-04-19 00:24:38 +01:00
Tim-Philipp Müller 65ff97d85f Release 1.15.90 2019-04-11 00:28:19 +01:00
Tim-Philipp Müller 517a6f2eef Update docs 2019-04-11 00:28:18 +01:00
Nirbheek Chauhan 647ef1b2af meson: Add a subproject fallback for x264 2019-03-27 21:59:45 +05:30
Piotr Drąg 48a83e2b4f Update LINGUAS 2019-03-21 15:45:07 +00:00
Tim-Philipp Müller b5e8ad0530 meson: add -Wno-unused also to C++ args when gst debug system is disabled 2019-03-21 11:38:33 +00:00
Tim-Philipp Müller ab8cc537aa Back to development 2019-03-04 09:08:07 +00:00
Mathieu Duponchelle c4456d574f x264enc: inject CEA708 closed captions 2019-02-28 16:24:39 +01:00
Tim-Philipp Müller 19b744631b Release 1.15.2 2019-02-26 11:48:51 +00:00
Tim-Philipp Müller 6ca5b079b8 Update docs 2019-02-26 11:48:50 +00:00
Tim-Philipp Müller 38ba329ada Update translations 2019-02-26 11:48:49 +00:00
Tim-Philipp Müller ba08aa1c2f sidplay: fix indentation 2019-02-22 23:54:56 +00:00
Sebastian Dröge aebb6bd9f3 dvdreadsrc: Work around GCC9 compiler warning
It's technically true but not for this specific type.

dvdreadsrc.c:394:65: error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  394 |       gst_dvd_read_src_make_clut_change_event (src, src->cur_pgc->palette);
      |                                                     ~~~~~~~~~~~~^~~~~~~~~
2019-02-12 18:08:59 +02:00
Seungha Yang de65f8867b meson: Add support orc fallback
Allow fallback to orc subproject if any.
2019-01-30 19:50:30 +09:00
Sebastian Dröge 2942f7d931 x264: Only enable dynamic loading code for x264 < 253
Otherwise we get some compiler warnings:

../subprojects/gst-plugins-ugly/ext/x264/gstx264enc.c:200:1: warning: ‘unload_x264’ defined but not used [-Wunused-function]
 unload_x264 (GstX264EncVTable * vtable)
 ^~~~~~~~~~~
../subprojects/gst-plugins-ugly/ext/x264/gstx264enc.c:154:1: warning: ‘load_x264’ defined but not used [-Wunused-function]
 load_x264 (const gchar * filename)
 ^~~~~~~~~
2019-01-25 14:38:05 +02:00
Sebastian Dröge 7ac2f7fec5 x264: Link to gmodule in the meson build if extra x264 libraries are provided
We would dynamically load additional x264 libraries then.
2019-01-25 14:36:55 +02:00
Helmut Grohne 248f174c3e sid: Fix cross-compilation by using AC_TRY_LINK instead of AC_TRY_RUN
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917899
2019-01-17 17:29:38 +02:00
Tim-Philipp Müller 2365d2b5d7 Release 1.15.1 2019-01-17 02:02:32 +00:00