Commit graph

5304 commits

Author SHA1 Message Date
Tim-Philipp Müller
36d972e01a 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'
...
2016-04-15 19:55:03 +01:00
Tim-Philipp Müller
fd5a868c11 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).
2016-04-15 18:43:27 +01:00
Julien Isorce
6b707c91f1 Automatic update of common submodule
From 6f2d209 to ac2f647
2016-04-14 10:02:50 +01:00
Vineeth TM
eacdaa56b3 ugly: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763082
2016-03-24 14:38:13 +02:00
Sebastian Dröge
767200bbbc Back to development 2016-03-24 13:33:22 +02:00
Sebastian Dröge
71c3943e5a Release 1.8.0 2016-03-24 12:43:04 +02:00
Sebastian Dröge
00a2ed5857 Update .po files 2016-03-24 12:18:09 +02:00
Sebastian Dröge
abec6b6dfd Release 1.7.91 2016-03-15 12:21:07 +02:00
Sebastian Dröge
8eec7105a3 Update .po files 2016-03-15 12:03:34 +02:00
Edward Hervey
dba14178ce 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
2016-03-08 12:27:36 +01:00
Sebastian Dröge
7d021628cf Release 1.7.90 2016-03-01 18:42:01 +02:00
Sebastian Dröge
0f40874189 Update .po files 2016-03-01 17:18:01 +02:00
Sebastian Dröge
a8cbcae496 po: Update translations 2016-03-01 16:54:07 +02:00
Jens Georg
7e1c64e846 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
2016-02-28 23:34:00 +11:00
Sebastian Dröge
a44d5664cd Automatic update of common submodule
From b64f03f to 6f2d209
2016-02-26 12:41:18 +02:00
Tim-Philipp Müller
62f5601723 asfdemux: fix adding bitrate to stream tags
https://bugzilla.gnome.org/show_bug.cgi?id=699586
2016-02-22 22:08:12 +00:00
Tim-Philipp Müller
f1bb44460d 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.
2016-02-21 10:11:12 +00:00
Tim-Philipp Müller
b0434ddf4e mpeg2dec: don't use exported but undeclared core debug category symbols
It's not right and won't work on Windows with MSVC.
2016-02-20 11:55:37 +00:00
Sebastian Dröge
b8be88ab3d Back to development 2016-02-19 12:38:34 +02:00
Sebastian Dröge
8bdb68edbc Release 1.7.2 2016-02-19 11:58:13 +02:00
Sebastian Dröge
8c56196f79 Update .po files 2016-02-19 11:21:03 +02:00
Sebastian Dröge
d68f3c79a8 po: Update translations 2016-02-19 10:32:06 +02:00
Sebastian Dröge
a40244bf25 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 }"
                                      ^
2016-02-18 00:25:56 +02:00
Tim-Philipp Müller
fb2b3da253 docs: update inspection to git and fix mpg123 inspect location 2016-02-16 14:46:11 +00:00
Tim-Philipp Müller
c226689a61 tests: fix distcheck 2016-02-16 12:23:33 +00:00
Tim-Philipp Müller
43bd45ba99 mpg123: move from -bad to -ugly
Hook up to build system, add to docs
2016-02-16 10:59:25 +00:00
Tim-Philipp Müller
fadda9dba6 tests: add test data for mpg123 plugin 2016-02-16 10:59:12 +00:00
Tim-Philipp Müller
e3bb9b2928 Merge branch 'plugin-move-mpg123'
Move mpg123 plugin from -bad to -ugly.

https://bugzilla.gnome.org/show_bug.cgi?id=719849
2016-02-16 10:41:07 +00:00
Vineeth TM
93b15dd649 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
2016-02-16 10:40:40 +00:00
Tim-Philipp Müller
81ede77eb7 mpg123: still reset pending audio info on hard flush
Follow-up to previous commit.

https://bugzilla.gnome.org/show_bug.cgi?id=752431
2016-02-16 10:40:40 +00:00
Jason Litzinger
5d86e1070d 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
2016-02-16 10:40:40 +00:00
Thiago Santos
2309da4e9c 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
2016-02-16 10:40:40 +00:00
Tim-Philipp Müller
d6082ad2fc Remove obsolete Android build cruft
This is not needed any longer.
2016-02-16 10:40:40 +00:00
Tim-Philipp Müller
02e20d5056 mpg123: fix compiler warning and simplify checks in set_caps
https://bugzilla.gnome.org/show_bug.cgi?id=740195
2016-02-16 10:40:40 +00:00
Carlos Rafael Giani
4b7a954cae 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
2016-02-16 10:40:40 +00:00
Tim-Philipp Müller
eb89bf4030 Fix up one-element lists in template caps 2016-02-16 10:40:39 +00:00
Tim-Philipp Müller
524c1d23da tests: fix mpg123audiodec test for big-endian architectures 2016-02-16 10:40:39 +00:00
Carlos Rafael Giani
fc142ba28a mpg123: improved error report and checks
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
2016-02-16 10:40:39 +00:00
Sebastian Dröge
056c7bc7c9 mpg123audiodec: Require caps to be set before any data processing 2016-02-16 10:40:39 +00:00
Edward Hervey
fe7f0a6ac7 mpg123: Remove dead assignment
harder ? :)
2016-02-16 10:40:39 +00:00
Sebastian Dröge
592e1cbf5d mpg123audiodec: Fix event handling in unit test 2016-02-16 10:40:39 +00:00
Sebastian Dröge
deffbd375e gst: Add better support for static plugins 2016-02-16 10:40:39 +00:00
David Schleef
c4399160f6 mpg123: Add conditional on API version for new enum 2016-02-16 10:40:39 +00:00
Thiago Santos
7e2f2f9e5b 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
2016-02-05 19:11:38 -03:00
Thiago Santos
4f8cfea138 Automatic update of common submodule
From 86e4663 to b64f03f
2016-02-05 18:07:02 -03:00
Tim-Philipp Müller
11904d63be amrnb, amrwb: unconditionally depend on opencore-amr*b >= 0.1.3
We don't really need to cater for older versions any more.
2016-01-25 20:00:26 +00:00
Edward Hervey
e9a04cd153 mpeg2dec: Demote rank to SECONDARY
https://bugzilla.gnome.org/show_bug.cgi?id=574461
2016-01-21 17:38:34 +01:00
Thiago Santos
deb1b257f4 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
2016-01-08 22:00:12 -03:00
Ravi Kiran K N
9ee60482b2 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
2016-01-04 16:13:03 -05:00
Sebastian Dröge
59f5866cd2 Back to development 2015-12-24 15:28:46 +01:00