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

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

11 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

11 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

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

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

11 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

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

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

11 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

11 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

11 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

11 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

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

11 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

11 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

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

11 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

11 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

11 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

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

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

11 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

11 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

11 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

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

11 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

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

12 years agodvdreadsrc: mustn't drop queries like caps query if not started yet
Tim-Philipp Müller [Tue, 17 Jul 2012 19:54:45 +0000 (20:54 +0100)]
dvdreadsrc: mustn't drop queries like caps query if not started yet

12 years agoasfdemux: extract WM/Year as GstDateTime instead of GDate
Tim-Philipp Müller [Sun, 15 Jul 2012 19:12:46 +0000 (20:12 +0100)]
asfdemux: extract WM/Year as GstDateTime instead of GDate

So we can signal that only the year field is valid.

12 years agoasfdemux: don't leak payload if we are not pushing it
Tim-Philipp Müller [Fri, 13 Jul 2012 14:41:05 +0000 (15:41 +0100)]
asfdemux: don't leak payload if we are not pushing it

12 years agodemuxers: Push STREAM_START when needed
Edward Hervey [Fri, 13 Jul 2012 11:59:16 +0000 (13:59 +0200)]
demuxers: Push STREAM_START when needed

12 years agoasf: don't push on inactive streams
Wim Taymans [Fri, 13 Jul 2012 09:36:40 +0000 (11:36 +0200)]
asf: don't push on inactive streams

12 years agodvdreadsrc: set rank to NONE
Tim-Philipp Müller [Thu, 12 Jul 2012 17:05:10 +0000 (18:05 +0100)]
dvdreadsrc: set rank to NONE

It should never be autoplugged really, for DVD
playback there's rsndvd (or will be, realsoonnow).

12 years agofix for allocator API changes
Wim Taymans [Mon, 9 Jul 2012 14:27:25 +0000 (16:27 +0200)]
fix for allocator API changes

12 years agoupdate for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:50:55 +0000 (11:50 +0200)]
update for query api changes

12 years agoupdate for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:27:27 +0000 (11:27 +0200)]
update for query api changes

12 years agoupdate for allocation query changes
Wim Taymans [Fri, 6 Jul 2012 09:03:19 +0000 (11:03 +0200)]
update for allocation query changes

12 years agoLICENSE_readme: fix typo
Tim-Philipp Müller [Thu, 5 Jul 2012 22:23:33 +0000 (23:23 +0100)]
LICENSE_readme: fix typo

12 years agoLICENSE_readme: mention x264
Tim-Philipp Müller [Thu, 5 Jul 2012 21:48:18 +0000 (22:48 +0100)]
LICENSE_readme: mention x264

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

12 years agogst: Implement segment-done event
Sebastian Dröge [Thu, 5 Jul 2012 11:12:17 +0000 (13:12 +0200)]
gst: Implement segment-done event

12 years agoasf: fix x-wmv format in caps
Wim Taymans [Wed, 27 Jun 2012 09:23:36 +0000 (11:23 +0200)]
asf: fix x-wmv format in caps

12 years agoasf: unmap packets
Wim Taymans [Wed, 27 Jun 2012 08:24:45 +0000 (10:24 +0200)]
asf: unmap packets

12 years agoasfdemux: Ignore parsing errors from broken packets
Bastien Nocera [Thu, 21 Jun 2012 14:13:57 +0000 (15:13 +0100)]
asfdemux: Ignore parsing errors from broken packets

We should instead be counting the number of errors and exiting if
they're too numerous. This makes a number of broken ASF files playable.

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

Conflicts:

gst/asfdemux/asfpacket.c
gst/asfdemux/gstasfdemux.c

12 years agofix interlace-mode
Wim Taymans [Tue, 26 Jun 2012 15:15:43 +0000 (17:15 +0200)]
fix interlace-mode

12 years agompeg2dec: Add comment explaining why we first chain up to the parent class' decide_al...
Sebastian Dröge [Mon, 25 Jun 2012 07:43:53 +0000 (09:43 +0200)]
mpeg2dec: Add comment explaining why we first chain up to the parent class' decide_allocation

12 years agompeg2dec: Set allocation parameters to guarantee 16-byte aligned output buffers
Sebastian Dröge [Mon, 25 Jun 2012 07:34:53 +0000 (09:34 +0200)]
mpeg2dec: Set allocation parameters to guarantee 16-byte aligned output buffers

Fixes bug #377713.

12 years agox264enc: Fix unitialized variable and taglist event
Matej Knopp [Wed, 20 Jun 2012 17:36:25 +0000 (13:36 -0400)]
x264enc: Fix unitialized variable and taglist event

12 years agompeg2dec: fix compilation
Wim Taymans [Wed, 20 Jun 2012 11:23:51 +0000 (13:23 +0200)]
mpeg2dec: fix compilation

12 years agoupdate for task api change
Wim Taymans [Wed, 20 Jun 2012 08:39:37 +0000 (10:39 +0200)]
update for task api change

12 years agofix compilation
Wim Taymans [Wed, 20 Jun 2012 08:39:24 +0000 (10:39 +0200)]
fix compilation

12 years agompeg2dec: Port to 0.11 again
Sebastian Dröge [Wed, 20 Jun 2012 08:06:37 +0000 (09:06 +0100)]
mpeg2dec: Port to 0.11 again

12 years agox264enc: Fix compiler warning
Sebastian Dröge [Tue, 19 Jun 2012 14:19:28 +0000 (15:19 +0100)]
x264enc: Fix compiler warning

12 years agompeg2dec: Report PAR if not present upstream
Edward Hervey [Wed, 30 May 2012 10:50:13 +0000 (12:50 +0200)]
mpeg2dec: Report PAR if not present upstream

And clean up some code

12 years agompeg2dec: use _scale_ceil to compute frame period
Nicolas Dufresne [Fri, 4 May 2012 20:09:57 +0000 (16:09 -0400)]
mpeg2dec: use _scale_ceil to compute frame period

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

12 years agompeg2dec: mpeg2dec actually has 3 frame latency
Nicolas Dufresne [Fri, 4 May 2012 20:08:27 +0000 (16:08 -0400)]
mpeg2dec: mpeg2dec actually has 3 frame latency

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

12 years agompeg2dec: Fix large output buffers leak
Nicolas Dufresne [Tue, 1 May 2012 18:49:03 +0000 (18:49 +0000)]
mpeg2dec: Fix large output buffers leak

12 years agompeg2dec: Port to new way of handling frame reference
Nicolas Dufresne [Tue, 1 May 2012 18:46:31 +0000 (18:46 +0000)]
mpeg2dec: Port to new way of handling frame reference

12 years agompeg2dec: don't leak input_state
Wim Taymans [Tue, 1 May 2012 14:12:42 +0000 (16:12 +0200)]
mpeg2dec: don't leak input_state

12 years agompeg2dec: Port to GstVideoDecoder base class
Nicolas Dufresne [Fri, 13 Apr 2012 23:06:52 +0000 (19:06 -0400)]
mpeg2dec: Port to GstVideoDecoder base class

Conflicts:

ext/mpeg2dec/gstmpeg2dec.c
ext/mpeg2dec/gstmpeg2dec.h

Back to 0.10 state, needs to be ported to 0.11 again.

12 years agoMerge remote-tracking branch 'origin/master'
Sebastian Dröge [Tue, 19 Jun 2012 08:26:46 +0000 (09:26 +0100)]
Merge remote-tracking branch 'origin/master'

12 years agox264enc: Port to 0.11 again
Sebastian Dröge [Tue, 19 Jun 2012 08:26:02 +0000 (09:26 +0100)]
x264enc: Port to 0.11 again

12 years agox264enc: Don't set latency while holding object lock
Nicolas Dufresne [Mon, 7 May 2012 15:52:40 +0000 (11:52 -0400)]
x264enc: Don't set latency while holding object lock

This reverts commit 30a0b50e9ca0d625e61f994d4f8acd022dcddf38.

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

12 years agox264enc: Use video encoder stream lock to avoid deadlock
Nicolas Dufresne [Thu, 3 May 2012 18:07:24 +0000 (18:07 +0000)]
x264enc: Use video encoder stream lock to avoid deadlock

12 years agox264enc: Port to new way of passing frame reference
Nicolas Dufresne [Tue, 1 May 2012 18:45:33 +0000 (18:45 +0000)]
x264enc: Port to new way of passing frame reference

12 years agox264enc: Set default stream-format to avc as it's a better format
Nicolas Dufresne [Mon, 30 Apr 2012 19:00:09 +0000 (19:00 +0000)]
x264enc: Set default stream-format to avc as it's a better format

12 years agox264enc: Fix setting latency
Nicolas Dufresne [Thu, 26 Apr 2012 22:27:55 +0000 (22:27 +0000)]
x264enc: Fix setting latency

Fixes setting latency when framerate is dynamic and round up the latency
to avoid rounding issues.

12 years agox264enc: gst_video_encoder_get_frame() is now transfer full
Nicolas Dufresne [Mon, 30 Apr 2012 18:59:44 +0000 (18:59 +0000)]
x264enc: gst_video_encoder_get_frame() is now transfer full

12 years agox264enc: don't leak output state
Nicolas Dufresne [Thu, 26 Apr 2012 17:31:45 +0000 (17:31 +0000)]
x264enc: don't leak output state

12 years agox264enc: Remove x264 backward compatibility support
Nicolas Dufresne [Wed, 18 Apr 2012 21:09:12 +0000 (17:09 -0400)]
x264enc: Remove x264 backward compatibility support

12 years agox264enc: Report latency base on x264 buffer size
Nicolas Dufresne [Wed, 18 Apr 2012 20:13:57 +0000 (16:13 -0400)]
x264enc: Report latency base on x264 buffer size

12 years agox264enc: Port to GstVideoEncoder baseclass
Nicolas Dufresne [Tue, 17 Apr 2012 19:44:24 +0000 (15:44 -0400)]
x264enc: Port to GstVideoEncoder baseclass

Conflicts:

configure.ac
ext/x264/gstx264enc.c
ext/x264/gstx264enc.h

Back to 0.10 state, needs to be ported to 0.11 again.

12 years agosynaesthesia: remove experimental GPL-ed synaesthesia plugin
Tim-Philipp Müller [Sat, 16 Jun 2012 17:29:54 +0000 (18:29 +0100)]
synaesthesia: remove experimental GPL-ed synaesthesia plugin

It never made it out of experimental, and there's a new
synaescope element in gst-plugins-bad that's hopefully
sufficiently similar.

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

12 years agompegstream: remove leftover hidden .gitignore file
Tim-Philipp Müller [Sat, 16 Jun 2012 17:13:47 +0000 (18:13 +0100)]
mpegstream: remove leftover hidden .gitignore file

12 years agoelements: Use gst_pad_set_caps() instead of manual event fiddling
Sebastian Dröge [Fri, 8 Jun 2012 13:55:28 +0000 (15:55 +0200)]
elements: Use gst_pad_set_caps() instead of manual event fiddling

12 years agoAutomatic update of common submodule
Edward Hervey [Fri, 8 Jun 2012 13:05:22 +0000 (15:05 +0200)]
Automatic update of common submodule

From 03a0e57 to 98e386f

12 years agoBack to development
Sebastian Dröge [Thu, 7 Jun 2012 14:28:45 +0000 (16:28 +0200)]
Back to development

12 years agoRelease 0.11.92
Sebastian Dröge [Thu, 7 Jun 2012 14:28:32 +0000 (16:28 +0200)]
Release 0.11.92

12 years agoUpdate .po files
Sebastian Dröge [Thu, 7 Jun 2012 14:28:27 +0000 (16:28 +0200)]
Update .po files

12 years agoAutomatic update of common submodule
Edward Hervey [Wed, 6 Jun 2012 16:19:06 +0000 (18:19 +0200)]
Automatic update of common submodule

From 1fab359 to 03a0e57