platform/upstream/gstreamer.git
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

9 years agoRelease 1.5.90
Sebastian Dröge [Wed, 19 Aug 2015 11:05:27 +0000 (14:05 +0300)]
Release 1.5.90

9 years agoUpdate .po files
Sebastian Dröge [Wed, 19 Aug 2015 09:55:35 +0000 (12:55 +0300)]
Update .po files

9 years agopo: Update translations
Sebastian Dröge [Wed, 19 Aug 2015 08:33:01 +0000 (11:33 +0300)]
po: Update translations

9 years agox264enc: actually return TRUE from accept-caps handler
Thiago Santos [Tue, 18 Aug 2015 05:23:55 +0000 (02:23 -0300)]
x264enc: actually return TRUE from accept-caps handler

The query was handled

9 years agox264enc: implement accept-caps handling
Thiago Santos [Sun, 16 Aug 2015 17:27:44 +0000 (14:27 -0300)]
x264enc: implement accept-caps handling

Implement accept-caps handling without doing caps queries downstream

9 years agoaudioencoders: use template subset check for accept-caps
Thiago Santos [Sun, 16 Aug 2015 01:15:26 +0000 (22:15 -0300)]
audioencoders: use template subset check for accept-caps

It is faster than doing a query that propagates downstream and
should be enough

Elements: amrnbenc, lamemp3enc, twolamemp2enc

9 years agompeg2dec: use default pad accept-caps handling
Thiago Santos [Sat, 15 Aug 2015 14:46:59 +0000 (11:46 -0300)]
mpeg2dec: use default pad accept-caps handling

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

9 years agoaudiodecoders: use default pad accept-caps handling
Thiago Santos [Sat, 15 Aug 2015 14:46:13 +0000 (11:46 -0300)]
audiodecoders: use default pad accept-caps handling

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

Elements: a52dec, amrnbdec, amrwbdec, mad

9 years agocheck: Rename states unit test
Edward Hervey [Fri, 14 Aug 2015 09:14:31 +0000 (11:14 +0200)]
check: Rename states unit test

Makes it easier to differentiate from other modules states unit test

9 years agormdemux: fix assertion error when freeing old tags.
Vineeth TM [Thu, 6 Aug 2015 01:05:53 +0000 (10:05 +0900)]
rmdemux: fix assertion error when freeing old tags.

Check if old_tags is present before calling gst_tag_list_unref

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

9 years agoasfdemux: fix assertion error when codec_data is not present in structure
Vineeth TM [Fri, 24 Jul 2015 01:08:34 +0000 (10:08 +0900)]
asfdemux: fix assertion error when codec_data is not present in structure

When discovering a particular asf file, caps structure doesn't have
codec_data, and this was not being checked before using the same,
resulting in assertion error

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

9 years agoasfdemux: remove unread value
Luis de Bethencourt [Wed, 29 Jul 2015 14:55:14 +0000 (15:55 +0100)]
asfdemux: remove unread value

Init value of idx2 is never used. First usage sets it to idx + 1. Removing
initial value.

9 years agoasfdemux: Don't post error on flushing while reading headers
Olivier Crête [Sat, 25 Jul 2015 08:55:15 +0000 (04:55 -0400)]
asfdemux: Don't post error on flushing while reading headers

9 years agormdemux: mark tag list as global scope
Tim-Philipp Müller [Tue, 21 Jul 2015 10:13:27 +0000 (11:13 +0100)]
rmdemux: mark tag list as global scope

9 years agormdemux: fix taglist leak
Tim-Philipp Müller [Tue, 21 Jul 2015 10:10:04 +0000 (11:10 +0100)]
rmdemux: fix taglist leak

merge doesn't take ownership, so must unref the
old tags if we do merge.

9 years agormdemux: fix wrong unref when there are no tags
Vineeth TM [Tue, 21 Jul 2015 03:44:55 +0000 (12:44 +0900)]
rmdemux: fix wrong unref when there are no tags

Tags should be appended to pending tags and unref'ed only if tags
are present. Else there is no need to append.

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

9 years agormdemux: fix memory leaks during error cases
Vineeth T M [Thu, 16 Jul 2015 09:11:37 +0000 (18:11 +0900)]
rmdemux: fix memory leaks during error cases

while adding stream, during error cases, only stream is
being freed. Adapter, pad, tags, subpackets, index are not being
freed resulting in memory leaks

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

9 years agoUpdate mailing list in doap file as well
Tim-Philipp Müller [Thu, 16 Jul 2015 16:23:15 +0000 (17:23 +0100)]
Update mailing list in doap file as well

9 years agoUpdate mailing list address from sourceforge to freedesktop
Tim-Philipp Müller [Thu, 16 Jul 2015 16:19:37 +0000 (17:19 +0100)]
Update mailing list address from sourceforge to freedesktop

9 years agormdemux: fix tag memory leak
Vineeth T M [Thu, 16 Jul 2015 00:49:17 +0000 (09:49 +0900)]
rmdemux: fix tag memory leak

tags is not being freed after being merged to the
pending_tags.

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

9 years agoAutomatic update of common submodule
Stefan Sauer [Fri, 3 Jul 2015 19:58:33 +0000 (21:58 +0200)]
Automatic update of common submodule

From f74b2df to 9aed1d7

9 years agoBack to development
Sebastian Dröge [Wed, 24 Jun 2015 22:04:19 +0000 (00:04 +0200)]
Back to development

9 years agoRelease 1.5.2
Sebastian Dröge [Wed, 24 Jun 2015 21:39:37 +0000 (23:39 +0200)]
Release 1.5.2

9 years agoUpdate .po files
Sebastian Dröge [Wed, 24 Jun 2015 21:14:52 +0000 (23:14 +0200)]
Update .po files

9 years agopo: Update translations
Sebastian Dröge [Wed, 24 Jun 2015 09:15:22 +0000 (11:15 +0200)]
po: Update translations

9 years agoasfdemux: Use gst_video_multiview_guess_half_aspect() function
Jan Schmidt [Mon, 15 Jun 2015 06:33:26 +0000 (16:33 +1000)]
asfdemux: Use gst_video_multiview_guess_half_aspect() function

Use gst_video_multiview_guess_half_aspect() to guess if frame-packed
stereoscopic video is full-frame per view or not.

9 years agoAutomatic update of common submodule
Nicolas Dufresne [Tue, 16 Jun 2015 21:49:05 +0000 (17:49 -0400)]
Automatic update of common submodule

From 6015d26 to f74b2df

9 years agox264enc: Use gst_video_encoder_set_min_pts
Matej Knopp [Wed, 26 Nov 2014 21:15:43 +0000 (22:15 +0100)]
x264enc: Use gst_video_encoder_set_min_pts

This method replace the manual adjustment of PTS and DTS to avoid
negative DTS issues. Using this method will also update the segment so
we don't loos sync.

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

9 years agoasfdemux: Add support for stereoscopic video metadata.
Jan Schmidt [Wed, 10 Jun 2015 04:28:05 +0000 (14:28 +1000)]
asfdemux: Add support for stereoscopic video metadata.

Add parsing of stereoscopic metadata, and place into the caps to
the decoder.

Fix parsing of Advanced Mutual Exclustion objects.

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

Based on a patch by HyeJin Choi <meeshel78@hotmail.com>

9 years agox264enc: Add support for stereoscopic video
Jan Schmidt [Sat, 4 Oct 2014 14:54:59 +0000 (00:54 +1000)]
x264enc: Add support for stereoscopic video

Provide new frame-packing property to directly set
x264enc frame packing, or pass through upstream settings

The explicit layout from the frame-packing property is
preferred over any info from the caps.

9 years agoxingmux: fix compiler warnings
Chris Clayton [Wed, 10 Jun 2015 14:32:44 +0000 (15:32 +0100)]
xingmux: fix compiler warnings

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

9 years agocruft: add the obsolete tmpl dir to cruft-dirs
Stefan Sauer [Tue, 9 Jun 2015 13:28:46 +0000 (15:28 +0200)]
cruft: add the obsolete tmpl dir to cruft-dirs

9 years agoAutomatic update of common submodule
Edward Hervey [Tue, 9 Jun 2015 09:30:34 +0000 (11:30 +0200)]
Automatic update of common submodule

From d9a3353 to 6015d26

9 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 8 Jun 2015 21:08:11 +0000 (23:08 +0200)]
Automatic update of common submodule

From d37af32 to d9a3353

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 21:06:47 +0000 (23:06 +0200)]
Automatic update of common submodule

From 21ba2e5 to d37af32

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:32:12 +0000 (17:32 +0200)]
Automatic update of common submodule

From c408583 to 21ba2e5

9 years agodocs: remove variables that we define in the snippet from common
Stefan Sauer [Sun, 7 Jun 2015 15:02:31 +0000 (17:02 +0200)]
docs: remove variables that we define in the snippet from common

This is syncing our Makefile.am with upstream gtkdoc.

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:16:30 +0000 (17:16 +0200)]
Automatic update of common submodule

From d676993 to c408583

9 years agoBack to development
Sebastian Dröge [Sun, 7 Jun 2015 14:44:43 +0000 (16:44 +0200)]
Back to development

9 years agoRelease 1.5.1
Sebastian Dröge [Sun, 7 Jun 2015 09:05:29 +0000 (11:05 +0200)]
Release 1.5.1

9 years agoUpdate .po files
Sebastian Dröge [Sun, 7 Jun 2015 09:05:22 +0000 (11:05 +0200)]
Update .po files

9 years agopo: Update translations
Sebastian Dröge [Sun, 7 Jun 2015 07:36:00 +0000 (09:36 +0200)]
po: Update translations

9 years agocheck: Use GST_CHECK_MAIN () macro everywhere
Edward Hervey [Tue, 2 Jun 2015 14:31:10 +0000 (16:31 +0200)]
check: Use GST_CHECK_MAIN () macro everywhere

Makes source code smaller, and ensures we go through common initialization
path (like the one that sets up XML unit test output ...)

9 years agox264enc: don't artificially limit max allowed value of "threads" property
Tim-Philipp Müller [Tue, 26 May 2015 16:58:18 +0000 (17:58 +0100)]
x264enc: don't artificially limit max allowed value of "threads" property

In auto mode it will happily chose much higher values anyway,
and a limit of 4 seems a bit low these days.

9 years agodvdread: Also reset the first_seek var in start()
Jan Schmidt [Tue, 12 May 2015 12:05:02 +0000 (22:05 +1000)]
dvdread: Also reset the first_seek var in start()

Make the initial chapter seek work across reuse.

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

9 years agodvdread: Work around basesrc initial seek
Jan Schmidt [Tue, 12 May 2015 11:52:24 +0000 (21:52 +1000)]
dvdread: Work around basesrc initial seek

Ignore the initial seek basesrc sends, as it
breaks starting from another chapter by
immediately seeking back to the start of the title

9 years agodocs: update example pipelines in element docs
Tim-Philipp Müller [Sun, 10 May 2015 10:34:33 +0000 (11:34 +0100)]
docs: update example pipelines in element docs

Mostly gst-launch -> gst-launch-1.0, but also
use autoaudiosink/autovideosink in more places
and update pipelines a little or flesh out
descriptions.

9 years agoRename property enums from ARG_ to PROP_
Luis de Bethencourt [Mon, 27 Apr 2015 09:57:12 +0000 (10:57 +0100)]
Rename property enums from ARG_ to PROP_

Property enum items should be nameed PROP_ for consistency and readability.

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

This is not needed any longer.

9 years agorealmedia: remove unused enum item PROP_LAST
Luis de Bethencourt [Fri, 24 Apr 2015 16:05:20 +0000 (17:05 +0100)]
realmedia: remove unused enum item PROP_LAST

9 years agotests: define GST_CHECK_TEST_ENVIRONMENT_BEACON
Tim-Philipp Müller [Thu, 23 Apr 2015 15:23:01 +0000 (16:23 +0100)]
tests: define GST_CHECK_TEST_ENVIRONMENT_BEACON

Make sure the test environment is set up.

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

9 years agoconfigure: bump automake requirement to 1.14 and autoconf to 2.69
Tim-Philipp Müller [Thu, 23 Apr 2015 15:22:39 +0000 (16:22 +0100)]
configure: bump automake requirement to 1.14 and autoconf to 2.69

This is only required for builds from git, people can still
build tarballs if they only have older autotools.

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

9 years agoUpdate .gitignore
Tim-Philipp Müller [Thu, 23 Apr 2015 15:22:30 +0000 (16:22 +0100)]
Update .gitignore

9 years agoRemove LICENSE_readme
Sebastian Dröge [Wed, 22 Apr 2015 08:37:54 +0000 (10:37 +0200)]
Remove LICENSE_readme

It's completely outdated and just confusing, better if people are
forced to look at the actual code in question than trusting this file.

9 years agoRemove INSTALL file
Sebastian Dröge [Wed, 22 Apr 2015 08:37:43 +0000 (10:37 +0200)]
Remove INSTALL file

autotools automatically generate this, and when using different versions
for autogen.sh there will always be changes to a file tracked by git.

9 years agoasfdemux: fix a seek failure due to out-of-range in push mode
Cliff Han [Mon, 20 Apr 2015 05:35:30 +0000 (14:35 +0900)]
asfdemux: fix a seek failure due to out-of-range in push mode

A seek in push mode failed for big offsets which are beyond
the range of guint32.

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

9 years agotests: Use AM_TESTS_ENVIRONMENT
Edward Hervey [Wed, 8 Apr 2015 14:52:06 +0000 (16:52 +0200)]
tests: Use AM_TESTS_ENVIRONMENT

Needed by the new automake test runner

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 3 Apr 2015 17:58:03 +0000 (18:58 +0100)]
Automatic update of common submodule

From bc76a8b to c8fb372

9 years agoa52dec: fix race in liba52dec lookup table initialization
Vincent Penquerc'h [Thu, 2 Apr 2015 16:24:05 +0000 (17:24 +0100)]
a52dec: fix race in liba52dec lookup table initialization

a52_init initializes the IMDCT global state as well as creating
a new state. When two A52 decoders are created (eg, when two AC3
tracks are contained in a video), calls to a52_init may happen
at the same time, and the IMDCT initialization is not reentrant.

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

9 years agompeg2dec: fix buffer leak in crop_buffer()
Guillaume Desmottes [Fri, 27 Mar 2015 13:41:51 +0000 (14:41 +0100)]
mpeg2dec: fix buffer leak in crop_buffer()

gst_buffer_pool_acquire_buffer() gives us a new owned buffer while
gst_buffer_replace() reffed it as well so we were one reference extra.

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

9 years agormdemux: resurrect some flow return handling
Mark Nauwelaerts [Sat, 28 Mar 2015 15:58:26 +0000 (16:58 +0100)]
rmdemux: resurrect some flow return handling

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

9 years agoasfdemux: resurrect some flow return handling
Mark Nauwelaerts [Sat, 28 Mar 2015 15:57:06 +0000 (16:57 +0100)]
asfdemux: resurrect some flow return handling

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

9 years agompeg2dec: fix memory leak
Luis de Bethencourt [Tue, 24 Mar 2015 12:50:43 +0000 (12:50 +0000)]
mpeg2dec: fix memory leak

CID #1291630

9 years agompeg2dec: initialize buffer
Luis de Bethencourt [Tue, 24 Mar 2015 10:29:48 +0000 (10:29 +0000)]
mpeg2dec: initialize buffer

Buffer needs to be null before passing it to gst_buffer_pool_acquire_buffer()

CID #1291634

9 years agompeg2dec: Add stride support
Nicolas Dufresne [Fri, 13 Mar 2015 17:00:03 +0000 (17:00 +0000)]
mpeg2dec: Add stride support

This allow using external pools that have different strides from the
default. These strides need to respect certain rules, which we check
and if these are not met, we fallback to generic pool.

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

9 years agompeg2dec: Re-implement pool handling
Nicolas Dufresne [Tue, 10 Mar 2015 16:45:01 +0000 (16:45 +0000)]
mpeg2dec: Re-implement pool handling

This is a rewrite of the pool negotiation and configuration. Direct
to output decoding is now achieved by configuring the pool using
video-alignment. This removes copies when dealing with any elements that
supports VideoAlignment, and enable usage of generic video buffer pool,
XVImagePool and GLPool. It drops the crop meta implementation for now.

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

9 years agodvbsub: fix indentation
Tim-Philipp Müller [Tue, 10 Mar 2015 09:33:15 +0000 (09:33 +0000)]
dvbsub: fix indentation

9 years agoFix double semicolons
Tim-Philipp Müller [Tue, 10 Mar 2015 09:32:51 +0000 (09:32 +0000)]
Fix double semicolons

9 years agoRevert "mpeg2dec: Fix handling of stride"
Nicolas Dufresne [Mon, 9 Mar 2015 19:11:51 +0000 (19:11 +0000)]
Revert "mpeg2dec: Fix handling of stride"

This reverts commit f3e8dcb9de4d546e7d80ccc1754ed13dd4e7ac81.

9 years agoRevert "mpeg2dec: Use propose unref method for buffer"
Nicolas Dufresne [Mon, 9 Mar 2015 19:11:44 +0000 (19:11 +0000)]
Revert "mpeg2dec: Use propose unref method for buffer"

This reverts commit 63b43d3bee832aec353d02575da543f3c73f6893.

9 years agompeg2dec: Use propose unref method for buffer
Nicolas Dufresne [Mon, 9 Mar 2015 18:43:43 +0000 (18:43 +0000)]
mpeg2dec: Use propose unref method for buffer

9 years agompeg2dec: Fix handling of stride
Simon Farnsworth [Wed, 21 Jan 2015 18:29:22 +0000 (18:29 +0000)]
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>
9 years agoImprove and fix LATENCY query handling
Sebastian Dröge [Wed, 11 Feb 2015 12:56:48 +0000 (13:56 +0100)]
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

9 years agox264enc: Don't set max latency to the same value as the encoder latency
Sebastian Dröge [Fri, 6 Feb 2015 18:04:32 +0000 (19:04 +0100)]
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.

9 years agox264enc: set annexb=1 in byte stream mode when downstream has ANY caps
Vincent Penquerc'h [Mon, 2 Feb 2015 14:13:10 +0000 (14:13 +0000)]
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.

9 years agoConstify some static arrays everywhere
Sebastian Dröge [Wed, 21 Jan 2015 08:56:41 +0000 (09:56 +0100)]
Constify some static arrays everywhere

9 years agoconfigure: remove non-ported plugins stuff
Tim-Philipp Müller [Sun, 18 Jan 2015 16:53:41 +0000 (16:53 +0000)]
configure: remove non-ported plugins stuff

It's not needed any longer, all plugins in -ugly
have been ported.

9 years agox264enc: Don't set an allocation maximum
Nicolas Dufresne [Sun, 18 Jan 2015 16:07:43 +0000 (11:07 -0500)]
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

9 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 12 Jan 2015 15:10:45 +0000 (16:10 +0100)]
Automatic update of common submodule

From f2c6b95 to bc76a8b