platform/upstream/gstreamer.git
11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 7 Mar 2013 00:02:00 +0000 (00:02 +0000)]
Automatic update of common submodule

From 2de221c to 04c7a1e

11 years agox264enc: simplify template caps
Tim-Philipp Müller [Fri, 8 Feb 2013 00:15:01 +0000 (00:15 +0000)]
x264enc: simplify template caps

No need to make an array for one single element.

11 years agox264enc: put all theoretically possible formats in template caps
Tim-Philipp Müller [Fri, 8 Feb 2013 00:11:03 +0000 (00:11 +0000)]
x264enc: put all theoretically possible formats in template caps

and decide at runtime which subset of these (8-bit or 10-bit video
formats) is supported. libx264 will be compiled for one of these
two options, and it is possible to switch by pointing the dynamic
linker to a different libx264 build at runtime. If we want our
template caps to be correct, they should contain all then, with
the actually supported ones determined at runtime.

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

11 years agox264enc: detect supported bit depth and pixel formats at runtime
Tim-Philipp Müller [Wed, 23 Jan 2013 10:16:51 +0000 (10:16 +0000)]
x264enc: detect supported bit depth and pixel formats at runtime

http://bugs.debian.org/667573
https://bugzilla.gnome.org/show_bug.cgi?id=691935

11 years agoautogen.sh: allow calling from out-of-tree
Benjamin Gaignard [Wed, 30 Jan 2013 08:15:18 +0000 (09:15 +0100)]
autogen.sh: allow calling from out-of-tree

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
https://bugzilla.gnome.org/show_bug.cgi?id=692857

11 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 28 Jan 2013 19:43:08 +0000 (20:43 +0100)]
Automatic update of common submodule

From a942293 to 2de221c

11 years agotests: use _1_0 variants for the various registry variables
Martin Pitt [Tue, 15 Jan 2013 14:18:04 +0000 (15:18 +0100)]
tests: use _1_0 variants for the various registry variables

These override the variants without version suffix. Makes 'make check' work
properly in environments that set the suffixed variant for 1.0, such as
jhbuild.

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 15 Jan 2013 15:06:41 +0000 (15:06 +0000)]
Automatic update of common submodule

From a72faea to a942293

11 years agoconfigure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Tim-Philipp Müller [Sun, 30 Dec 2012 23:56:14 +0000 (23:56 +0000)]
configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS

AM_CONFIG_HEADER has been removed in the just-released automake 1.13:
https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html

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

12 years agompeg2dec: use appropriate printf format for gsize
Thijs Vermeir [Wed, 19 Dec 2012 16:16:53 +0000 (17:16 +0100)]
mpeg2dec: use appropriate printf format for gsize

12 years agocdio: Fix redundant redeclaration of 'cdio_version_string'
Thijs Vermeir [Wed, 19 Dec 2012 16:15:03 +0000 (17:15 +0100)]
cdio: Fix redundant redeclaration of 'cdio_version_string'

cdio/version.h is already included by cdio/cdio.h

12 years agosiddec: init debug category
Wim Taymans [Sat, 1 Dec 2012 12:26:26 +0000 (13:26 +0100)]
siddec: init debug category

12 years agodvdread: link to libgmodule-2.0 since the g_module_* API is used
Tim-Philipp Müller [Fri, 30 Nov 2012 20:09:03 +0000 (20:09 +0000)]
dvdread: link to libgmodule-2.0 since the g_module_* API is used

And the gmodule lib has been moved into the Requires.private
section of the pkg-config file in core.

12 years agocdiocddasrc: detect whether drive produces samples in non-host endianness
Tim-Philipp Müller [Tue, 27 Nov 2012 17:07:31 +0000 (17:07 +0000)]
cdiocddasrc: detect whether drive produces samples in non-host endianness

If drive produces samples in other endianness than the host,
we need to byte swap them before pushing them out, or we
produce nothing but noise. cdparanoia detects this automatically,
but libcdio does not, so we have to do it ourselves.

This is needed on e.g. the PowerBook G4 with Matshita UJ-816 drive.

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

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 19 Nov 2012 11:27:21 +0000 (11:27 +0000)]
Automatic update of common submodule

From b497c4f to a72faea

12 years agoxingmux: Fix unit test after change to correctly calculate number of frames
Sebastian Dröge [Fri, 16 Nov 2012 12:32:00 +0000 (13:32 +0100)]
xingmux: Fix unit test after change to correctly calculate number of frames

12 years agox264enc: Add support for 10-bit color formats
Sebastian Dröge [Thu, 15 Nov 2012 15:42:09 +0000 (16:42 +0100)]
x264enc: Add support for 10-bit color formats

Requires x264 to be built with 10-bit support, which disables
9-bit support. Also only advertise the color formats that were
compiled into x264.

12 years agox264enc: Add support for Y444, Y42B and NV12
Sebastian Dröge [Thu, 15 Nov 2012 15:21:49 +0000 (16:21 +0100)]
x264enc: Add support for Y444, Y42B and NV12

12 years agocdio: use gst_tag_freeform_string_to_utf8() for CD-TEXT strings
Tim-Philipp Müller [Sun, 11 Nov 2012 20:42:42 +0000 (20:42 +0000)]
cdio: use gst_tag_freeform_string_to_utf8() for CD-TEXT strings

They're probably not going to be UTF-8, but ISO-8859-1 or somesuch
if they're not plain ASCII.

12 years agoxingmux: Properly calculate the number of frames
Gautier Portet [Fri, 9 Nov 2012 10:33:40 +0000 (11:33 +0100)]
xingmux: Properly calculate the number of frames

First, the xing header frame is never added to the count,
we have to increment the count.
Secondly, there is a rounding error when calculating the
frame duration, as spf*GST_SECOND/rate is not an integer
(26122448.9) an it must be 26122449.

12 years agoconfigure.ac: update courtesy of autoupdate
Tim-Philipp Müller [Wed, 7 Nov 2012 20:45:38 +0000 (20:45 +0000)]
configure.ac: update courtesy of autoupdate

12 years agoconfigure: let AG_GST_PLUGIN_DOCS check for python
Tim-Philipp Müller [Wed, 7 Nov 2012 20:39:56 +0000 (20:39 +0000)]
configure: let AG_GST_PLUGIN_DOCS check for python

And update common for move from AS_PATH_PYTHON to AM_PATH_PYTHON,
which as a side-effect should pick up newer python versions as
well.

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

12 years agodvdlpcmdec: Fix parsing of headers to set correct width to allow decode.
Michael Smith [Mon, 5 Nov 2012 21:16:52 +0000 (13:16 -0800)]
dvdlpcmdec: Fix parsing of headers to set correct width to allow decode.

12 years agoFix FSF address
Tim-Philipp Müller [Sat, 3 Nov 2012 20:40:37 +0000 (20:40 +0000)]
Fix FSF address

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

12 years agodvdsubdec: allocate correct amount of memory for bitmap
Andreas Frisch [Tue, 30 Oct 2012 12:39:52 +0000 (13:39 +0100)]
dvdsubdec: allocate correct amount of memory for bitmap

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

12 years agosiddec: reset bytes counter
Wim Taymans [Tue, 30 Oct 2012 09:20:04 +0000 (09:20 +0000)]
siddec: reset bytes counter

Reset the total_bytes counter so that we get timestamps correct.

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

12 years agoBack to feature development
Tim-Philipp Müller [Thu, 25 Oct 2012 11:38:47 +0000 (12:38 +0100)]
Back to feature development

12 years agoRelease 1.0.2
Tim-Philipp Müller [Thu, 25 Oct 2012 00:11:10 +0000 (01:11 +0100)]
Release 1.0.2

12 years agoMakefile.am: Fix typos for generating the Android.mk files
Scott Fan [Wed, 24 Oct 2012 12:10:03 +0000 (20:10 +0800)]
Makefile.am: Fix typos for generating the Android.mk files

Change libgstasfdemux to libgstasf, and change libgstrealmedia to libgstrmdemux.

The typos led to generate the incorrect Android.mk files for the asfdemux
and realmedia plugin.

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

12 years agodvdreadsrc: correctly set next cell when seeking to sector
Mark Nauwelaerts [Thu, 18 Oct 2012 20:19:04 +0000 (22:19 +0200)]
dvdreadsrc: correctly set next cell when seeking to sector

12 years agodvdsubparse: send src caps when receiving sink caps
Mark Nauwelaerts [Thu, 18 Oct 2012 20:18:28 +0000 (22:18 +0200)]
dvdsubparse: send src caps when receiving sink caps

12 years agodvdreadsrc: update dvd event to enhanced approach
Mark Nauwelaerts [Fri, 12 Oct 2012 12:49:28 +0000 (14:49 +0200)]
dvdreadsrc: update dvd event to enhanced approach

... in line with resindvdsrc.

12 years agodocs: add 'make upload' target for new-release script
Tim-Philipp Müller [Sun, 7 Oct 2012 16:08:37 +0000 (17:08 +0100)]
docs: add 'make upload' target for new-release script

12 years agoBack to development (bug fixing)
Tim-Philipp Müller [Sun, 7 Oct 2012 15:58:10 +0000 (16:58 +0100)]
Back to development (bug fixing)

12 years agoRelease 1.0.1
Tim-Philipp Müller [Sun, 7 Oct 2012 15:13:11 +0000 (16:13 +0100)]
Release 1.0.1

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sat, 6 Oct 2012 13:58:34 +0000 (14:58 +0100)]
Automatic update of common submodule

From 6c0b52c to 6bb6951

12 years agompeg2dec: Don't error out when there is no associated buffer
Jan Schmidt [Sun, 30 Sep 2012 14:01:09 +0000 (00:01 +1000)]
mpeg2dec: Don't error out when there is no associated buffer

In 0.10, having mpeg2dec occasionally tell us to output a frame that
was never decoded was just ignored, so do the same in 1.0

Fixes: #685107
12 years agoPurge mention of liboil and update REQUIREMENTS
Tim-Philipp Müller [Sat, 29 Sep 2012 11:13:00 +0000 (12:13 +0100)]
Purge mention of liboil and update REQUIREMENTS

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

12 years agox264enc: when setting fallback decoder latency, set valid min_latency
Tim-Philipp Müller [Wed, 26 Sep 2012 00:04:32 +0000 (01:04 +0100)]
x264enc: when setting fallback decoder latency, set valid min_latency

Min. latency needs to be a valid time, so pass 0 as default
value in the fallback case where we can't determine any latency,
and avoid nasty criticals at runtime.

12 years agoBack to development (bug fixing)
Tim-Philipp Müller [Mon, 24 Sep 2012 15:52:23 +0000 (16:52 +0100)]
Back to development (bug fixing)

12 years agoRelease 1.0.0
Tim-Philipp Müller [Mon, 24 Sep 2012 13:32:12 +0000 (14:32 +0100)]
Release 1.0.0

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sat, 22 Sep 2012 15:08:54 +0000 (16:08 +0100)]
Automatic update of common submodule

From 4f962f7 to 6c0b52c

12 years agoRelease 0.11.99
Tim-Philipp Müller [Mon, 17 Sep 2012 16:59:57 +0000 (17:59 +0100)]
Release 0.11.99

12 years agodocs: update docs
Tim-Philipp Müller [Mon, 17 Sep 2012 15:57:53 +0000 (16:57 +0100)]
docs: update docs

12 years agoRemove -DGST_USE_UNSTABLE_API
Tim-Philipp Müller [Mon, 17 Sep 2012 15:57:30 +0000 (16:57 +0100)]
Remove -DGST_USE_UNSTABLE_API

12 years agoUpdate docs
Tim-Philipp Müller [Mon, 17 Sep 2012 11:22:51 +0000 (12:22 +0100)]
Update docs

12 years agocdio: work around cdio headers re-defining VERSION and PACKAGE_VERSION
Tim-Philipp Müller [Mon, 17 Sep 2012 09:53:12 +0000 (10:53 +0100)]
cdio: work around cdio headers re-defining VERSION and PACKAGE_VERSION

Thanks guys. Fixes plugin version in gst-inspect-1.0 and docs
introspection/updating for this plugin.

12 years agoSwitch to F18 package naming
Christian Fredrik Kalager Schaller [Sat, 15 Sep 2012 20:23:53 +0000 (22:23 +0200)]
Switch to F18 package naming

12 years agorename some caps and elements in examples
Wim Taymans [Fri, 14 Sep 2012 14:28:54 +0000 (16:28 +0200)]
rename some caps and elements in examples

12 years agoBack to development
Tim-Philipp Müller [Fri, 14 Sep 2012 01:58:26 +0000 (02:58 +0100)]
Back to development

12 years agoRelease 0.11.94
Tim-Philipp Müller [Fri, 14 Sep 2012 01:49:34 +0000 (02:49 +0100)]
Release 0.11.94

12 years agodocs: update docs
Tim-Philipp Müller [Fri, 14 Sep 2012 00:48:50 +0000 (01:48 +0100)]
docs: update docs

12 years agormdemux: use DTS and PTS
Wim Taymans [Thu, 13 Sep 2012 11:49:33 +0000 (13:49 +0200)]
rmdemux: use DTS and PTS

Video uses DTS as timestamps. Set the DTS on the buffers and leave the PTS
undefined to make the decoder do the right thing. We can then remove the code
that tries to guess the PTS from the DTS.

12 years agompeg2dec: Hold ref to buffer while mapped
Jan Schmidt [Tue, 11 Sep 2012 05:30:18 +0000 (22:30 -0700)]
mpeg2dec: Hold ref to buffer while mapped

So that the buffer still exists when we go to unmap it later,
even if it got pushed in the meantime.

12 years agox264enc test: x264enc produces constrained-baseline, not the full baseline
Olivier Crête [Tue, 11 Sep 2012 20:48:51 +0000 (16:48 -0400)]
x264enc test: x264enc produces constrained-baseline, not the full baseline

12 years agogst: only activate in pull mode if upstream is seekable
Mark Nauwelaerts [Tue, 11 Sep 2012 15:37:03 +0000 (17:37 +0200)]
gst: only activate in pull mode if upstream is seekable

12 years agorademux: tags can be NULL
Wim Taymans [Tue, 11 Sep 2012 09:28:06 +0000 (11:28 +0200)]
rademux: tags can be NULL

12 years agomad: fix email address
Wim Taymans [Tue, 11 Sep 2012 09:13:31 +0000 (11:13 +0200)]
mad: fix email address

12 years agomad: init base class method only once
Wim Taymans [Tue, 11 Sep 2012 09:12:38 +0000 (11:12 +0200)]
mad: init base class method only once

12 years agoxingmux: remove defunct commented code
Mark Nauwelaerts [Tue, 11 Sep 2012 08:46:52 +0000 (10:46 +0200)]
xingmux: remove defunct commented code

12 years agodvbsubdec: handle and send GAP event
Mark Nauwelaerts [Tue, 11 Sep 2012 08:40:01 +0000 (10:40 +0200)]
dvbsubdec: handle and send GAP event

... in stead of update newsegment event.

12 years agodvbsubdec: adjust disabled code comment style
Mark Nauwelaerts [Tue, 11 Sep 2012 08:34:40 +0000 (10:34 +0200)]
dvbsubdec: adjust disabled code comment style

12 years agox264enc: clean up some debug statements
Mark Nauwelaerts [Sun, 9 Sep 2012 13:48:57 +0000 (15:48 +0200)]
x264enc: clean up some debug statements

12 years agox264enc: handle possibly negative DTS provided by codec
Mark Nauwelaerts [Fri, 7 Sep 2012 15:38:18 +0000 (17:38 +0200)]
x264enc: handle possibly negative DTS provided by codec

... by arranging for an offset such that DTS == PTS for keyframes,
which is expected elsewhere to go along with semantics of PTS and DTS.

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

12 years agoFix spec file for ugly
Christian Fredrik Kalager Schaller [Fri, 7 Sep 2012 11:31:15 +0000 (13:31 +0200)]
Fix spec file for ugly

12 years agotests: mpeg2dec: initialize variable
Mark Nauwelaerts [Thu, 6 Sep 2012 12:42:51 +0000 (14:42 +0200)]
tests: mpeg2dec: initialize variable

... which avoids test segfaulting.

12 years agocheck: Feed parsed data to mpeg2dec
Edward Hervey [Thu, 30 Aug 2012 23:26:00 +0000 (16:26 -0700)]
check: Feed parsed data to mpeg2dec

And fix the expected output caps by adding colorimetry field

12 years agoAutomatic update of common submodule
Stefan Sauer [Wed, 22 Aug 2012 11:31:00 +0000 (13:31 +0200)]
Automatic update of common submodule

From 668acee to 4f962f7

12 years agoconfigure: bump gtk-doc req to 1.12 (mar-2009)
Stefan Sauer [Wed, 22 Aug 2012 11:19:01 +0000 (13:19 +0200)]
configure: bump gtk-doc req to 1.12 (mar-2009)

This allows us to e.g. unconditionally use gtkdoc-rebase.

12 years agovideo/x-dvd-subpicture -> subpicture/x-dvd
Tim-Philipp Müller [Mon, 20 Aug 2012 22:32:32 +0000 (23:32 +0100)]
video/x-dvd-subpicture -> subpicture/x-dvd

12 years agox264enc: Use new video encoder base class API for handling tags
Sebastian Dröge [Thu, 9 Aug 2012 14:30:10 +0000 (16:30 +0200)]
x264enc: Use new video encoder base class API for handling tags

12 years agodvdsubdec: Set alignment at the correct place of GstAllocationParams
Sebastian Dröge [Wed, 8 Aug 2012 14:27:45 +0000 (16:27 +0200)]
dvdsubdec: Set alignment at the correct place of GstAllocationParams

12 years agoBack to development
Tim-Philipp Müller [Wed, 8 Aug 2012 15:26:41 +0000 (16:26 +0100)]
Back to development

12 years agoRelease 0.11.93
Tim-Philipp Müller [Wed, 8 Aug 2012 14:23:53 +0000 (15:23 +0100)]
Release 0.11.93

12 years agogst: silence some compiler warnings with -DG_DISABLE_ASSERT
Tim-Philipp Müller [Wed, 8 Aug 2012 14:23:27 +0000 (15:23 +0100)]
gst: silence some compiler warnings with -DG_DISABLE_ASSERT

12 years agoasfdemux: avoid some more invalid timestamp arithmetic
Sreerenj Balachandran [Mon, 6 Aug 2012 12:31:50 +0000 (15:31 +0300)]
asfdemux: avoid some more invalid timestamp arithmetic

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

12 years agogst: Add stream-id to stream-start events
Sebastian Dröge [Sun, 5 Aug 2012 16:30:52 +0000 (18:30 +0200)]
gst: Add stream-id to stream-start events

12 years agompeg2dec: Don't use NULL values for fbuf
Edward Hervey [Fri, 27 Jul 2012 09:35:52 +0000 (11:35 +0200)]
mpeg2dec: Don't use NULL values for fbuf

We need to make a difference between the initial dummy buffers (which
have a fbuf->id of NULL) and the buffers on which we allocated
video frames.

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 5 Aug 2012 15:40:57 +0000 (16:40 +0100)]
Automatic update of common submodule

From 94ccf4c to 668acee

12 years agogst_tag_list_free -> gst_tag_list_unref
Tim-Philipp Müller [Sat, 4 Aug 2012 15:13:36 +0000 (16:13 +0100)]
gst_tag_list_free -> gst_tag_list_unref

12 years agotag: Update for taglist/tag event API changes
Sebastian Dröge [Fri, 27 Jul 2012 22:28:27 +0000 (00:28 +0200)]
tag: Update for taglist/tag event API changes

12 years agompeg2dec: Avoid dropping first GOP
Edward Hervey [Thu, 26 Jul 2012 16:30:04 +0000 (18:30 +0200)]
mpeg2dec: Avoid dropping first GOP

We use the mpeg2_fbuf_t id field as an integer and not as a pointer, so
do not check if it is NULL or not.

And cleanup a bit of debug

12 years agordt: add on-npt-stop signal
Wim Taymans [Wed, 25 Jul 2012 11:05:17 +0000 (13:05 +0200)]
rdt: add on-npt-stop signal

rtspsrc will look for it.

12 years agordt: set caps after activating the pad
Wim Taymans [Wed, 25 Jul 2012 10:48:21 +0000 (12:48 +0200)]
rdt: set caps after activating the pad

12 years agordt: reset map info
Wim Taymans [Wed, 25 Jul 2012 10:48:06 +0000 (12:48 +0200)]
rdt: reset map info

12 years agoasfdepay: fix padding correction
Wim Taymans [Wed, 25 Jul 2012 07:37:08 +0000 (09:37 +0200)]
asfdepay: fix padding correction

Fix padding correction. gst_buffer_copy_into() appends the memory to the already
existing memory in the target buffer..

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

12 years agompeg2dec: copy buffer flags when cropping
Wim Taymans [Mon, 23 Jul 2012 11:32:26 +0000 (13:32 +0200)]
mpeg2dec: copy buffer flags when cropping

When we crop a buffer, copy the flags as well.

12 years agompeg2dec: Fix GstVideoInfo pointer
Robert Swain [Mon, 23 Jul 2012 09:25:34 +0000 (11:25 +0200)]
mpeg2dec: Fix GstVideoInfo pointer

12 years agompeg2dec: Correctly flag output buffer interlaced state
Robert Swain [Mon, 23 Jul 2012 09:13:05 +0000 (11:13 +0200)]
mpeg2dec: Correctly flag output buffer interlaced state

If the sequence is not flagged as progressive its buffers are marked
interlace mode mixed. There is an individual picture flag indicating
whether picture in the sequence are interlaced or not. This is used
along with the new GST_VIDEO_BUFFER_FLAG_INTERLACED to correctly and
completely indicate the buffer's interlaced state.

Also, TFF and RFF should only be set if the sequence is not progressive.

12 years agoext: Update for video base classes API changes
Sebastian Dröge [Mon, 23 Jul 2012 08:33:33 +0000 (10:33 +0200)]
ext: Update for video base classes API changes

12 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 23 Jul 2012 06:45:55 +0000 (08:45 +0200)]
Automatic update of common submodule

From 98e386f to 94ccf4c

12 years agoasfdemux: make sure to avoid arithmetic with _NONE timestamp
Mark Nauwelaerts [Fri, 20 Jul 2012 14:12:45 +0000 (16:12 +0200)]
asfdemux: make sure to avoid arithmetic with _NONE timestamp

12 years agoasfdemux: convert invalid 0 payload TS into GST_CLOCK_TIME_NONE
Nicolas Dufresne [Mon, 16 Jul 2012 21:36:19 +0000 (17:36 -0400)]
asfdemux: convert invalid 0 payload TS into GST_CLOCK_TIME_NONE

... so it does not get used as first (valid) payload ts, whereas
the first real valid payload ts may be considerably larger.

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

12 years agoasfdemux: slightly relax supported seek requirements
Mark Nauwelaerts [Fri, 20 Jul 2012 12:41:57 +0000 (14:41 +0200)]
asfdemux: slightly relax supported seek requirements

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

12 years agompeg2dec: Propagate GstFlowReturn where needed
Edward Hervey [Thu, 19 Jul 2012 07:58:50 +0000 (09:58 +0200)]
mpeg2dec: Propagate GstFlowReturn where needed

It was just ignoring the return values...

12 years agompeg2dec: Store temporary buffers out of the way
Edward Hervey [Thu, 19 Jul 2012 07:56:17 +0000 (09:56 +0200)]
mpeg2dec: Store temporary buffers out of the way

When mpeg2dec needs to do cropping (because downstream can't handle it),
we need temporary buffers to decode to.

Use the user_data field to store those, and unify the rest of the code
that needs to touch a buffer (regardless of how/where it was allocated).

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

12 years agompeg2dec: Call gst_video_decoder_negotiate()
Edward Hervey [Wed, 18 Jul 2012 16:32:54 +0000 (18:32 +0200)]
mpeg2dec: Call gst_video_decoder_negotiate()

12 years agormdemux: give stream tags a different event name so they don't overwrite global tags
Tim-Philipp Müller [Wed, 18 Jul 2012 16:21:27 +0000 (17:21 +0100)]
rmdemux: give stream tags a different event name so they don't overwrite global tags

There can only be one taglist per name for sticky tag events.
Needs to be fixed more properly, see
https://bugzilla.gnome.org/show_bug.cgi?id=677619

12 years agorademux: set/send caps on pad after activating it
Tim-Philipp Müller [Wed, 18 Jul 2012 15:49:47 +0000 (16:49 +0100)]
rademux: set/send caps on pad after activating it

12 years agormdemux: set/send caps after activating the source pads
Tim-Philipp Müller [Wed, 18 Jul 2012 15:46:46 +0000 (16:46 +0100)]
rmdemux: set/send caps after activating the source pads

Makes sure the caps event isn't dropped immediately.