platform/upstream/gst-plugins-ugly.git
6 years agoasfdemux: Fix prerolling files with "empty" streams
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.

6 years agoasfdemux: Store the stream type in streams
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 :)

6 years agoa52dec: Fix out buffer memory leak in error code path
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

6 years agompeg2dec: Fix buffer memory leak in error code path
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

6 years agompeg2dec: Unmap output video frame if copying to it fails
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

6 years agorealmedia: fix leak in asmrules error code path
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

6 years agorealmedia: Fix Memory leak in error case
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

6 years agotests: remove files that were used by the mpg123 unit test
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

6 years agoRemove twolame plugin, moved to -good
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

6 years agoRemove lame plugin, moved to -good
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

6 years agoRemove mpg123 plugin, moved to -good
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

6 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 17 Aug 2017 11:23:43 +0000 (12:23 +0100)]
Automatic update of common submodule

From 48a5d85 to 3f4aa96

6 years agosidplay: hide symbols in meson for this c++ plugin too
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.

6 years agomeson: don't export symbols by default
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.

6 years agox264enc: add FIXME note for future configuration cleanup
Mark Nauwelaerts [Wed, 9 Aug 2017 17:31:56 +0000 (19:31 +0200)]
x264enc: add FIXME note for future configuration cleanup

6 years agodvdreadsrc: Fix string memory leak
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

6 years agox264enc: fix indentation
Tim-Philipp Müller [Sat, 15 Jul 2017 14:01:09 +0000 (15:01 +0100)]
x264enc: fix indentation

6 years agox264enc: fix caps leak
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

6 years agompg123audiodec: fix caps leak
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

6 years agomeson: po: use glib preset and read language list from LINGUAS
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.

6 years agodvdlpmdec: Fix overrun from coverity
Vivia Nikolaidou [Tue, 11 Jul 2017 11:21:41 +0000 (14:21 +0300)]
dvdlpmdec: Fix overrun from coverity

CID #1414801

6 years agomeson: find python3 via python3 module
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

6 years agodvdlpcmdec: Added support for Blu-Ray audio
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

6 years agoasfdemux: More index handling
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

6 years agoasfdemux; Don't assume index is present at end of file
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

6 years agomeson: fix with-package-name option
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

6 years agoasfdemux: adjust segment start to a keyframe ts only for a KEYUNIT seek
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

6 years agox264enc: relax bframes upper limit count to maximum encoder supported
Mark Nauwelaerts [Wed, 14 Jun 2017 18:56:16 +0000 (20:56 +0200)]
x264enc: relax bframes upper limit count to maximum encoder supported

6 years agomeson: don't error out if sidplay library is not found
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

6 years agomeson: build sid plugin
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

6 years agox264: fix memory leak
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

7 years agomeson: Do not use path separator in test names
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.

7 years agoasfdemux: fix checking for header objects
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

7 years agomeson: don't need config.h.meson any longer
Tim-Philipp Müller [Sun, 21 May 2017 16:49:59 +0000 (17:49 +0100)]
meson: don't need config.h.meson any longer

7 years agomeson: add options to set package name and origin
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

7 years agoAdd gstvideo_dep for meson mpeg2dec test build
Jan Schmidt [Fri, 19 May 2017 18:05:02 +0000 (20:05 +0200)]
Add gstvideo_dep for meson mpeg2dec test build

7 years agompeg2dec test: Fix expected output caps
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

7 years agoRemove plugin specific static build option
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.

7 years agosid: Make plugin name match plugin file name
Nicolas Dufresne [Tue, 9 May 2017 13:45:27 +0000 (09:45 -0400)]
sid: Make plugin name match plugin file name

7 years agoBack to development
Sebastian Dröge [Thu, 4 May 2017 15:59:14 +0000 (18:59 +0300)]
Back to development

7 years agoRelease 1.12.0
Sebastian Dröge [Thu, 4 May 2017 12:39:25 +0000 (15:39 +0300)]
Release 1.12.0

7 years agoUpdate .po files
Sebastian Dröge [Thu, 4 May 2017 12:12:50 +0000 (15:12 +0300)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Thu, 4 May 2017 10:47:56 +0000 (13:47 +0300)]
po: Update translations

7 years agoRelease 1.11.91
Sebastian Dröge [Thu, 27 Apr 2017 14:33:23 +0000 (17:33 +0300)]
Release 1.11.91

7 years agoUpdate .po files
Sebastian Dröge [Thu, 27 Apr 2017 13:08:13 +0000 (16:08 +0300)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Thu, 27 Apr 2017 12:29:48 +0000 (15:29 +0300)]
po: Update translations

7 years agox264: Use __declspec(dllimport) with MinGW too
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

7 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 24 Apr 2017 19:28:15 +0000 (20:28 +0100)]
Automatic update of common submodule

From 60aeef6 to 48a5d85

7 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Apr 2017 22:49:25 +0000 (23:49 +0100)]
Automatic update of common submodule

From 39ac2f5 to 60aeef6

7 years agoRelease 1.11.90
Sebastian Dröge [Fri, 7 Apr 2017 13:34:22 +0000 (16:34 +0300)]
Release 1.11.90

7 years agoUpdate .po files
Sebastian Dröge [Fri, 7 Apr 2017 12:33:31 +0000 (15:33 +0300)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Fri, 7 Apr 2017 12:07:50 +0000 (15:07 +0300)]
po: Update translations

7 years agomeson: test: Fix environment object usage
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

7 years agoREQUIREMENTS: update for mad mp3 decoder removal
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

7 years agoAdd libgstrmdemux.so to cruft list
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

7 years agoRename plugin filenames to match plugin names
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

7 years agompeg2dec: Fix latency calculation
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.

7 years agoasfdemux: Fix compilation with gcc 7
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

7 years agoUpdate Edgard Lima's email
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

7 years agomeson: Update version
Sebastian Dröge [Fri, 24 Feb 2017 13:59:47 +0000 (15:59 +0200)]
meson: Update version

7 years agoBack to development
Sebastian Dröge [Fri, 24 Feb 2017 13:37:43 +0000 (15:37 +0200)]
Back to development

7 years agoRelease 1.11.2
Sebastian Dröge [Fri, 24 Feb 2017 13:07:54 +0000 (15:07 +0200)]
Release 1.11.2

7 years agoUpdate .po files
Sebastian Dröge [Fri, 24 Feb 2017 10:57:00 +0000 (12:57 +0200)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Fri, 24 Feb 2017 10:45:43 +0000 (12:45 +0200)]
po: Update translations

7 years agomeson: dist meson build files
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.

7 years agox264: Initialize function vtable in plugin_init()
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

7 years agoasfdemux: Check that we have enough data available before parsing bool/uint extended...
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

7 years agoasfdemux: Reset number of languages to 0 when freeing the array because of errors
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

7 years agomeson: Properly use ':' for defining keywords
Thibault Saunier [Tue, 24 Jan 2017 22:24:10 +0000 (19:24 -0300)]
meson: Properly use ':' for defining keywords

7 years agomeson: bump version
Tim-Philipp Müller [Fri, 13 Jan 2017 12:39:09 +0000 (12:39 +0000)]
meson: bump version

7 years agoBack to development
Sebastian Dröge [Thu, 12 Jan 2017 14:32:52 +0000 (16:32 +0200)]
Back to development

7 years agoRelease 1.11.1
Sebastian Dröge [Thu, 12 Jan 2017 14:10:25 +0000 (16:10 +0200)]
Release 1.11.1

7 years agoUpdate .po files
Sebastian Dröge [Thu, 12 Jan 2017 12:45:56 +0000 (14:45 +0200)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Thu, 12 Jan 2017 12:37:02 +0000 (14:37 +0200)]
po: Update translations

7 years agomeson: Install presets files
Thibault Saunier [Fri, 16 Dec 2016 19:52:00 +0000 (16:52 -0300)]
meson: Install presets files

7 years agox264enc: Add a youtube preset.
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

7 years agomad: remove plugin
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

7 years agowin32: remove platform-specific copies of generated headers
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.

7 years agoRemove generated .spec file
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.

7 years agomeson: Support building without Gst debug
Thibault Saunier [Fri, 9 Dec 2016 20:45:34 +0000 (17:45 -0300)]
meson: Support building without Gst debug

7 years agoAutomatic update of common submodule
Edward Hervey [Sat, 3 Dec 2016 07:19:44 +0000 (08:19 +0100)]
Automatic update of common submodule

From f980fd9 to 39ac2f5

7 years agoasfdemux: Fix memory leak of payload extensions for unusable/unsupported streams
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

7 years agox264enc: Add information for mixed mode
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

7 years agox264enc: Correctly pass interlacing/TFF information
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

7 years agox264enc: Auto-detect interlace mode from caps
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

7 years agocommon: use https protocol for common submodule
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

7 years agoreal: Fix compiler warnings with latest clang
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

7 years agoasfdemux: Allow 64bit sizes for DATA object
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

7 years agoasfdemux: Add sanity check for asf_stream_audio
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

7 years agoasfdemux: Add sanity checks when reading asf_stream_video_format
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

7 years agoasfdemux: Add check for invalid/corrupt asf object
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

7 years agoasfdemux: Handle EOS in push-mode on corrupted files
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

7 years agoasfdemux: FILE headers are mandatory in the header
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

7 years agoasfdemux: Handle incomplete header in pull mode
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

7 years agoasfdemux: Handle issues with "empty" files
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

7 years agodvdreadsrc: dvd-spu-clut-change is a sticky custom event
Mark Nauwelaerts [Sun, 20 Nov 2016 19:54:25 +0000 (20:54 +0100)]
dvdreadsrc: dvd-spu-clut-change is a sticky custom event

7 years agomeson: Add ignored warnings for MSVC
Scott D Phillips [Fri, 18 Nov 2016 01:20:03 +0000 (17:20 -0800)]
meson: Add ignored warnings for MSVC

https://bugzilla.gnome.org/show_bug.cgi?id=774656

7 years agox264enc: Add configure parameter to specify additional x264 libraries with e.g. diffe...
Sebastian Dröge [Fri, 11 Nov 2016 12:15:17 +0000 (14:15 +0200)]
x264enc: Add configure parameter to specify additional x264 libraries with e.g. different depth configuration

x264 has to be compiled specifically for a target bit depth.
Distributions currently ship various libraries in their packages, with
different bit depths.

This change now allows to provide them all at configure time and have
the x264enc element dynamically switch between them based on the bit
depth of the input format.

https://bugzilla.gnome.org/show_bug.cgi?id=763297

7 years agomeson: update version
Tim-Philipp Müller [Tue, 1 Nov 2016 18:09:25 +0000 (18:09 +0000)]
meson: update version

7 years agoBack to development
Sebastian Dröge [Tue, 1 Nov 2016 16:53:15 +0000 (18:53 +0200)]
Back to development