Commit graph

5550 commits

Author SHA1 Message Date
Seungha Yang
7e63943361 x264enc: Avoid format decision per frame
Avoid switch/case per frame for format decision and detect the format
only if where it could be changed. Note that, whenever encoder->input_state
is changed, gst_x264_enc_init_encoder() is called.

https://bugzilla.gnome.org/show_bug.cgi?id=797164
2018-09-22 12:42:34 +01:00
Tim-Philipp Müller
6c37b359ee meson: add glib-checks option to disable API guards and such
We want this enabled by default, also in releases, but people
may want to disable this for performance-critical workloads or
on embedded devices.
2018-09-19 12:00:32 +01:00
Tim-Philipp Müller
b71b9ec934 meson: fix missing closing bracket in option descriptions 2018-09-19 11:58:54 +01:00
Tim-Philipp Müller
71a35e7c8b meson: add option to disable tests 2018-08-18 21:27:24 +01:00
Tim-Philipp Müller
0f86a27df9 meson: clean up some cruft 2018-08-18 21:20:20 +01:00
Tim-Philipp Müller
d24e1caf8e meson: add options to disable gobject cast checks and glib asserts
... and define G_DISABLE_DEPRECATED for development versions,
like we do in autotools.
2018-08-18 21:15:23 +01:00
Jan Alexander Steffens (heftig)
cf385f20cf x264enc: Set bit depth for x264 ≥ 153
https://bugzilla.gnome.org/show_bug.cgi?id=796975
2018-08-16 16:43:01 +03:00
Jan Alexander Steffens (heftig)
484ee3e032 x264enc: Remove superfluous x264_param_default
https://bugzilla.gnome.org/show_bug.cgi?id=796973
2018-08-16 16:42:51 +03:00
Nirbheek Chauhan
c5cddfcec4 Add feature options for all plugins
The only automagic dependency left is C++ availability detection.

https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 19:34:01 +05:30
Nirbheek Chauhan
af94a5550d meson: Convert common options to feature options
The rest will be converted later, these are necessary for gst-build to
set options correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-25 19:32:06 +05:30
Edward Hervey
ff4cca75b2 asfdemux: Remove 0.10 code
This was used to "close" a segment. It's no longer needed anymore
in 1.x (it was essentially sending the same thing again)
2018-06-11 14:43:20 +02:00
Edward Hervey
fd59ea8c7d asfdemux: Only send flush event on seeking flushes
And not on all the time
2018-05-22 06:52:58 +02:00
Tim-Philipp Müller
906b37de60 meson: add 'nls' option to disable translations
And enable by default. Was implicitly disabled because
ENABLE_NLS was not defined. Also use .set_quoted().
2018-05-21 11:55:53 +01:00
Nirbheek Chauhan
ac90718ffc meson: Update option names to omit disable_ and with- prefixes
Also yield common options to the outer project (gst-build in our case)
so that they don't have to be set manually.
2018-05-05 19:32:00 +05:30
Jan Schmidt
c789277ec0 dvdsubdec: Take the highlight event from the structure.
Don't use GST_EVENT_TIMESTAMP to transfer any PTS
associated with a highlight event, instead store
it in the event structure directly, as
GstEvent::timestamp will disappear in GStreamer 2.0

https://bugzilla.gnome.org/show_bug.cgi?id=761477
2018-05-04 22:54:01 +10:00
Xavier Claessens
6b01999087 Meson: Generate pc file for all plugins in ugly
https://bugzilla.gnome.org/show_bug.cgi?id=794568
2018-04-25 11:07:39 +01:00
Tim-Philipp Müller
a76c63ba38 meson: use -Wl,-Bsymbolic-functions where supported
Just like the autotools build.
2018-04-25 10:59:11 +01:00
Sebastian Dröge
0c9a8e9e3b asfdemux: Set the stream-format field of H264 streams
If we have codec_data it will be AVC, otherwise assume byte-stream.
2018-04-16 20:14:16 +03:00
Tim-Philipp Müller
6ded7a45ba Automatic update of common submodule
From 3fa2c9e to ed78bee
2018-04-16 10:53:12 +01:00
Tim-Philipp Müller
fb3fe425ef Back to development 2018-03-20 09:26:15 +00:00
Tim-Philipp Müller
3d6b928e17 Release 1.14.0 2018-03-19 20:19:43 +00:00
Tim-Philipp Müller
d00b236ce0 Update docs 2018-03-19 20:19:43 +00:00
Tim-Philipp Müller
f16550f6cb Release 1.13.91 2018-03-13 19:18:00 +00:00
Tim-Philipp Müller
5f30ad5b4b Update docs 2018-03-13 19:17:58 +00:00
Tim-Philipp Müller
fe93808771 docs: plugins: minor addition to plugins list 2018-03-12 20:19:33 +00:00
Michael Tretter
a8f55f0f45 configure.ac: enable largefile support if possible
https://bugzilla.gnome.org/show_bug.cgi?id=793103
2018-03-08 11:19:49 -05:00
Tim-Philipp Müller
7593095967 Release 1.13.90 2018-03-03 22:24:30 +00:00
Tim-Philipp Müller
7c1c4f8efa Update docs 2018-03-03 22:24:28 +00:00
Mathieu Duponchelle
7ce5d16b5c meson: enable more warnings 2018-03-01 19:24:30 +01:00
Tim-Philipp Müller
83c38dc446 x264enc: fix build with newer x264 with support for multiple bit depths
libx264 used to be built for one specific bit depth, and if we
wanted to support multiple bit depths we would have to dynamically
load the right .so from different paths. That has changed now, and
libx264 can include support for multiple depths in the same lib,
so we don't need to do the dlopen() dance any more. We'll keep
the vtable stuff around until we can drop support for older x264.

gstx264enc.c:2927:36: error: ‘x264_bit_depth’ undeclared

https://bugzilla.gnome.org/show_bug.cgi?id=792111
2018-02-28 10:07:13 +00:00
Alicia Boya García
725de9b92e x264enc: Add format example for option-string
https://bugzilla.gnome.org/show_bug.cgi?id=793879
2018-02-27 13:51:19 -05:00
Tim-Philipp Müller
fb5f718e14 meson: simplify GST_DISABLE_GST_DEBUG check and don't use add_global_*
add_global_arguments() can't be used in subprojects. It's
entirely possible that -ugly is a subproject but gstreamer
is picked up from an installed location, so we should
really use add_project_arguments() in both cases.
2018-02-21 19:47:36 +00:00
Tim-Philipp Müller
8c3daab0e2 Back to development 2018-02-15 19:44:21 +00:00
Tim-Philipp Müller
91d953b369 Release 1.13.1 2018-02-15 17:10:13 +00:00
Tim-Philipp Müller
6a22d8a3be docs: update plugin docs 2018-02-15 17:09:39 +00:00
Tim-Philipp Müller
67f768366f po: update translations 2018-02-15 14:52:29 +00:00
Tim-Philipp Müller
d3bfc7d469 meson: make version numbers ints and fix int/string comparison
WARNING: Trying to compare values of different types (str, int).
The result of this is undefined and will become a hard error
in a future Meson release.
2018-02-08 19:10:09 +00:00
Tim-Philipp Müller
cebe563f16 autotools: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-02-05 08:26:05 +01:00
Tim-Philipp Müller
4007aaf3a7 meson: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-30 20:34:54 +00:00
Edward Hervey
63f8d33a6f amrnbdec: Don't use g_return_*_if_fail() on data parsing
Those functions can be disabled. Instead just use the (existing)
function.

CID #1427121
2018-01-03 16:04:26 +01:00
Edward Hervey
6da70e278a amrwbdec: Don't use g_return_*_if_fail() on data parsing
Those functions can be disabled. Instead just use the (existing)
function.

CID #1427093
2018-01-03 16:02:08 +01:00
Tim-Philipp Müller
c9baaf3e50 meson: skip translations if gettext is not available 2017-12-26 13:51:37 +01:00
Matthew Waters
a98d2a8ecc Automatic update of common submodule
From e8c7a71 to 3fa2c9e
2017-12-14 14:49:17 +11:00
Justin Kim
8100d781b7 x264enc: add 'insert-vui' property for users to choose
VUI(Video Usability Information) parameters should be set
according to the specification. However, some of the existing
hardware decoders refuse to decode in certain combinations of
the resolution and VUI parameters. To support the legacy
decoders, this patch provides 'insert-vui' to skip the settings.

https://bugzilla.gnome.org/show_bug.cgi?id=791331
2017-12-08 15:40:47 -05:00
Sebastian Dröge
0f7e4c90d5 cdio: Fix build with cdio >= 1.0
LIBCDIO_VERSION_NUM was defined as e.g. 94 for 0.94 but is now defined
as 1 for 1.0. We had various checks for < 83, which of course succeeded
now although we are >= 0.83.

Fix this by checking for < 76 (0.76) too, as that is the minimum version
we currently support and everything < 76 is going to be >= 1.0.

https://bugzilla.gnome.org/show_bug.cgi?id=791301
2017-12-06 13:01:39 +02:00
Matthew Waters
755df25dc2 Automatic update of common submodule
From 3f4aa96 to e8c7a71
2017-11-27 20:11:56 +11:00
Tim-Philipp Müller
c3ff08cbcc configure: actually use -fvisibility if supported
Fix up for previous commit.
2017-11-26 15:05:14 +00:00
Tim-Philipp Müller
445a755ca9 autotools: stop controlling symbol visibility with -export-symbols-regex
Instead, use -fvisibility=hidden and explicit exports via GST_EXPORT.
This should result in consistent behaviour for the autotools and
Meson builds.
2017-11-26 14:49:21 +00:00
Edward Hervey
f86751d9f7 asfdemux: Fix prerolling files with "empty" streams
This is a regression that was introduced by
commit 1803b3c185
"    asfdemux: Add support for dvr-ms"

The problem is that some files/streams might contain stream definition
but there is no actual packets for those streams.

This was used to "define" streams with different bitrates for example.

The first_ts calculation resulted in never ever finding a valid first_ts
since some streams were empty, and therefore never "activating" itself.

Instead of that we first check if we are prerolled. And if we are we
unconditionally get the "first_ts"

The preroll check has been adapted to check whether streams of
each defined type (i.e. audio/video/sub) has been prerolled. This solves
the problem of having different streams of a particular type where only
one stream actually has data.
2017-11-13 11:13:30 +01:00
Edward Hervey
2d9867b120 asfdemux: Store the stream type in streams
The field was present but never set :)
2017-11-13 11:09:31 +01:00