Commit graph

5363 commits

Author SHA1 Message Date
Edward Hervey
8f05e8f449 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
2016-11-25 10:07:21 +01:00
Edward Hervey
97294eb8bb 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
2016-11-25 09:46:12 +01:00
Edward Hervey
48a493070a 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
2016-11-22 18:21:46 +01:00
Edward Hervey
e7ff86665a 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
2016-11-22 18:21:46 +01:00
Edward Hervey
cc04255e94 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
2016-11-22 18:21:46 +01:00
Edward Hervey
45c7826d76 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
2016-11-22 18:21:46 +01:00
Mark Nauwelaerts
aab716ac40 dvdreadsrc: dvd-spu-clut-change is a sticky custom event 2016-11-20 20:55:17 +01:00
Scott D Phillips
4161c2e96f meson: Add ignored warnings for MSVC
https://bugzilla.gnome.org/show_bug.cgi?id=774656
2016-11-18 09:38:40 +00:00
Sebastian Dröge
7bf576b238 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
2016-11-14 18:26:04 +02:00
Tim-Philipp Müller
b96515449c meson: update version 2016-11-01 18:09:59 +00:00
Sebastian Dröge
d00bff7198 Back to development 2016-11-01 18:53:15 +02:00
Sebastian Dröge
534819a16c Release 1.10.0 2016-11-01 18:05:31 +02:00
Sebastian Dröge
a530043845 Update .po files 2016-11-01 17:54:16 +02:00
Sebastian Dröge
188be0daa3 po: Update translations 2016-11-01 17:43:01 +02:00
Scott D Phillips
6c77b81df8 meson: Don't depend on gstreamer-check-1.0 on windows
https://bugzilla.gnome.org/show_bug.cgi?id=773114
2016-10-26 17:50:03 +05:30
Nirbheek Chauhan
c64165fb00 Revert "meson: move gstreamer-check-1.0 dependency to tests/check"
This reverts commit 0555c09607.

Does not actually work. See:
https://bugzilla.gnome.org/show_bug.cgi?id=773114#c31
2016-10-25 11:47:51 +05:30
Tim-Philipp Müller
db793e6cce meson: fix build outside of gst-all 2016-10-24 00:35:23 +01:00
Scott D Phillips
0555c09607 meson: move gstreamer-check-1.0 dependency to tests/check
https://bugzilla.gnome.org/show_bug.cgi?id=773114
2016-10-21 06:03:41 -03:00
Nirbheek Chauhan
91eedfcbea meson: Don't set c_std to gnu99
Use the default for each compiler on every platform instead. This
improves our compatibility with compilers that don't have gnu99 as
a c_std.
2016-10-15 22:20:05 +05:30
Thibault Saunier
dc49e63100 meson: Make use of new environment object and set plugin path to builddir
Workaround source_root being the root directory of all projects
in the subproject case and remove now unneeded getpluginsdir

Bump meson requirement to 0.35
2016-10-04 18:10:41 -03:00
Thibault Saunier
07e5039848 meson: Setup pre commit hook and fix getpluginsdir for standalone case 2016-09-30 12:46:34 -03:00
Tim-Philipp Müller
7d864e8b45 meson: update version 2016-09-30 11:41:28 +01:00
Sebastian Dröge
3d70e6af96 Release 1.9.90 2016-09-30 13:03:26 +03:00
Sebastian Dröge
3a0b2c903b Update .po files 2016-09-30 12:23:17 +03:00
Sebastian Dröge
a35dfab87a po: Update translations 2016-09-30 11:44:22 +03:00
Sebastian Dröge
590aa41bf5 x264enc: Set colorimetry and chroma-site information
https://bugzilla.gnome.org/show_bug.cgi?id=772159
2016-09-29 12:39:56 +03:00
Tim-Philipp Müller
8150a742ee meson: hook up translations 2016-09-24 09:08:00 +01:00
Tim-Philipp Müller
d671d6941f meson: hook up unit tests 2016-09-24 09:02:34 +01:00
Sebastian Dröge
589d9a3802 configure: Depend on gstreamer 1.9.2.1 2016-09-14 11:30:58 +02:00
Jan Schmidt
59891e2466 Automatic update of common submodule
From b18d820 to f980fd9
2016-09-10 20:51:36 +10:00
Jan Schmidt
75861e60e7 Automatic update of common submodule
From f49c55e to b18d820
2016-09-10 09:54:15 +10:00
Thibault Saunier
c18ed0bee6 meson: Bump version to 1.9.2 2016-09-05 12:22:56 -03:00
Sebastian Dröge
c4a6d804ea Back to development 2016-09-01 12:28:57 +03:00
Sebastian Dröge
9f9dc3f0a0 Release 1.9.2 2016-09-01 12:28:45 +03:00
Sebastian Dröge
276fbb837a po: Update translations 2016-09-01 11:24:13 +03:00
Sebastian Dröge
d183565334 siddec: Fix compilation with debugging disabled
gstsiddec.o
gstsiddec.cc: In function ‘void play_loop(GstPad*)’:
gstsiddec.cc:446:18: error: unused variable ‘reason’ [-Werror=unused-variable]
     const gchar *reason = gst_flow_get_name (ret);
                  ^
2016-09-01 10:57:46 +03:00
Thibault Saunier
3e27368ce3 Use the new API to post flow ERROR messages on the bus
https://bugzilla.gnome.org/show_bug.cgi?id=770158
2016-08-26 19:23:28 -03:00
Thibault Saunier
40dbcd1b3e meson: Link asfdemux against the gstsdp library 2016-08-24 09:45:05 -03:00
Thibault Saunier
2b65075908 meson: Add support for fallback subprojects 2016-08-23 15:29:10 -03:00
Nirbheek Chauhan
c8260a1545 Add support for Meson as alternative/parallel build system
https://github.com/mesonbuild/meson

With contributions from:

Tim-Philipp Müller <tim@centricular.com>
Jussi Pakkanen <jpakkane@gmail.com> (original port)

Highlights of the features provided are:
* Faster builds on Linux (~40-50% faster)
* The ability to build with MSVC on Windows
* Generate Visual Studio project files
* Generate XCode project files
* Much faster builds on Windows (on-par with Linux)
* Seriously fast configure and building on embedded

... and many more. For more details see:

http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html
http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html

Building with Meson should work on both Linux and Windows, but may
need a few more tweaks on other operating systems.
2016-08-20 11:29:37 +01:00
Nirbheek Chauhan
5ae5b2d3c7 plugins: Use <stdint.h> instead of _stdint.h
_stdint.h is generated by Autotools and we don't really need it. All
supported platforms now ship with stdint.h. The only stickler was MSVC,
and since Visual Studio 2015 it also ships stdint.h now.
2016-08-19 13:03:29 +01:00
Tim-Philipp Müller
bb5a13e848 mpeg2dec: remove file no longer used or needed 2016-08-19 13:01:39 +01:00
Tim-Philipp Müller
8149ee2e46 dvdlpcmdec: add libgstbase CFLAGS as well
For consistency.

https://bugzilla.gnome.org/show_bug.cgi?id=769610
2016-08-08 09:58:57 +01:00
xlazom00
eda96ad1c1 dvdlpcmdec: link libgstbase-1.0
https://bugzilla.gnome.org/show_bug.cgi?id=769610
2016-08-08 09:55:31 +01:00
Carlos Rafael Giani
975f147abe asfdemux: Add byte rate based bitrate tag in case there are no audio props
https://bugzilla.gnome.org/show_bug.cgi?id=769418
2016-08-02 14:41:31 +03:00
Michael Olbrich
9f51f72b37 dvdlpcmdec: add support for another format
The format specification can be found here:
http://www.dvdforum.org/images/Guideline1394V10R0_20020911.pdf

Note: This format is also used for Wifi-Display.

https://bugzilla.gnome.org/show_bug.cgi?id=765807
2016-07-25 13:37:32 +03:00
Michael Olbrich
35dc8d0f68 dvdlpcmdec: rewrite to use GstAudioDecoder
https://bugzilla.gnome.org/show_bug.cgi?id=765807
2016-07-25 13:37:24 +03:00
Josep Torra
9b6b6d1fd5 sidplay: fix compiler warnings when building with -O3
Avoid compiler warnings "‘foo’ may be used uninitialized in this
function" when building with -O3 by checking the return bool value
of format conversion function.

https://bugzilla.gnome.org/show_bug.cgi?id=769116
2016-07-24 10:15:48 +02:00
Stefan Sauer
61f8ac49cc Automatic update of common submodule
From f363b32 to f49c55e
2016-07-11 21:14:06 +02:00
Sebastian Dröge
5a78bac10e Back to development 2016-07-06 13:51:09 +03:00