platform/upstream/gstreamer.git
8 years agoAdd support for Meson as alternative/parallel build system
Nirbheek Chauhan [Fri, 12 Aug 2016 15:55:34 +0000 (21:25 +0530)]
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.

8 years agoplugins: Use <stdint.h> instead of _stdint.h
Nirbheek Chauhan [Fri, 12 Aug 2016 16:11:39 +0000 (21:41 +0530)]
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.

8 years agompeg2dec: remove file no longer used or needed
Tim-Philipp Müller [Fri, 19 Aug 2016 12:01:39 +0000 (13:01 +0100)]
mpeg2dec: remove file no longer used or needed

8 years agodvdlpcmdec: add libgstbase CFLAGS as well
Tim-Philipp Müller [Mon, 8 Aug 2016 08:58:20 +0000 (09:58 +0100)]
dvdlpcmdec: add libgstbase CFLAGS as well

For consistency.

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

8 years agodvdlpcmdec: link libgstbase-1.0
xlazom00 [Sun, 7 Aug 2016 00:10:24 +0000 (00:10 +0000)]
dvdlpcmdec: link libgstbase-1.0

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

8 years agoasfdemux: Add byte rate based bitrate tag in case there are no audio props
Carlos Rafael Giani [Tue, 2 Aug 2016 11:38:25 +0000 (13:38 +0200)]
asfdemux: Add byte rate based bitrate tag in case there are no audio props

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

8 years agodvdlpcmdec: add support for another format
Michael Olbrich [Thu, 28 Apr 2016 14:42:43 +0000 (16:42 +0200)]
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

8 years agodvdlpcmdec: rewrite to use GstAudioDecoder
Michael Olbrich [Thu, 28 Apr 2016 14:32:53 +0000 (16:32 +0200)]
dvdlpcmdec: rewrite to use GstAudioDecoder

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

8 years agosidplay: fix compiler warnings when building with -O3
Josep Torra [Sun, 24 Jul 2016 08:00:48 +0000 (10:00 +0200)]
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

8 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 11 Jul 2016 19:14:06 +0000 (21:14 +0200)]
Automatic update of common submodule

From f363b32 to f49c55e

8 years agoBack to development
Sebastian Dröge [Wed, 6 Jul 2016 10:51:09 +0000 (13:51 +0300)]
Back to development

8 years agoRelease 1.9.1
Sebastian Dröge [Wed, 6 Jul 2016 10:15:28 +0000 (13:15 +0300)]
Release 1.9.1

8 years agoUpdate .po files
Sebastian Dröge [Wed, 6 Jul 2016 08:54:01 +0000 (11:54 +0300)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Wed, 6 Jul 2016 07:19:44 +0000 (10:19 +0300)]
po: Update translations

8 years agoAutomatic update of common submodule
Nicolas Dufresne [Tue, 21 Jun 2016 15:46:53 +0000 (11:46 -0400)]
Automatic update of common submodule

From ac2f647 to f363b32

8 years agoasfdemux: fix seeking back after EOS has been reached in push mode
Vootele Vesterblom [Tue, 12 May 2015 08:08:55 +0000 (11:08 +0300)]
asfdemux: fix seeking back after EOS has been reached in push mode

Fix seeking when demuxer is in INDEX state. This happens when we
reached the end of the stream. It should still be possible to do
a flushing seek and seek back to any other position though. Instead
the demuxer would just go straight to EOS again instead of going
back to processing packets again from the new position.

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

8 years agordtmanager: fix clock leak
Guillaume Desmottes [Tue, 17 May 2016 13:00:29 +0000 (16:00 +0300)]
rdtmanager: fix clock leak

The clock returned by gst_system_clock_obtain() was never unreffed.

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

8 years agodocs: Update for git master
Sebastian Dröge [Sun, 15 May 2016 10:33:30 +0000 (13:33 +0300)]
docs: Update for git master

8 years agoamrnbec, mad: fix two more parse function declarations
Tim-Philipp Müller [Sat, 16 Apr 2016 08:15:43 +0000 (09:15 +0100)]
amrnbec, mad: fix two more parse function declarations

8 years agoa52dec, amrwbec: fix parse function declaration mismatch
Tim-Philipp Müller [Fri, 15 Apr 2016 19:46:37 +0000 (20:46 +0100)]
a52dec, amrwbec: fix parse function declaration mismatch

Fixes MSVC compiler warning:

amrwbdec.c(99): warning C4133: '=': incompatible types
- from 'gboolean (__cdecl *)(GstAudioDecoder *,GstAdapter *,gint *,gint *)' to
  'GstFlowReturn (__cdecl *)(GstAudioDecoder *,GstAdapter *,gint *,gint *)'
gsta52dec.c(156): warning C4133: '=': incompatible types
- from 'gboolean (__cdecl *)(GstAudioDecoder *,GstAdapter *,gint *,gint *)' to
  'GstFlowReturn (__cdecl *)(GstAudioDecoder *,GstAdapter *,gint *,gint *)'

8 years agompg123: fix build with msvc
Tim-Philipp Müller [Fri, 15 Apr 2016 18:55:03 +0000 (19:55 +0100)]
mpg123: fix build with msvc

Fix syntax errors when compiling against cerbero-provided libmpg123
headers. We do the same as the libmpg123 internal visual studio
build here.

mpg123.h(1378): error C2143: syntax error: missing ')' before '('
mpg123.h(1378): error C2081: 'ssize_t': name in formal parameter list illegal
mpg123.h(1378): error C2143: syntax error: missing ')' before '*'
mpg123.h(1378): error C2091: function returns function
mpg123.h(1378): error C2143: syntax error: missing '{' before '*'
mpg123.h(1378): error C2059: syntax error: ')'
mpg123.h(1379): error C2143: syntax error: missing ')' before '*'
mpg123.h(1379): error C2365: 'off_t': redefinition; previous definition was 'typedef'
...

8 years agompeg2dec: bump libmpeg2 requirement to 0.5.1 and fix msvc build
Tim-Philipp Müller [Fri, 15 Apr 2016 17:37:42 +0000 (18:37 +0100)]
mpeg2dec: bump libmpeg2 requirement to 0.5.1 and fix msvc build

libmpeg2 0.5.1 was released in mid-2008, let's bump the requirement
and get rid of version-dependent code paths. There's still
avdec_mpeg2video for those who are stuck on ancient distros which
we don't target any more.

Also fixes build with MSVC, which doesn't like #if #else #endif
inside macro arguments (like the GST_DEBUG_OBJECT in line 941).

8 years agoAutomatic update of common submodule
Julien Isorce [Thu, 14 Apr 2016 09:02:50 +0000 (10:02 +0100)]
Automatic update of common submodule

From 6f2d209 to ac2f647

8 years agougly: use new gst_element_class_add_static_pad_template()
Vineeth TM [Fri, 4 Mar 2016 07:14:44 +0000 (16:14 +0900)]
ugly: use new gst_element_class_add_static_pad_template()

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

8 years agoBack to development
Sebastian Dröge [Thu, 24 Mar 2016 11:33:22 +0000 (13:33 +0200)]
Back to development

8 years agoRelease 1.8.0
Sebastian Dröge [Thu, 24 Mar 2016 10:43:04 +0000 (12:43 +0200)]
Release 1.8.0

8 years agoUpdate .po files
Sebastian Dröge [Thu, 24 Mar 2016 10:18:09 +0000 (12:18 +0200)]
Update .po files

8 years agoRelease 1.7.91
Sebastian Dröge [Tue, 15 Mar 2016 10:21:07 +0000 (12:21 +0200)]
Release 1.7.91

8 years agoUpdate .po files
Sebastian Dröge [Tue, 15 Mar 2016 10:03:34 +0000 (12:03 +0200)]
Update .po files

8 years agoasfdemux: Don't modify segment values on accurate seeks
Edward Hervey [Tue, 8 Mar 2016 11:26:01 +0000 (12:26 +0100)]
asfdemux: Don't modify segment values on accurate seeks

When dealing with accurate seeks, we want to return exactly the segment
that was requested by the seek event, and not adjust the values.

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

8 years agoRelease 1.7.90
Sebastian Dröge [Tue, 1 Mar 2016 16:42:01 +0000 (18:42 +0200)]
Release 1.7.90

8 years agoUpdate .po files
Sebastian Dröge [Tue, 1 Mar 2016 15:18:01 +0000 (17:18 +0200)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Tue, 1 Mar 2016 14:54:07 +0000 (16:54 +0200)]
po: Update translations

8 years agodvdread: Fix seek starting at 0 for title != 1
Jens Georg [Sat, 27 Feb 2016 19:17:31 +0000 (20:17 +0100)]
dvdread: Fix seek starting at 0 for title != 1

Otherwise the playback would start at title 0

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

8 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 26 Feb 2016 10:41:18 +0000 (12:41 +0200)]
Automatic update of common submodule

From b64f03f to 6f2d209

8 years agoasfdemux: fix adding bitrate to stream tags
Tim-Philipp Müller [Mon, 22 Feb 2016 22:08:12 +0000 (22:08 +0000)]
asfdemux: fix adding bitrate to stream tags

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

8 years agowin32: remove outdated build cruft
Tim-Philipp Müller [Sun, 21 Feb 2016 10:11:12 +0000 (10:11 +0000)]
win32: remove outdated build cruft

This hasn't been touched for generations, doesn't work,
and is just causing confusion. We also don't want to
maintain these files manually.

8 years agompeg2dec: don't use exported but undeclared core debug category symbols
Tim-Philipp Müller [Sat, 20 Feb 2016 11:55:37 +0000 (11:55 +0000)]
mpeg2dec: don't use exported but undeclared core debug category symbols

It's not right and won't work on Windows with MSVC.

8 years agoBack to development
Sebastian Dröge [Fri, 19 Feb 2016 10:38:34 +0000 (12:38 +0200)]
Back to development

8 years agoRelease 1.7.2
Sebastian Dröge [Fri, 19 Feb 2016 09:58:13 +0000 (11:58 +0200)]
Release 1.7.2

8 years agoUpdate .po files
Sebastian Dröge [Fri, 19 Feb 2016 09:21:03 +0000 (11:21 +0200)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Fri, 19 Feb 2016 08:32:06 +0000 (10:32 +0200)]
po: Update translations

8 years agosidplay: Fix compiler warning about C++11 compatibility
Sebastian Dröge [Wed, 17 Feb 2016 22:25:56 +0000 (00:25 +0200)]
sidplay: Fix compiler warning about C++11 compatibility

gstsiddec.cc:78:17: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
 #define FORMATS "{ "GST_AUDIO_NE(S16)","GST_AUDIO_NE(U16)", S8, U8 }"
                 ^
gstsiddec.cc:78:38: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
 #define FORMATS "{ "GST_AUDIO_NE(S16)","GST_AUDIO_NE(U16)", S8, U8 }"
                                      ^

8 years agodocs: update inspection to git and fix mpg123 inspect location
Tim-Philipp Müller [Tue, 16 Feb 2016 14:46:11 +0000 (14:46 +0000)]
docs: update inspection to git and fix mpg123 inspect location

8 years agotests: fix distcheck
Tim-Philipp Müller [Tue, 16 Feb 2016 12:23:33 +0000 (12:23 +0000)]
tests: fix distcheck

8 years agompg123: move from -bad to -ugly
Tim-Philipp Müller [Tue, 16 Feb 2016 10:38:18 +0000 (10:38 +0000)]
mpg123: move from -bad to -ugly

Hook up to build system, add to docs

8 years agotests: add test data for mpg123 plugin
Tim-Philipp Müller [Tue, 16 Feb 2016 10:55:01 +0000 (10:55 +0000)]
tests: add test data for mpg123 plugin

8 years agoMerge branch 'plugin-move-mpg123'
Tim-Philipp Müller [Tue, 16 Feb 2016 10:41:07 +0000 (10:41 +0000)]
Merge branch 'plugin-move-mpg123'

Move mpg123 plugin from -bad to -ugly.

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

8 years agoplugins-bad: Fix example pipelines
Vineeth TM [Mon, 14 Dec 2015 02:09:46 +0000 (11:09 +0900)]
plugins-bad: Fix example pipelines

rename gst-launch --> gst-launch-1.0
replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**)
fix caps in examples

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

8 years agompg123: still reset pending audio info on hard flush
Tim-Philipp Müller [Mon, 17 Aug 2015 10:50:28 +0000 (11:50 +0100)]
mpg123: still reset pending audio info on hard flush

Follow-up to previous commit.

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

8 years agompg123: fix handling of sample rate change during playback
Jason Litzinger [Wed, 15 Jul 2015 16:44:02 +0000 (10:44 -0600)]
mpg123: fix handling of sample rate change during playback

If the sample rate of the media changes, the resulting flush will
clear the has_next_audioinfo flag, and the caps won't be sent
downstream.

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

8 years agoaudiodecoders: use default pad accept-caps handling
Thiago Santos [Sat, 15 Aug 2015 15:58:40 +0000 (12:58 -0300)]
audiodecoders: use default pad accept-caps handling

Avoids useless check of downstream caps when handling an
accept-caps query

Elements: dtsdec, faad, gsmdec, mpg123audiodec, opusdec,
          sbcdec, adpcmdec, sirendec

8 years agoRemove obsolete Android build cruft
Tim-Philipp Müller [Sun, 26 Apr 2015 17:04:16 +0000 (18:04 +0100)]
Remove obsolete Android build cruft

This is not needed any longer.

8 years agompg123: fix compiler warning and simplify checks in set_caps
Tim-Philipp Müller [Sun, 11 Jan 2015 01:08:08 +0000 (01:08 +0000)]
mpg123: fix compiler warning and simplify checks in set_caps

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

8 years agompg123: rework set_format code so mpg123audiodec works with decodebin/playbin
Carlos Rafael Giani [Sat, 3 Jan 2015 12:06:45 +0000 (13:06 +0100)]
mpg123: rework set_format code so mpg123audiodec works with decodebin/playbin

The old code was using gst_caps_normalize() and was generally overly
complex. Simplify by picking sample rate and number of channels from
upstream and the sample format from the allowed caps. If the format caps
is a list of strins, just pick the first one. And if the srcpad isn't
linked yet, use the default format (S16).

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

8 years agoFix up one-element lists in template caps
Tim-Philipp Müller [Wed, 10 Sep 2014 16:24:39 +0000 (17:24 +0100)]
Fix up one-element lists in template caps

8 years agotests: fix mpg123audiodec test for big-endian architectures
Tim-Philipp Müller [Wed, 5 Mar 2014 00:51:04 +0000 (00:51 +0000)]
tests: fix mpg123audiodec test for big-endian architectures

8 years agompg123: improved error report and checks
Carlos Rafael Giani [Tue, 4 Feb 2014 16:22:27 +0000 (17:22 +0100)]
mpg123: improved error report and checks

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
8 years agompg123audiodec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:04:39 +0000 (12:04 +0100)]
mpg123audiodec: Require caps to be set before any data processing

8 years agompg123: Remove dead assignment
Edward Hervey [Fri, 26 Jul 2013 15:25:42 +0000 (17:25 +0200)]
mpg123: Remove dead assignment

harder ? :)

8 years agompg123audiodec: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:25:07 +0000 (11:25 +0200)]
mpg123audiodec: Fix event handling in unit test

8 years agogst: Add better support for static plugins
Sebastian Dröge [Wed, 24 Oct 2012 10:16:39 +0000 (12:16 +0200)]
gst: Add better support for static plugins

8 years agompg123: Add conditional on API version for new enum
David Schleef [Mon, 15 Apr 2013 07:22:39 +0000 (00:22 -0700)]
mpg123: Add conditional on API version for new enum

8 years agotests: extend the AM_TESTS_ENVIRONMENT from check.mak
Thiago Santos [Fri, 5 Feb 2016 22:11:38 +0000 (19:11 -0300)]
tests: extend the AM_TESTS_ENVIRONMENT from check.mak

To get the CK_DEFAULT_TIMEOUT defined for all tests

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

8 years agoAutomatic update of common submodule
Thiago Santos [Fri, 5 Feb 2016 21:07:02 +0000 (18:07 -0300)]
Automatic update of common submodule

From 86e4663 to b64f03f

8 years agoamrnb, amrwb: unconditionally depend on opencore-amr*b >= 0.1.3
Tim-Philipp Müller [Mon, 25 Jan 2016 20:00:26 +0000 (20:00 +0000)]
amrnb, amrwb: unconditionally depend on opencore-amr*b >= 0.1.3

We don't really need to cater for older versions any more.

8 years agompeg2dec: Demote rank to SECONDARY
Edward Hervey [Thu, 21 Jan 2016 16:34:38 +0000 (17:34 +0100)]
mpeg2dec: Demote rank to SECONDARY

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

8 years agodvdsubdec: use query caps instead of accept-caps
Thiago Santos [Sat, 9 Jan 2016 00:40:53 +0000 (21:40 -0300)]
dvdsubdec: use query caps instead of accept-caps

accept-caps does only a shallow check and a full downstream
caps query is needed to check if ARGB is possible

8 years agoasfdemux: Support reverse playback
Ravi Kiran K N [Fri, 30 Oct 2015 05:36:11 +0000 (11:06 +0530)]
asfdemux: Support reverse playback

Support reverse playback for ASF format.
Parse packets and queue the payloads, then push
the payload buffer to decoder in reverse order.
Video buffers are pushed from KeyFrame to next
Keyframe.

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

9 years agoBack to development
Sebastian Dröge [Thu, 24 Dec 2015 14:28:46 +0000 (15:28 +0100)]
Back to development

9 years agoamrnbenc: Fix various compiler warnings in the test
Sebastian Dröge [Thu, 24 Dec 2015 13:48:50 +0000 (14:48 +0100)]
amrnbenc: Fix various compiler warnings in the test

9 years agox264enc: Fix various compiler warnings in the test
Sebastian Dröge [Thu, 24 Dec 2015 13:48:38 +0000 (14:48 +0100)]
x264enc: Fix various compiler warnings in the test

9 years agoRelease 1.7.1
Sebastian Dröge [Thu, 24 Dec 2015 13:41:21 +0000 (14:41 +0100)]
Release 1.7.1

9 years agoUpdate .po files
Sebastian Dröge [Thu, 24 Dec 2015 13:10:29 +0000 (14:10 +0100)]
Update .po files

9 years agopo: Update translations
Sebastian Dröge [Thu, 24 Dec 2015 11:23:27 +0000 (12:23 +0100)]
po: Update translations

9 years agoconfigure: Use -Bsymbolic-functions if available
Sebastian Dröge [Mon, 21 Dec 2015 11:32:32 +0000 (12:32 +0100)]
configure: Use -Bsymbolic-functions if available

While this is more useful for libraries, some of our plugins with multiple
files and some internal API can also benefit from this.

9 years agodocs: update to git
Sebastian Dröge [Wed, 16 Dec 2015 08:36:08 +0000 (09:36 +0100)]
docs: update to git

9 years agoAutomatic update of common submodule
Nicolas Dufresne [Mon, 7 Dec 2015 14:08:18 +0000 (09:08 -0500)]
Automatic update of common submodule

From b319909 to 86e4663

9 years agox264enc: increase bitrate limit from 100Mbps to 2Gbps
Arjen Veenhuizen [Thu, 26 Nov 2015 15:49:47 +0000 (15:49 +0000)]
x264enc: increase bitrate limit from 100Mbps to 2Gbps

Don't artificially limit the bitrate, x264enc allows much
higher bitrates, and for intra-only 4k AVC they are needed.
x264 clips to 2Gbps internally, so use that as limit for now.

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

9 years agox264enc: drop unnecessary NULL check before g_free
Reynaldo H. Verdejo Pinochet [Thu, 19 Nov 2015 07:20:59 +0000 (23:20 -0800)]
x264enc: drop unnecessary NULL check before g_free

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 21 Oct 2015 13:35:17 +0000 (14:35 +0100)]
Automatic update of common submodule

From b99800a to b319909

9 years agoUse new GST_ENABLE_EXTRA_CHECKS #define
Sebastian Dröge [Tue, 20 Oct 2015 14:29:42 +0000 (17:29 +0300)]
Use new GST_ENABLE_EXTRA_CHECKS #define

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

9 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 21 Oct 2015 11:26:07 +0000 (14:26 +0300)]
Automatic update of common submodule

From 9aed1d7 to b99800a

9 years agoUpdate GLib dependency to 2.40.0
Sebastian Dröge [Fri, 2 Oct 2015 19:24:46 +0000 (22:24 +0300)]
Update GLib dependency to 2.40.0

9 years agodvdread: remove broken link
Reynaldo H. Verdejo Pinochet [Tue, 29 Sep 2015 21:16:07 +0000 (14:16 -0700)]
dvdread: remove broken link

Removing instead of updating as previously pointed-to page
(now http://dvd.sourceforge.net/dvdinfo/) is already linked
from dvd.sourceforge.net's homepage as: "Collection of
information on file formats/data structures relating to DVD
navigation/SPUs."

9 years agodvdlpcmdec: fix invalid read beyond channel position array
Tim-Philipp Müller [Sat, 26 Sep 2015 08:23:05 +0000 (09:23 +0100)]
dvdlpcmdec: fix invalid read beyond channel position array

We would always copy sizeof(sorted_position) bytes, which is
for 8 channels, but if we have less than 8 channels the
position array we copy from will only have allocated space
for channel channels, so we would read beyond the input
array in some cases.

9 years agodvdlpcmdec: factor out common code to set output format into new function
HoonHee Lee [Tue, 25 Aug 2015 01:08:46 +0000 (10:08 +0900)]
dvdlpcmdec: factor out common code to set output format into new function

When caps event is recieved and header is changed, reordering channel
and setting the default output format for audio are processed. These 2 of
code are same. Thus, It is better to make a new function for these common
code in terms of removing duplicated code, maintenance and expansion.

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

9 years agoasfdemux: Don't push any data on pads after the segment.stop
Sebastian Dröge [Wed, 23 Sep 2015 18:45:34 +0000 (20:45 +0200)]
asfdemux: Don't push any data on pads after the segment.stop

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

9 years agoasfdemux: Only change segment start to a keyframe for KEYUNIT seeks
Sebastian Dröge [Wed, 23 Sep 2015 18:30:21 +0000 (20:30 +0200)]
asfdemux: Only change segment start to a keyframe for KEYUNIT seeks

Not for accurate seeks, which should accurately start at the requested
position.

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

9 years agoasfdemux: Update segment.position when pushing buffers
Sebastian Dröge [Wed, 23 Sep 2015 18:23:40 +0000 (20:23 +0200)]
asfdemux: Update segment.position when pushing buffers

Without this, non-flushing seeks are not going to work well.

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

9 years agoasfdemux: Only push EOS event if we're not doing a segment seek
Sebastian Dröge [Wed, 23 Sep 2015 17:37:43 +0000 (19:37 +0200)]
asfdemux: Only push EOS event if we're not doing a segment seek

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

9 years agoasfdemux: If pushing buffers returned EOS, go into the EOS and not failure code path
Sebastian Dröge [Wed, 23 Sep 2015 14:31:28 +0000 (16:31 +0200)]
asfdemux: If pushing buffers returned EOS, go into the EOS and not failure code path

We don't want to unconditionally send an EOS event downstream, but might want
to send a SEGMENT_DONE message/event instead if a segment seek was done
before.

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

9 years agoBack to development
Sebastian Dröge [Fri, 25 Sep 2015 21:51:12 +0000 (23:51 +0200)]
Back to development

9 years agoRelease 1.6.0
Sebastian Dröge [Fri, 25 Sep 2015 21:32:02 +0000 (23:32 +0200)]
Release 1.6.0

9 years agoUpdate .po files
Sebastian Dröge [Fri, 25 Sep 2015 21:04:56 +0000 (23:04 +0200)]
Update .po files

9 years agoRelease 1.5.91
Sebastian Dröge [Fri, 18 Sep 2015 18:01:17 +0000 (20:01 +0200)]
Release 1.5.91

9 years agoUpdate .po files
Sebastian Dröge [Fri, 18 Sep 2015 17:34:50 +0000 (19:34 +0200)]
Update .po files

9 years agopo: Update translations
Sebastian Dröge [Fri, 18 Sep 2015 09:53:57 +0000 (11:53 +0200)]
po: Update translations

9 years agox264: Add bitrate info to the tags output.
Jan Schmidt [Sat, 5 Sep 2015 13:34:45 +0000 (23:34 +1000)]
x264: Add bitrate info to the tags output.

Makes it possible for muxers to know the target bitrate as soon
as encoding starts, which flvmux now uses.

9 years agoasfdemux: fix file mode of some source files
Tim-Philipp Müller [Fri, 28 Aug 2015 18:18:32 +0000 (19:18 +0100)]
asfdemux: fix file mode of some source files