Sebastian Dröge [Wed, 6 Dec 2017 11:01:39 +0000 (13:01 +0200)]
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
Matthew Waters [Mon, 27 Nov 2017 09:11:56 +0000 (20:11 +1100)]
Automatic update of common submodule
From 3f4aa96 to e8c7a71
Tim-Philipp Müller [Sun, 26 Nov 2017 15:05:14 +0000 (15:05 +0000)]
configure: actually use -fvisibility if supported
Fix up for previous commit.
Tim-Philipp Müller [Sun, 26 Nov 2017 14:49:21 +0000 (14:49 +0000)]
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.
Edward Hervey [Mon, 13 Nov 2017 10:13:30 +0000 (11:13 +0100)]
asfdemux: Fix prerolling files with "empty" streams
This is a regression that was introduced by
commit
1803b3c18530cb0100d140c2b8e49a8dfe41f941
" 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.
Edward Hervey [Mon, 13 Nov 2017 10:09:31 +0000 (11:09 +0100)]
asfdemux: Store the stream type in streams
The field was present but never set :)
Ponnam Srinivas [Tue, 26 Sep 2017 04:41:24 +0000 (10:11 +0530)]
a52dec: Fix out buffer memory leak in error code path
https://bugzilla.gnome.org/show_bug.cgi?id=788119
Deepak Srivastava [Fri, 15 Sep 2017 11:36:58 +0000 (17:06 +0530)]
mpeg2dec: Fix buffer memory leak in error code path
https://bugzilla.gnome.org/show_bug.cgi?id=787817
Satya Prakash Gupta [Thu, 7 Sep 2017 07:57:26 +0000 (13:27 +0530)]
mpeg2dec: Unmap output video frame if copying to it fails
https://bugzilla.gnome.org/show_bug.cgi?id=787398
Satya Prakash Gupta [Thu, 31 Aug 2017 06:03:14 +0000 (11:33 +0530)]
realmedia: fix leak in asmrules error code path
https://bugzilla.gnome.org/show_bug.cgi?id=787056
Satya Prakash Gupta [Wed, 30 Aug 2017 13:11:28 +0000 (18:41 +0530)]
realmedia: Fix Memory leak in error case
https://bugzilla.gnome.org/show_bug.cgi?id=787014
Tim-Philipp Müller [Sat, 26 Aug 2017 12:02:26 +0000 (13:02 +0100)]
tests: remove files that were used by the mpg123 unit test
Tim-Philipp Müller [Sat, 26 Aug 2017 08:35:20 +0000 (09:35 +0100)]
Remove twolame plugin, moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=774252
Tim-Philipp Müller [Sat, 26 Aug 2017 07:51:01 +0000 (08:51 +0100)]
Remove lame plugin, moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=774252
Tim-Philipp Müller [Sun, 20 Aug 2017 13:31:02 +0000 (14:31 +0100)]
Remove mpg123 plugin, moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=774252
Tim-Philipp Müller [Thu, 17 Aug 2017 11:23:43 +0000 (12:23 +0100)]
Automatic update of common submodule
From 48a5d85 to 3f4aa96
Tim-Philipp Müller [Thu, 10 Aug 2017 14:48:27 +0000 (15:48 +0100)]
sidplay: hide symbols in meson for this c++ plugin too
Keep things local, as this is the only c++ plugin
in ugly currently.
Tim-Philipp Müller [Thu, 10 Aug 2017 10:55:58 +0000 (11:55 +0100)]
meson: don't export symbols by default
Only plugin entry points should be exported.
Currently plugins might export more symbols with
the meson build, as we don't have the exports
regexp there that we pass to libtool.
Mark Nauwelaerts [Wed, 9 Aug 2017 17:31:56 +0000 (19:31 +0200)]
x264enc: add FIXME note for future configuration cleanup
Satya Prakash Gupta [Tue, 25 Jul 2017 08:06:17 +0000 (13:36 +0530)]
dvdreadsrc: Fix string memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=785388
Tim-Philipp Müller [Sat, 15 Jul 2017 14:01:09 +0000 (15:01 +0100)]
x264enc: fix indentation
Tim-Philipp Müller [Sat, 15 Jul 2017 13:59:42 +0000 (14:59 +0100)]
x264enc: fix caps leak
Move creation of supported sink pads into class_init function
which is also the only place where they're used. Unref the
caps when no longer needed, the pad template will take its
own ref.
https://bugzilla.gnome.org/show_bug.cgi?id=784982
Tim-Philipp Müller [Sat, 15 Jul 2017 13:57:49 +0000 (14:57 +0100)]
mpg123audiodec: fix caps leak
The pad template takes its own ref, so we should unref the caps.
https://bugzilla.gnome.org/show_bug.cgi?id=784982
Tim-Philipp Müller [Sat, 15 Jul 2017 11:49:19 +0000 (12:49 +0100)]
meson: po: use glib preset and read language list from LINGUAS
Supported since meson 0.37, so we can use it now.
Vivia Nikolaidou [Tue, 11 Jul 2017 11:21:41 +0000 (14:21 +0300)]
dvdlpmdec: Fix overrun from coverity
CID #1414801
Tim-Philipp Müller [Fri, 7 Jul 2017 10:58:36 +0000 (11:58 +0100)]
meson: find python3 via python3 module
https://bugzilla.gnome.org/show_bug.cgi?id=783198
Vivia Nikolaidou [Wed, 5 Jul 2017 15:58:35 +0000 (18:58 +0300)]
dvdlpcmdec: Added support for Blu-Ray audio
https://bugzilla.gnome.org/show_bug.cgi?id=784552
Edward Hervey [Tue, 27 Jun 2017 09:48:08 +0000 (11:48 +0200)]
asfdemux: More index handling
In the same vein as the previous commit, the end of the file might have been
cut and therefore contains bogus data.
If the object is too short, consider it as garbage and return a non-fatal
flow.
Regression introduced in
97294eb8bbed1b9dad7d3f2c52dd69eb1812cc06
Edward Hervey [Tue, 27 Jun 2017 08:25:42 +0000 (10:25 +0200)]
asfdemux; Don't assume index is present at end of file
Some files have garbage at the end of the file, don't error out if we don't
find the index there.
Reverts back to previous behaviour (where corrupted/missing indexex were
not a fatal error).
Regression introduced in
97294eb8bbed1b9dad7d3f2c52dd69eb1812cc06
Tim-Philipp Müller [Mon, 26 Jun 2017 08:49:22 +0000 (09:49 +0100)]
meson: fix with-package-name option
https://bugzilla.gnome.org/show_bug.cgi?id=784082
Mark Nauwelaerts [Wed, 14 Jun 2017 19:08:31 +0000 (21:08 +0200)]
asfdemux: adjust segment start to a keyframe ts only for a KEYUNIT seek
... which is how it has always been until changed coincidentally in commit
9ee60482b265481d0e3b397044f560eb736e5429 which then prompted commit
dba14178ce6115b406ef86e356b1201463af5e2a to consider ACCURATE as well
to compensate for that in a lateral way
Mark Nauwelaerts [Wed, 14 Jun 2017 18:56:16 +0000 (20:56 +0200)]
x264enc: relax bframes upper limit count to maximum encoder supported
Tim-Philipp Müller [Fri, 23 Jun 2017 22:44:18 +0000 (23:44 +0100)]
meson: don't error out if sidplay library is not found
Tim-Philipp Müller [Fri, 23 Jun 2017 17:33:24 +0000 (18:33 +0100)]
meson: build sid plugin
https://bugzilla.gnome.org/show_bug.cgi?id=784135
Víctor Manuel Jáquez Leal [Wed, 21 Jun 2017 19:23:29 +0000 (21:23 +0200)]
x264: fix memory leak
When the allowed caps are the same of template caps the allowed
caps are not unrefed, leaking memory.
https://bugzilla.gnome.org/show_bug.cgi?id=784060
Thibault Saunier [Wed, 7 Jun 2017 16:08:43 +0000 (12:08 -0400)]
meson: Do not use path separator in test names
Avoiding warnings like:
WARNING: Target "elements/audioamplify" has a path separator in its name.
Thiago Santos [Wed, 7 Jun 2017 04:48:19 +0000 (21:48 -0700)]
asfdemux: fix checking for header objects
The if 'and' condition was mixed up with the last parameter of the
function and would lead to wrong results
Tim-Philipp Müller [Sun, 21 May 2017 16:49:59 +0000 (17:49 +0100)]
meson: don't need config.h.meson any longer
Tim-Philipp Müller [Sat, 20 May 2017 13:58:37 +0000 (14:58 +0100)]
meson: add options to set package name and origin
https://bugzilla.gnome.org/show_bug.cgi?id=782172
Jan Schmidt [Fri, 19 May 2017 18:05:02 +0000 (20:05 +0200)]
Add gstvideo_dep for meson mpeg2dec test build
Jan Schmidt [Fri, 19 May 2017 16:59:17 +0000 (18:59 +0200)]
mpeg2dec test: Fix expected output caps
In the absence of explicit info, video decoders
now output mono multiview caps by default, so make
the expected caps match that
Nicolas Dufresne [Tue, 16 May 2017 18:07:56 +0000 (14:07 -0400)]
Remove plugin specific static build option
Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.
Nicolas Dufresne [Tue, 9 May 2017 13:45:27 +0000 (09:45 -0400)]
sid: Make plugin name match plugin file name
Sebastian Dröge [Thu, 4 May 2017 15:59:14 +0000 (18:59 +0300)]
Back to development
Sebastian Dröge [Thu, 4 May 2017 12:39:25 +0000 (15:39 +0300)]
Release 1.12.0
Sebastian Dröge [Thu, 4 May 2017 12:12:50 +0000 (15:12 +0300)]
Update .po files
Sebastian Dröge [Thu, 4 May 2017 10:47:56 +0000 (13:47 +0300)]
po: Update translations
Sebastian Dröge [Thu, 27 Apr 2017 14:33:23 +0000 (17:33 +0300)]
Release 1.11.91
Sebastian Dröge [Thu, 27 Apr 2017 13:08:13 +0000 (16:08 +0300)]
Update .po files
Sebastian Dröge [Thu, 27 Apr 2017 12:29:48 +0000 (15:29 +0300)]
po: Update translations
Nirbheek Chauhan [Thu, 27 Apr 2017 07:12:34 +0000 (12:42 +0530)]
x264: Use __declspec(dllimport) with MinGW too
x264.h says this isn't needed with MinGW, but it looks like it is.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=779249
Tim-Philipp Müller [Mon, 24 Apr 2017 19:28:15 +0000 (20:28 +0100)]
Automatic update of common submodule
From 60aeef6 to 48a5d85
Tim-Philipp Müller [Mon, 10 Apr 2017 22:49:25 +0000 (23:49 +0100)]
Automatic update of common submodule
From 39ac2f5 to 60aeef6
Sebastian Dröge [Fri, 7 Apr 2017 13:34:22 +0000 (16:34 +0300)]
Release 1.11.90
Sebastian Dröge [Fri, 7 Apr 2017 12:33:31 +0000 (15:33 +0300)]
Update .po files
Sebastian Dröge [Fri, 7 Apr 2017 12:07:50 +0000 (15:07 +0300)]
po: Update translations
Thibault Saunier [Tue, 28 Mar 2017 17:18:38 +0000 (14:18 -0300)]
meson: test: Fix environment object usage
And use get_pkgconfig_variable instead of calling pkg-config ourself
Tim-Philipp Müller [Mon, 20 Mar 2017 17:06:16 +0000 (17:06 +0000)]
REQUIREMENTS: update for mad mp3 decoder removal
https://bugzilla.gnome.org/show_bug.cgi?id=776140
Nicolas Dufresne [Sun, 12 Mar 2017 15:57:23 +0000 (11:57 -0400)]
Add libgstrmdemux.so to cruft list
This was renamed to libgstrealmedia.so, this fixes helps fixing
uninstalled setup.
https://bugzilla.gnome.org/show_bug.cgi?id=779344
Nicolas Dufresne [Sat, 4 Mar 2017 16:09:33 +0000 (11:09 -0500)]
Rename plugin filenames to match plugin names
libgstrmdemux.so becomes libgstrealmedia.so
https://bugzilla.gnome.org/show_bug.cgi?id=779344
Jan Schmidt [Wed, 1 Mar 2017 12:00:55 +0000 (23:00 +1100)]
mpeg2dec: Fix latency calculation
The latency calculation was missing a scaling by GST_SECOND,
so it would always report a tiny latency. Fix that.
Spotted by Guillaume Desmottes.
Sebastian Dröge [Mon, 27 Feb 2017 18:55:34 +0000 (20:55 +0200)]
asfdemux: Fix compilation with gcc 7
gstasfdemux.c: In function 'gst_asf_demux_parse_stream_object':
gstasfdemux.c:3001:39: error: '<<' in boolean context, did you mean '<' ? [-Werror=int-in-bool-context]
is_encrypted = ! !((flags & 0x8000) << 15);
~~~~~~~~~~~~~~~~~~^~~~~~
https://bugzilla.gnome.org/show_bug.cgi?id=779329
Edgard Lima [Sun, 26 Feb 2017 00:48:46 +0000 (21:48 -0300)]
Update Edgard Lima's email
https://bugzilla.gnome.org/show_bug.cgi?id=779230
Sebastian Dröge [Fri, 24 Feb 2017 13:59:47 +0000 (15:59 +0200)]
meson: Update version
Sebastian Dröge [Fri, 24 Feb 2017 13:37:43 +0000 (15:37 +0200)]
Back to development
Sebastian Dröge [Fri, 24 Feb 2017 13:07:54 +0000 (15:07 +0200)]
Release 1.11.2
Sebastian Dröge [Fri, 24 Feb 2017 10:57:00 +0000 (12:57 +0200)]
Update .po files
Sebastian Dröge [Fri, 24 Feb 2017 10:45:43 +0000 (12:45 +0200)]
po: Update translations
Tim-Philipp Müller [Tue, 14 Feb 2017 19:56:13 +0000 (19:56 +0000)]
meson: dist meson build files
Ship meson build files in tarballs, so people who use tarballs
in their builds can start playing with meson already.
Nirbheek Chauhan [Tue, 31 Jan 2017 21:38:10 +0000 (03:08 +0530)]
x264: Initialize function vtable in plugin_init()
These values are defined in the x264.h header and are not const on
Windows due to the way DLLs work. See:
https://msdn.microsoft.com/en-us/library/619w14ds.aspx
https://msdn.microsoft.com/en-us/library/zw3za17w.aspx
https://bugzilla.gnome.org/show_bug.cgi?id=777903
Sebastian Dröge [Tue, 31 Jan 2017 11:50:21 +0000 (13:50 +0200)]
asfdemux: Check that we have enough data available before parsing bool/uint extended content descriptors
https://bugzilla.gnome.org/show_bug.cgi?id=777955
Sebastian Dröge [Mon, 30 Jan 2017 13:39:59 +0000 (15:39 +0200)]
asfdemux: Reset number of languages to 0 when freeing the array because of errors
Otherwise we will happily index into the array at NULL if the requested
index is smaller than the number of languages that were previously
allocated.
https://bugzilla.gnome.org/show_bug.cgi?id=777937
Thibault Saunier [Tue, 24 Jan 2017 22:24:10 +0000 (19:24 -0300)]
meson: Properly use ':' for defining keywords
Tim-Philipp Müller [Fri, 13 Jan 2017 12:39:09 +0000 (12:39 +0000)]
meson: bump version
Sebastian Dröge [Thu, 12 Jan 2017 14:32:52 +0000 (16:32 +0200)]
Back to development
Sebastian Dröge [Thu, 12 Jan 2017 14:10:25 +0000 (16:10 +0200)]
Release 1.11.1
Sebastian Dröge [Thu, 12 Jan 2017 12:45:56 +0000 (14:45 +0200)]
Update .po files
Sebastian Dröge [Thu, 12 Jan 2017 12:37:02 +0000 (14:37 +0200)]
po: Update translations
Thibault Saunier [Fri, 16 Dec 2016 19:52:00 +0000 (16:52 -0300)]
meson: Install presets files
Mathieu Duponchelle [Fri, 26 Jun 2015 18:22:47 +0000 (20:22 +0200)]
x264enc: Add a youtube preset.
Based on https://support.google.com/youtube/answer/1722171
https://bugzilla.gnome.org/show_bug.cgi?id=751560
Tim-Philipp Müller [Wed, 28 Dec 2016 10:42:15 +0000 (10:42 +0000)]
mad: remove plugin
We have better replacements such as the mpg123 plugin.
The main reason to keep around mad was for 'freeform'
mp3 support, but mpg123 can handle those too nowadays.
Also, mad is GPL and has been unmaintained for years.
https://bugzilla.gnome.org/show_bug.cgi?id=776140
Tim-Philipp Müller [Fri, 16 Dec 2016 19:07:51 +0000 (19:07 +0000)]
win32: remove platform-specific copies of generated headers
Unused and no longer needed.
Tim-Philipp Müller [Wed, 14 Dec 2016 10:24:26 +0000 (10:24 +0000)]
Remove generated .spec file
Likely extremely bitrotten, and we should not ship this anyway.
Thibault Saunier [Fri, 9 Dec 2016 20:45:34 +0000 (17:45 -0300)]
meson: Support building without Gst debug
Edward Hervey [Sat, 3 Dec 2016 07:19:44 +0000 (08:19 +0100)]
Automatic update of common submodule
From f980fd9 to 39ac2f5
Sebastian Dröge [Fri, 2 Dec 2016 12:06:21 +0000 (14:06 +0200)]
asfdemux: Fix memory leak of payload extensions for unusable/unsupported streams
https://bugzilla.gnome.org/show_bug.cgi?id=775515
Vivia Nikolaidou [Wed, 30 Nov 2016 16:11:30 +0000 (18:11 +0200)]
x264enc: Add information for mixed mode
https://bugzilla.gnome.org/show_bug.cgi?id=775411
Vivia Nikolaidou [Wed, 30 Nov 2016 15:30:33 +0000 (17:30 +0200)]
x264enc: Correctly pass interlacing/TFF information
Give the interlacing information correctly to the encoder. Also parse
TFF/BFF information from the caps and pass it too.
https://bugzilla.gnome.org/show_bug.cgi?id=775411
Vivia Nikolaidou [Mon, 28 Nov 2016 13:14:18 +0000 (15:14 +0200)]
x264enc: Auto-detect interlace mode from caps
If the caps are interlaced, interlacing is always enabled on the
encoder. If the interlace-mode field is missing or if it's progressive,
the encoder uses the "interlaced" property.
https://bugzilla.gnome.org/show_bug.cgi?id=775228
Tim-Philipp Müller [Sat, 26 Nov 2016 11:20:51 +0000 (11:20 +0000)]
common: use https protocol for common submodule
https://bugzilla.gnome.org/show_bug.cgi?id=775110
Sebastian Dröge [Fri, 25 Nov 2016 21:51:00 +0000 (23:51 +0200)]
real: Fix compiler warnings with latest clang
realhash.c:295:11: error: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Werror,-Wconstant-conversion]
*buf1 = 128;
~ ^~~
https://bugzilla.gnome.org/show_bug.cgi?id=775112
Edward Hervey [Fri, 25 Nov 2016 11:41:03 +0000 (12:41 +0100)]
asfdemux: Allow 64bit sizes for DATA object
we *can* have files greater than 4GB, any other object should be
smaller than that
Edward Hervey [Fri, 25 Nov 2016 09:07:35 +0000 (10:07 +0100)]
asfdemux: Add sanity check for asf_stream_audio
We should have enough bytes for the specified codec_data
https://bugzilla.gnome.org/show_bug.cgi?id=775070
Edward Hervey [Fri, 25 Nov 2016 08:45:04 +0000 (09:45 +0100)]
asfdemux: Add sanity checks when reading asf_stream_video_format
It should report a size of at least 40 bytes
Also check for the size of the remaining data (i.e. codec_data)
https://bugzilla.gnome.org/show_bug.cgi?id=775070
Edward Hervey [Fri, 25 Nov 2016 08:44:05 +0000 (09:44 +0100)]
asfdemux: Add check for invalid/corrupt asf object
An asf object can't realistically be bigger than 2**32 bytes.
If it reports a size bigger than that, consider it corrupt and properly
propagate the error back.
https://bugzilla.gnome.org/show_bug.cgi?id=775070
Edward Hervey [Tue, 22 Nov 2016 16:14:44 +0000 (17:14 +0100)]
asfdemux: Handle EOS in push-mode on corrupted files
It is possible no streams were activated when receiving EOS, if so
handled it as if we hadn't seen the header
https://bugzilla.gnome.org/show_bug.cgi?id=774846
Edward Hervey [Tue, 22 Nov 2016 15:56:04 +0000 (16:56 +0100)]
asfdemux: FILE headers are mandatory in the header
As per the specification, also avoids ending up trying to play a
file with plenty of un-initialized values.
https://bugzilla.gnome.org/show_bug.cgi?id=774846
Edward Hervey [Tue, 22 Nov 2016 15:54:26 +0000 (16:54 +0100)]
asfdemux: Handle incomplete header in pull mode
pulling headers is meant to complete as a whole. If we don't have
enough data, it's an error.
Avoids pipeline hangs on corrupted files
https://bugzilla.gnome.org/show_bug.cgi?id=774846
Edward Hervey [Tue, 22 Nov 2016 15:22:49 +0000 (16:22 +0100)]
asfdemux: Handle issues with "empty" files
In some corrupted files, we could end up with no actual streams
being exposed.
In those cases, make sure we properly propagate the failure all
the way to the loop function. This avoids ending up in cases where
we are neither EOS'd nor ERROR'd out from a pipeline point of view.
https://bugzilla.gnome.org/show_bug.cgi?id=774846
Mark Nauwelaerts [Sun, 20 Nov 2016 19:54:25 +0000 (20:54 +0100)]
dvdreadsrc: dvd-spu-clut-change is a sticky custom event