Commit graph

5139 commits

Author SHA1 Message Date
Nicolas Dufresne
63b43d3bee mpeg2dec: Use propose unref method for buffer 2015-03-09 18:43:43 +00:00
Simon Farnsworth
f3e8dcb9de mpeg2dec: Fix handling of stride
A pipeline like:

gst-launch-1.0 filesrc location=file.ts ! tsdemux ! mpegvideoparse ! mpeg2dec  ! vaapisink

would look bad when file.ts contains 704x576 video, because vaapisink would
give you buffers of stride 768, but libmpeg2 was not told about this and
used a stride of 704.

Tell libmpeg2 about the stride from  downstream; in the process, teach it to
reject buffer pools that don't meet libmpeg2's chroma stride requirements

Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
2015-02-15 15:11:41 -06:00
Sebastian Dröge
7dc03df3de Improve and fix LATENCY query handling
This now follows the design docs everywhere, especially the maximum latency
handling.

https://bugzilla.gnome.org/show_bug.cgi?id=744106
2015-02-11 13:56:48 +01:00
Sebastian Dröge
5dd1a28906 x264enc: Don't set max latency to the same value as the encoder latency
The meaning of the max latency is *not* the maximum latency this element will
introduce. It is the maximum latency this element can endure without
overflowing any buffers, which is infinite for x264enc.

Fixes latency configuration in zero latency mode, where max latency was
becoming 0... which usually won't work well if something else introduces
latency as then max < min in the end, and latency configuration just fails.
2015-02-06 19:04:32 +01:00
Vincent Penquerc'h
5f075f3361 x264enc: set annexb=1 in byte stream mode when downstream has ANY caps
This matches what is done when downstream caps are not ANY, and fixes
prerolling in byte stream mode when typefind is downstream.
2015-02-02 14:28:33 +00:00
Sebastian Dröge
2c5ba12f28 Constify some static arrays everywhere 2015-01-21 09:56:41 +01:00
Tim-Philipp Müller
b130321dd0 configure: remove non-ported plugins stuff
It's not needed any longer, all plugins in -ugly
have been ported.
2015-01-18 16:53:41 +00:00
Nicolas Dufresne
acc9529a36 x264enc: Don't set an allocation maximum
There is no reason x264enc should enforce a maximum allocation size.
The maximum is normally set by buffer pool which cannot grow, but we
don't offer a buffer pool. This would lead to stall when used with
element that don't implement allocation query.

Related to: https://bugzilla.gnome.org/show_bug.cgi?id=738302
2015-01-18 11:07:43 -05:00
Stefan Sauer
ad43a4de43 Automatic update of common submodule
From f2c6b95 to bc76a8b
2015-01-12 16:10:45 +01:00
Sebastian Dröge
6ca068fef8 MAINTAINERS: Update my mail address 2014-12-22 11:46:31 +01:00
Sebastian Dröge
73c21a4b6f Automatic update of common submodule
From ef1ffdc to f2c6b95
2014-12-18 10:54:30 +01:00
Edward Hervey
a5b7eb2690 Automatic update of common submodule
From 7bb2bce to ef1ffdc
2014-11-27 17:11:30 +01:00
Vincent Penquerc'h
86562f56e2 dvdlpcmdec: set channel positions using the appropriate API
https://bugzilla.gnome.org/show_bug.cgi?id=731038
2014-11-12 14:23:30 +00:00
Tim-Philipp Müller
3afe2b7bd1 asfdemux: fix comment 2014-11-05 23:34:56 +00:00
Edward Hervey
ec19c9b6e4 asfdemux: Send duration query upstream first
An upstream element (like mms or some dlna source) might be able to
answer the query. Try that first, else fallback to standard logic
2014-11-05 13:45:29 +01:00
Tim-Philipp Müller
ccb4ae449a asf: fix up file mode 2014-11-02 17:32:45 +00:00
Sebastian Dröge
19cce1526d Automatic update of common submodule
From 84d06cd to 7bb2bce
2014-10-27 17:58:14 +01:00
Tim-Philipp Müller
ba51b4e2e7 tests: parallelise 'make check-valgrind' 2014-10-21 19:46:56 +01:00
Tim-Philipp Müller
f5e3f0fe58 Automatic update of common submodule
From a8c8939 to 84d06cd
2014-10-21 13:02:03 +01:00
Stefan Sauer
47998fcb43 Automatic update of common submodule
From 36388a1 to a8c8939
2014-10-21 12:58:58 +02:00
Guillaume Desmottes
07f2043e58 asfdemux: first try to delegate TIME seek events upstream
We should give a chance to upstream to handle TIME seek events before trying
to handle it in asfdemux.

Fix a bug where fast backward seeks where discarded right away because they
were not supported by asfdemux.

https://bugzilla.gnome.org/show_bug.cgi?id=734471
2014-09-16 12:13:41 -03:00
Guillaume Desmottes
8dff7bb38d asfdemux: add ASF_OBJ_METADATA_LIBRARY_OBJECT
We can safely ignore those but best to claim to understand this object type so
we don't raise a warning.

https://bugzilla.gnome.org/show_bug.cgi?id=736060
2014-09-05 10:49:16 +03:00
Thiago Santos
2863d9ae00 asfdemux: if video is h264, check the codec_data for bytestream data
For bytestream we don't want to expose it as codec_data but rather as
streamheader as it is not out-of-band data but data that should be
prepended to the beginning of the stream before the other buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=735070
2014-08-27 10:54:18 -03:00
Tim-Philipp Müller
2402349d13 docs: update for git master 2014-08-10 19:13:37 +01:00
Thiago Santos
30b8d8a4be asfdemux: simplify log statement
Use the GST_PTR_FORMAT to print the buffer
2014-08-08 16:48:37 -03:00
Tim-Philipp Müller
5872a1454e x264: fix colour inversion with YV12 format
It's the same as I420 but with the U/V planes swapped.
2014-08-05 19:47:26 +01:00
Edward Hervey
08c0c9512c Makefile: Add usage of build-checks step
Allows building checks without running them
2014-08-01 10:37:44 +02:00
Nicolas Dufresne
8aea88d261 x264enc: Request buffers in allocation query
https://bugzilla.gnome.org/show_bug.cgi?id=732288
2014-07-25 14:29:21 -04:00
Nicolas Dufresne
698714fc97 x264enc: Shift both PTS and DTS to ensure positive timestamp
Currently we only shift DTS to compensate that we don't support negative
timestamp. This cause a problem that PTS is no longer >= DTS and may
make muxers live much harder. Instead, shift both PTS/DTS forward. Also
remove all the hack to handle this which seems the result of thinking libx264
is bugged.

https://bugzilla.gnome.org/show_bug.cgi?id=731351
2014-07-19 12:59:05 -04:00
Sebastian Dröge
caee6eb21d Back to development 2014-07-19 18:04:46 +02:00
Sebastian Dröge
a8c5bf9171 Release 1.4.0 2014-07-19 17:44:06 +02:00
Sebastian Dröge
5c538b5a25 Update .po files 2014-07-19 16:50:04 +02:00
Sebastian Dröge
f60a1552bf po: Update translations 2014-07-19 12:48:11 +02:00
Sebastian Dröge
936463c3ad Release 1.3.91 2014-07-11 11:44:28 +02:00
Sebastian Dröge
b80e354c6a Update .po files 2014-07-11 11:13:39 +02:00
Sebastian Dröge
485fb9ce85 po: Update translations 2014-07-11 08:53:12 +02:00
Sebastian Rasmussen
e593ae2db6 rademux: Print invalid fourcc in error message in hex
Previously this was printed as characters which caused later processing
of the error message to sometimes warn about non-UTF-8 characters.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732716
2014-07-04 08:41:13 +01:00
Sebastian Dröge
cf0ea1eb37 Release 1.3.90 2014-06-28 11:39:14 +02:00
Sebastian Dröge
0a83111bf7 Update .po files 2014-06-28 11:39:01 +02:00
Tim-Philipp Müller
0b41f6d7c1 Ignore autotools test-driver temp files from 'make check' 2014-06-22 21:48:28 +01:00
Sebastian Dröge
654b847584 Back to development 2014-06-22 19:36:14 +02:00
Sebastian Dröge
58959c390f Release 1.3.3 2014-06-22 18:13:53 +02:00
Sebastian Dröge
47d7c15972 Update .po files 2014-06-22 17:40:40 +02:00
Sebastian Dröge
e2e5e6286d po: Update translations 2014-06-22 14:25:18 +02:00
Thiago Santos
a71a239572 rmdemux: use GstFlowCombiner
Removes flow return combination code to use the newly added GstFlowCombiner

https://bugzilla.gnome.org/show_bug.cgi?id=709224
2014-06-03 10:04:01 -03:00
Thiago Santos
df4a98e510 asfdemux: use GstFlowCombiner
Removes flow return combination code to use the newly added GstFlowCombiner

https://bugzilla.gnome.org/show_bug.cgi?id=709224
2014-06-03 10:04:01 -03:00
Aurélien Zanelli
84b2009155 x264enc: fix caps leak in set_format()
https://bugzilla.gnome.org/show_bug.cgi?id=730865
2014-05-28 10:09:41 +02:00
Matej Knopp
eb65696251 asfdemux: Handle initial 0 timestamp that should have been -1
https://bugzilla.gnome.org/show_bug.cgi?id=719660
2014-05-26 09:56:11 +02:00
Sebastian Dröge
a214e5713b Back to development 2014-05-21 13:23:33 +02:00
Sebastian Dröge
50f551dbdf Release 1.3.2 2014-05-21 13:06:35 +02:00