platform/upstream/gst-plugins-ugly.git
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

7 years agoRelease 1.10.0
Sebastian Dröge [Tue, 1 Nov 2016 16:05:31 +0000 (18:05 +0200)]
Release 1.10.0

7 years agoUpdate .po files
Sebastian Dröge [Tue, 1 Nov 2016 15:54:16 +0000 (17:54 +0200)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Tue, 1 Nov 2016 15:43:01 +0000 (17:43 +0200)]
po: Update translations

7 years agomeson: Don't depend on gstreamer-check-1.0 on windows
Scott D Phillips [Tue, 25 Oct 2016 15:54:52 +0000 (08:54 -0700)]
meson: Don't depend on gstreamer-check-1.0 on windows

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

7 years agoRevert "meson: move gstreamer-check-1.0 dependency to tests/check"
Nirbheek Chauhan [Tue, 25 Oct 2016 05:21:08 +0000 (10:51 +0530)]
Revert "meson: move gstreamer-check-1.0 dependency to tests/check"

This reverts commit 0555c09607e548b6c45d029ab31dbb3042195ae3.

Does not actually work. See:
https://bugzilla.gnome.org/show_bug.cgi?id=773114#c31

7 years agomeson: fix build outside of gst-all
Tim-Philipp Müller [Sun, 23 Oct 2016 23:35:23 +0000 (00:35 +0100)]
meson: fix build outside of gst-all

7 years agomeson: move gstreamer-check-1.0 dependency to tests/check
Scott D Phillips [Fri, 21 Oct 2016 07:47:14 +0000 (00:47 -0700)]
meson: move gstreamer-check-1.0 dependency to tests/check

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

7 years agomeson: Don't set c_std to gnu99
Nirbheek Chauhan [Sat, 15 Oct 2016 16:50:05 +0000 (22:20 +0530)]
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.

7 years agomeson: Make use of new environment object and set plugin path to builddir
Thibault Saunier [Tue, 4 Oct 2016 21:06:09 +0000 (18:06 -0300)]
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

7 years agomeson: Setup pre commit hook and fix getpluginsdir for standalone case
Thibault Saunier [Fri, 30 Sep 2016 14:35:40 +0000 (11:35 -0300)]
meson: Setup pre commit hook and fix getpluginsdir for standalone case

7 years agomeson: update version
Tim-Philipp Müller [Fri, 30 Sep 2016 10:41:28 +0000 (11:41 +0100)]
meson: update version

7 years agoRelease 1.9.90
Sebastian Dröge [Fri, 30 Sep 2016 10:03:26 +0000 (13:03 +0300)]
Release 1.9.90

7 years agoUpdate .po files
Sebastian Dröge [Fri, 30 Sep 2016 09:23:17 +0000 (12:23 +0300)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Fri, 30 Sep 2016 08:44:22 +0000 (11:44 +0300)]
po: Update translations

7 years agox264enc: Set colorimetry and chroma-site information
Sebastian Dröge [Thu, 29 Sep 2016 09:39:34 +0000 (12:39 +0300)]
x264enc: Set colorimetry and chroma-site information

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

7 years agomeson: hook up translations
Tim-Philipp Müller [Sat, 24 Sep 2016 08:08:00 +0000 (09:08 +0100)]
meson: hook up translations

7 years agomeson: hook up unit tests
Tim-Philipp Müller [Sat, 24 Sep 2016 07:59:55 +0000 (08:59 +0100)]
meson: hook up unit tests

7 years agoconfigure: Depend on gstreamer 1.9.2.1
Sebastian Dröge [Wed, 14 Sep 2016 09:30:58 +0000 (11:30 +0200)]
configure: Depend on gstreamer 1.9.2.1

7 years agoAutomatic update of common submodule
Jan Schmidt [Sat, 10 Sep 2016 10:51:36 +0000 (20:51 +1000)]
Automatic update of common submodule

From b18d820 to f980fd9

7 years agoAutomatic update of common submodule
Jan Schmidt [Fri, 9 Sep 2016 23:54:15 +0000 (09:54 +1000)]
Automatic update of common submodule

From f49c55e to b18d820

7 years agomeson: Bump version to 1.9.2
Thibault Saunier [Mon, 5 Sep 2016 15:22:56 +0000 (12:22 -0300)]
meson: Bump version to 1.9.2

7 years agoBack to development
Sebastian Dröge [Thu, 1 Sep 2016 09:28:57 +0000 (12:28 +0300)]
Back to development

7 years agoRelease 1.9.2
Sebastian Dröge [Thu, 1 Sep 2016 09:28:45 +0000 (12:28 +0300)]
Release 1.9.2

7 years agopo: Update translations
Sebastian Dröge [Thu, 1 Sep 2016 08:24:13 +0000 (11:24 +0300)]
po: Update translations

7 years agosiddec: Fix compilation with debugging disabled
Sebastian Dröge [Thu, 1 Sep 2016 07:57:46 +0000 (10:57 +0300)]
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);
                  ^

7 years agoUse the new API to post flow ERROR messages on the bus
Thibault Saunier [Fri, 19 Aug 2016 18:11:14 +0000 (11:11 -0700)]
Use the new API to post flow ERROR messages on the bus

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

7 years agomeson: Link asfdemux against the gstsdp library
Thibault Saunier [Wed, 24 Aug 2016 12:45:05 +0000 (09:45 -0300)]
meson: Link asfdemux against the gstsdp library

7 years agomeson: Add support for fallback subprojects
Thibault Saunier [Tue, 23 Aug 2016 18:29:10 +0000 (15:29 -0300)]
meson: Add support for fallback subprojects

7 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.

7 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.

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

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

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

7 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