platform/upstream/gstreamer.git
13 years agortpsession: Don't let the computed RTP bandwidth fall too low
Olivier Crête [Wed, 8 Jun 2011 18:48:01 +0000 (14:48 -0400)]
rtpsession: Don't let the computed RTP bandwidth fall too low

If it falls too low, the computed RTCP bandwidth will be near zero and
the RTCP thread will be stopped.

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

13 years agortpsession: Wait longer to timeout SSRC collision
Olivier Crête [Mon, 25 Apr 2011 20:13:38 +0000 (16:13 -0400)]
rtpsession: Wait longer to timeout SSRC collision

Using the current RTCP interval to timeout SSRC collision can lead to
collisions being timed out immediately if a BYE packet is sent because
it is sent immediately, so the interval is 0. This is not what we
want. So just set a static 10 times the default RTCP interval, it
should be enough

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

13 years agortspsrc: set SOURCE flag at init time
Mark Nauwelaerts [Tue, 19 Jul 2011 11:38:01 +0000 (13:38 +0200)]
rtspsrc: set SOURCE flag at init time

Fixes #654816.

13 years agortph264depay: Complete merged AU on marker bit
Olivier Crête [Mon, 18 Jul 2011 20:46:27 +0000 (16:46 -0400)]
rtph264depay: Complete merged AU on marker bit

The marker bit on a RTP packet means the AU has been completed, so push it out
immediately to reduce the latency.

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

13 years agortph264pay: Only set the marker bit on the last NALU of a multi-NALU access unit
Olivier Crête [Tue, 19 Jul 2011 00:27:38 +0000 (20:27 -0400)]
rtph264pay: Only set the marker bit on the last NALU of a multi-NALU access unit

An access unit could contain multiple NAL units, in that case, only the last
RTP packet of the last NALU should have its marker bit set.

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

13 years agomultipart: fix compiler warning
Alessandro Decina [Wed, 20 Jul 2011 06:52:58 +0000 (08:52 +0200)]
multipart: fix compiler warning

13 years agoauparse: avoid hanging on invalid short input
Mark Nauwelaerts [Tue, 19 Jul 2011 10:05:51 +0000 (12:05 +0200)]
auparse: avoid hanging on invalid short input

... as in such case there is no srcpad yet on which to forward EOS.

13 years agopulsesrc: Fix default value leaking
Thiago Santos [Mon, 18 Jul 2011 18:13:33 +0000 (15:13 -0300)]
pulsesrc: Fix default value leaking

Remember to free the default value of client name, avoiding a
leak

13 years agortph264depay: reset upon FLUSH_STOP
Mark Nauwelaerts [Mon, 18 Jul 2011 12:24:48 +0000 (14:24 +0200)]
rtph264depay: reset upon FLUSH_STOP

... which is particularly needed when merging NAL units, where not resetting
would lead to output of an older (pre-flush) AU (with unintended timestamp).

13 years agomultifilesink: do not use g_slist_free_full
Mark Nauwelaerts [Mon, 18 Jul 2011 12:30:51 +0000 (14:30 +0200)]
multifilesink: do not use g_slist_free_full

... as that is only in GLib 2.28, which is not yet required at this time.

13 years agomultifilesink: add max-files property
Alessandro Decina [Mon, 18 Jul 2011 07:38:26 +0000 (09:38 +0200)]
multifilesink: add max-files property

Add max-files property to limit the number of files saved on disk.

API: multifilesink::max-files

13 years agomultifilesink: refactor file opening and closing code
Alessandro Decina [Sun, 17 Jul 2011 21:36:55 +0000 (23:36 +0200)]
multifilesink: refactor file opening and closing code

13 years agomatroskademux: fix pixel-aspect-ratio if header has only one display variable
Alexey Fisher [Sat, 16 Jul 2011 17:38:51 +0000 (19:38 +0200)]
matroskademux: fix pixel-aspect-ratio if header has only one display variable

Current matroska demux calculates the pixel aspect ratio only if both
DisplayHeight and DisplayWidth are set, but it is legal to use only
one variable if the other is equal to PixelWidth or PixelHeight, at
least the mkclean utility is doing that. So this makse mkcleaned
files play correctly.

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

13 years agogoom: fix build on PPC on openbsd
Antoine Jacoutot [Sat, 16 Jul 2011 22:47:50 +0000 (23:47 +0100)]
goom: fix build on PPC on openbsd

A missing sys/param.h include results in:

/usr/include/sys/proc.h:64: error: 'MAXLOGNAME' undeclared here (not in a
function)
/usr/include/sys/proc.h:285: error: 'MAXCOMLEN' undeclared here (not in a
function)

when compiling goom on openbsd/ppc. We can just remove the two sys/ includes
here, they are not needed for anything.

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

13 years agortppcmApay/depay: Static clock rates on static payloads, dynamic on dynamic
Olivier Crête [Fri, 15 Jul 2011 00:10:02 +0000 (20:10 -0400)]
rtppcmApay/depay: Static clock rates on static payloads, dynamic on dynamic

Partially reverts 397dc60b

13 years agortph264pay: Implement getcaps
Olivier Crête [Fri, 4 Mar 2011 20:41:22 +0000 (15:41 -0500)]
rtph264pay: Implement getcaps

Convert profile-level-id from RTP caps into video/x-h264 style caps (with profile and level)

13 years agortspsrc: fix seeking regression
Mark Nauwelaerts [Tue, 12 Jul 2011 13:04:38 +0000 (15:04 +0200)]
rtspsrc: fix seeking regression

... introduced when shuffling around code for the async implementation
by setting state of source (and udp sources) in _play before downstream
flushing is undone.

13 years agoac3parse: fix buffer duration on blocks-per-frame change
René Stadler [Mon, 11 Jul 2011 12:23:41 +0000 (15:23 +0300)]
ac3parse: fix buffer duration on blocks-per-frame change

The gst_base_parse_set_frame_rate call was predicated on a change to
sample rate, duration or profile. However, the block count per frame can
also change between packets, which would result in incorrect buffer
durations.

13 years agomultifilesrc: Improve looping
David Schleef [Sun, 10 Jul 2011 02:23:41 +0000 (19:23 -0700)]
multifilesrc: Improve looping

Add start-index and stop-index properties.

13 years agomultifile: add loop property to multifilesrc
Jonny Lamb [Thu, 16 Jun 2011 12:57:03 +0000 (13:57 +0100)]
multifile: add loop property to multifilesrc

Fixes: #652727

Signed-off-by: Jonny Lamb <jonnylamb@jonnylamb.com>
Signed-off-by: David Schleef <ds@schleef.org>
13 years agodirectsoundsink: 16-bit audio is signed, 8-bit is unsigned.
Philip Jägenstedt [Fri, 20 Nov 2009 09:07:43 +0000 (10:07 +0100)]
directsoundsink: 16-bit audio is signed, 8-bit is unsigned.

Pretending to handle 8-bit signed causes distorted audio when
actually given such audio, which you will get if passing 8-bit
unsigned through audioconvert ! audioresample, as audioresample
only handles 8-bit signed.  Fixes #605834.

Signed-off-by: David Schleef <ds@schleef.org>
13 years agomatroskademux: handle blocks with duration=0
Alexey Fisher [Thu, 7 Jul 2011 16:27:36 +0000 (18:27 +0200)]
matroskademux: handle blocks with duration=0

Some video frames, for example alt-ref frame in VP8, will be
never displayed. This is why it has duration=0.

This patch allow to use this duration.

Bug: 654175
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
13 years agoqtmux: Add direct dirac mapping
David Schleef [Thu, 7 Jul 2011 00:18:05 +0000 (17:18 -0700)]
qtmux: Add direct dirac mapping

13 years agopulsesink: prevent race condition causing ref leak
René Stadler [Wed, 29 Jun 2011 17:59:26 +0000 (20:59 +0300)]
pulsesink: prevent race condition causing ref leak

Since commit 8bfd80, gst_pulseringbuffer_stop doesn't wait for the
deferred call to be run before returning. This causes a race when
READY->NULL is executed shortly after, which stops the mainloop. This
leaks the element reference which is passed as userdata for the callback
(introduced in commit 7cf996, bug #614765).

The correct fix is to wait in READY->NULL for all outstanding calls to
be fired (since libpulse doesn't provide a DestroyNotify for the
userdata). We get rid of the reference passing from 7cf996 altogether,
since finalization from the callback would anyways lead to a deadlock.

Re-fixes bug #614765.

13 years agopulsesink: small cleanup of copy-paste code
René Stadler [Mon, 4 Jul 2011 05:58:14 +0000 (08:58 +0300)]
pulsesink: small cleanup of copy-paste code

13 years agopulsesink: remove unused member variable and misleading log message
René Stadler [Wed, 29 Jun 2011 16:50:42 +0000 (19:50 +0300)]
pulsesink: remove unused member variable and misleading log message

Wim changed it in commit 8bfd80 so that pa_defer_ran is not read
anywhere.

The log message used to annotate a mainloop_wait call which is gone.

13 years agogoom: Don't answer lantency queries before negotiation
David Schleef [Mon, 4 Jul 2011 19:58:38 +0000 (12:58 -0700)]
goom: Don't answer lantency queries before negotiation

13 years agojpegdec: avoid crashing on invalid input without components
Mark Nauwelaerts [Mon, 4 Jul 2011 12:30:09 +0000 (14:30 +0200)]
jpegdec: avoid crashing on invalid input without components

13 years agoflvmux: pass along segment info to collectpads
Mark Nauwelaerts [Mon, 4 Jul 2011 09:25:28 +0000 (11:25 +0200)]
flvmux: pass along segment info to collectpads

... so it can track this and be subsequently used to determine running time etc.

13 years agoflvdemux: indicate raw format in aac caps
Mark Nauwelaerts [Mon, 4 Jul 2011 09:24:23 +0000 (11:24 +0200)]
flvdemux: indicate raw format in aac caps

13 years agopulse: Increase ranks to PRIMARY + 10
David Schleef [Mon, 4 Jul 2011 02:51:32 +0000 (19:51 -0700)]
pulse: Increase ranks to PRIMARY + 10

So that pulsesrc/pulsesink get chosen over other possible PRIMARY
src/sinks by autoaudiosink.  Presumably, if pulse is available, it
is always preferred over another src/sink.

Fixes: #647540.

13 years agomultipartmux: Add \r\n to tail of pushed buffers
David Schleef [Fri, 1 Jul 2011 01:47:48 +0000 (18:47 -0700)]
multipartmux: Add \r\n to tail of pushed buffers

Clients such as Firefox require the \r\n after the payload.

13 years agomatroskademux: avoid looping when searching for clusters
Branko Subasic [Thu, 16 Jun 2011 12:52:51 +0000 (14:52 +0200)]
matroskademux: avoid looping when searching for clusters

Fixes some bugs that results in the demuxer looping when seaching
for clusters in non-finalized files.

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

13 years agomatroskaparse: fix reference counting of parse->streamheader
Debarshi Ray [Fri, 10 Jun 2011 13:24:48 +0000 (18:54 +0530)]
matroskaparse: fix reference counting of parse->streamheader

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

Signed-off-by: David Schleef <ds@schleef.org>
13 years agojpegenc: Don't round up size of encoded buffers
David Schleef [Wed, 29 Jun 2011 21:39:52 +0000 (14:39 -0700)]
jpegenc: Don't round up size of encoded buffers

For some reason, in code dating to 2001, encoded jpeg buffers were
rounded up to multiples of 4 bytes.  With the added bonus that the
extra bytes are unwritten, causing valgrind issues.  Oops.  I can't
think of any reason why JPEG buffers need to be multiples of 4 bytes,
so I removed the padding.  There might be some code somewhere that
depends on this behavior, so if this needs to be reverted, please fix
the valgrind issues.

13 years agoqtmux: free date tag
Mark Nauwelaerts [Wed, 29 Jun 2011 10:05:04 +0000 (12:05 +0200)]
qtmux: free date tag

13 years agoaacparse: not so greedy minimum frame size
Jonas Larsson [Tue, 28 Jun 2011 10:26:37 +0000 (12:26 +0200)]
aacparse: not so greedy minimum frame size

Fixes #653559.

13 years agoconfigure: remove non-pkg-config check for shout
David Schleef [Sat, 25 Jun 2011 18:39:23 +0000 (11:39 -0700)]
configure: remove non-pkg-config check for shout

Fixes: 653327

13 years agodv1394src: make the internal clock thread safe
Andoni Morales Alastruey [Mon, 20 Jun 2011 16:49:57 +0000 (18:49 +0200)]
dv1394src: make the internal clock thread safe

Fixes: #653091.

13 years agortpjitterbuffer: return correct type when assertion fails
Miguel Angel Cabrera Moya [Fri, 24 Jun 2011 09:54:29 +0000 (11:54 +0200)]
rtpjitterbuffer: return correct type when assertion fails

13 years agoAutomatic update of common submodule
David Schleef [Thu, 23 Jun 2011 18:28:27 +0000 (11:28 -0700)]
Automatic update of common submodule

From 69b981f to 605cd9a

13 years agopulse: Drop support for PA versions before 0.9.16
Arun Raghavan [Wed, 2 Feb 2011 10:48:54 +0000 (16:18 +0530)]
pulse: Drop support for PA versions before 0.9.16

This drops support fof PulseAudio versions prior to 0.9.16, which was
released about 1.5 years ago. Testing with very old versions is not
feasible and we don't want to maintain 2 independent code-paths.

13 years agortpmp4adepay: fix output buffer timestamps in case of multiple frames
Mark Nauwelaerts [Tue, 21 Jun 2011 13:15:06 +0000 (15:15 +0200)]
rtpmp4adepay: fix output buffer timestamps in case of multiple frames

13 years agortpsession: The signal has 5 arguments, not 4
Olivier Crête [Mon, 20 Jun 2011 20:47:36 +0000 (16:47 -0400)]
rtpsession: The signal has 5 arguments, not 4

13 years agoBump git version after unplanned 0.10.30 release
Tim-Philipp Müller [Sat, 18 Jun 2011 12:43:02 +0000 (13:43 +0100)]
Bump git version after unplanned 0.10.30 release

Merge branch '0.10.30'

Conflicts:
configure.ac
docs/plugins/inspect/plugin-1394.xml
docs/plugins/inspect/plugin-aasink.xml
docs/plugins/inspect/plugin-alaw.xml
docs/plugins/inspect/plugin-alpha.xml
docs/plugins/inspect/plugin-alphacolor.xml
docs/plugins/inspect/plugin-annodex.xml
docs/plugins/inspect/plugin-apetag.xml
docs/plugins/inspect/plugin-audiofx.xml
docs/plugins/inspect/plugin-audioparsers.xml
docs/plugins/inspect/plugin-auparse.xml
docs/plugins/inspect/plugin-autodetect.xml
docs/plugins/inspect/plugin-avi.xml
docs/plugins/inspect/plugin-cacasink.xml
docs/plugins/inspect/plugin-cairo.xml
docs/plugins/inspect/plugin-cutter.xml
docs/plugins/inspect/plugin-debug.xml
docs/plugins/inspect/plugin-deinterlace.xml
docs/plugins/inspect/plugin-dv.xml
docs/plugins/inspect/plugin-efence.xml
docs/plugins/inspect/plugin-effectv.xml
docs/plugins/inspect/plugin-equalizer.xml
docs/plugins/inspect/plugin-esdsink.xml
docs/plugins/inspect/plugin-flac.xml
docs/plugins/inspect/plugin-flv.xml
docs/plugins/inspect/plugin-flxdec.xml
docs/plugins/inspect/plugin-gconfelements.xml
docs/plugins/inspect/plugin-gdkpixbuf.xml
docs/plugins/inspect/plugin-goom.xml
docs/plugins/inspect/plugin-goom2k1.xml
docs/plugins/inspect/plugin-gstrtpmanager.xml
docs/plugins/inspect/plugin-halelements.xml
docs/plugins/inspect/plugin-icydemux.xml
docs/plugins/inspect/plugin-id3demux.xml
docs/plugins/inspect/plugin-imagefreeze.xml
docs/plugins/inspect/plugin-interleave.xml
docs/plugins/inspect/plugin-isomp4.xml
docs/plugins/inspect/plugin-jack.xml
docs/plugins/inspect/plugin-jpeg.xml
docs/plugins/inspect/plugin-level.xml
docs/plugins/inspect/plugin-matroska.xml
docs/plugins/inspect/plugin-mulaw.xml
docs/plugins/inspect/plugin-multifile.xml
docs/plugins/inspect/plugin-multipart.xml
docs/plugins/inspect/plugin-navigationtest.xml
docs/plugins/inspect/plugin-oss4.xml
docs/plugins/inspect/plugin-ossaudio.xml
docs/plugins/inspect/plugin-png.xml
docs/plugins/inspect/plugin-pulseaudio.xml
docs/plugins/inspect/plugin-replaygain.xml
docs/plugins/inspect/plugin-rtp.xml
docs/plugins/inspect/plugin-rtsp.xml
docs/plugins/inspect/plugin-shapewipe.xml
docs/plugins/inspect/plugin-shout2send.xml
docs/plugins/inspect/plugin-smpte.xml
docs/plugins/inspect/plugin-soup.xml
docs/plugins/inspect/plugin-spectrum.xml
docs/plugins/inspect/plugin-speex.xml
docs/plugins/inspect/plugin-taglib.xml
docs/plugins/inspect/plugin-udp.xml
docs/plugins/inspect/plugin-video4linux2.xml
docs/plugins/inspect/plugin-videobox.xml
docs/plugins/inspect/plugin-videocrop.xml
docs/plugins/inspect/plugin-videofilter.xml
docs/plugins/inspect/plugin-videomixer.xml
docs/plugins/inspect/plugin-wavenc.xml
docs/plugins/inspect/plugin-wavpack.xml
docs/plugins/inspect/plugin-wavparse.xml
docs/plugins/inspect/plugin-ximagesrc.xml
docs/plugins/inspect/plugin-y4menc.xml
win32/common/config.h

13 years agosunaudio: fix typo in comment
Tim-Philipp Müller [Fri, 17 Jun 2011 09:37:33 +0000 (10:37 +0100)]
sunaudio: fix typo in comment

13 years agoaudioecho: fix param flags
Stefan Kost [Fri, 17 Jun 2011 00:07:09 +0000 (03:07 +0300)]
audioecho: fix param flags

If the parameter cannot be changed in paused&playing, it is not controlable. Set
the appropriate mutability flag instead.

13 years agoRelease 0.10.30
Tim-Philipp Müller [Wed, 15 Jun 2011 22:57:34 +0000 (23:57 +0100)]
Release 0.10.30

This is an ad-hoc release that is almost identical to 0.10.29:

 * work around GLib atomic ops API change
 * better handling of malformed buffers in RTP depayloders
 * some minor compilation fixes

13 years agoudp: Fix compiler warning on mingw-w64
Raimo Järvi [Wed, 8 Jun 2011 15:33:10 +0000 (18:33 +0300)]
udp: Fix compiler warning on mingw-w64

Fixes: #652144.
gstudpnetutils.h:32:0: error: "WINVER" redefined
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:231:0: note: this is the
location of the previous definition

13 years agointerleave: Work around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 20:49:52 +0000 (13:49 -0700)]
interleave: Work around changes in g_atomic API

See #651514 for details.

13 years agortp: Fix segmentation fault processing payload buffers
Jose Antonio Santos Cadenas [Wed, 18 May 2011 10:36:40 +0000 (12:36 +0200)]
rtp: Fix segmentation fault processing payload buffers

This commit checks if the value returned by
gst_rtp_buffer_get_payload_buffer and
gst_rtp_buffer_get_payload_subbuffer is NULL before using it.

13 years agopulse: Define PATH_MAX if it isn't defined
Pino Toscano [Mon, 16 May 2011 07:04:31 +0000 (09:04 +0200)]
pulse: Define PATH_MAX if it isn't defined

GNU Hurd for example doesn't define it.

13 years agowavenc: Allow setcaps to be called after a format was negotiated if it's compatible
Sebastian Dröge [Fri, 29 Apr 2011 06:55:19 +0000 (08:55 +0200)]
wavenc: Allow setcaps to be called after a format was negotiated if it's compatible

Otherwise wavenc will fail if upstream decides to set equivalent caps or caps
with additional information later.

Thanks to Alexander Schremmer for finding this bug.

13 years agomatroska: add missing stdio include for sscanf
Stefan Kost [Thu, 9 Jun 2011 18:06:28 +0000 (21:06 +0300)]
matroska: add missing stdio include for sscanf

13 years agoaudioparsers: not so greedy minimum frame size
Mark Nauwelaerts [Mon, 13 Jun 2011 15:05:19 +0000 (17:05 +0200)]
audioparsers: not so greedy minimum frame size

... which will be determined by parsing anyway, and avoids introducing
redundant additional latency.

13 years agoudp: Fix compiler warning on mingw-w64
Raimo Järvi [Wed, 8 Jun 2011 15:33:10 +0000 (18:33 +0300)]
udp: Fix compiler warning on mingw-w64

Fixes: #652144.
gstudpnetutils.h:32:0: error: "WINVER" redefined
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:231:0: note: this is the
location of the previous definition

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 6 Jun 2011 12:51:04 +0000 (18:21 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_parse_chapters

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 6 Jun 2011 09:17:27 +0000 (14:47 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_parse_attachments

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 6 Jun 2011 07:13:14 +0000 (12:43 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_parse_attached_file

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Sun, 5 Jun 2011 17:15:55 +0000 (22:45 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_parse_info

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Sun, 5 Jun 2011 04:45:23 +0000 (10:15 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_parse_metadata

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Sun, 5 Jun 2011 04:24:42 +0000 (09:54 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_parse_metadata_id_tag

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Sat, 4 Jun 2011 20:54:41 +0000 (02:24 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_parse_metadata_id_simple_tag

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

13 years agortspsrc: reset state tracking variable when appropriate
Mark Nauwelaerts [Mon, 6 Jun 2011 10:42:53 +0000 (12:42 +0200)]
rtspsrc: reset state tracking variable when appropriate

... so we don't end up interrupting an operation that should not be interrupted
based on the indication of a previous interruptable operation.

13 years agointerleave: Work around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 20:49:52 +0000 (13:49 -0700)]
interleave: Work around changes in g_atomic API

See #651514 for details.

13 years agosouphttpsink: code cleanup
David Schleef [Sat, 4 Jun 2011 20:43:00 +0000 (13:43 -0700)]
souphttpsink: code cleanup

13 years agomatroskaparse: Use ARTIST tag instead of AUTHOR for GST_TAG_ARTIST
Debarshi Ray [Sat, 4 Jun 2011 20:30:08 +0000 (02:00 +0530)]
matroskaparse: Use ARTIST tag instead of AUTHOR for GST_TAG_ARTIST

AUTHOR only existed in an old version of the spec and ARTIST is
the new replacement for this. We are still reading both to still
be compatible with old files.

Fixes bug #644875.

13 years agodvdemux: First query the peer duration in the requested format before converting...
Sebastian Dröge [Thu, 2 Jun 2011 11:38:30 +0000 (13:38 +0200)]
dvdemux: First query the peer duration in the requested format before converting to BYTES

Fixes usage of dvdemux after another demuxer, e.g. mxfdemux.
Fixes bug #650503.

13 years agosouphttpsink: Fix refcounting of the "session" property
Sebastian Dröge [Thu, 2 Jun 2011 08:41:52 +0000 (10:41 +0200)]
souphttpsink: Fix refcounting of the "session" property

Properties should never take ownership of the values
passed to them.

13 years agomatroskamux: For streaming files, push tags first
David Schleef [Thu, 2 Jun 2011 00:04:27 +0000 (17:04 -0700)]
matroskamux: For streaming files, push tags first

13 years agosoup: Add souphttpsink
David Schleef [Tue, 24 May 2011 21:52:01 +0000 (14:52 -0700)]
soup: Add souphttpsink

13 years agoudpsrc: allow skip-first-bytes of full buffer size
Thijs Vermeir [Wed, 1 Jun 2011 08:19:31 +0000 (10:19 +0200)]
udpsrc: allow skip-first-bytes of full buffer size

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 30 May 2011 13:01:50 +0000 (18:31 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following functions to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_parse_header

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

13 years agoqtmux: Use GST_TAG_IMAGE for coverart too
Antonio Frediani [Mon, 30 May 2011 10:09:31 +0000 (12:09 +0200)]
qtmux: Use GST_TAG_IMAGE for coverart too

Fixes bug #638107.

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 30 May 2011 05:10:08 +0000 (10:40 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following functions to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_get_seek_track
    - gst_matroska_{demux,parse}_reset_streams

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Sat, 28 May 2011 16:34:34 +0000 (22:04 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska{demux,parse}_found_global_tag

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Sat, 28 May 2011 05:29:09 +0000 (10:59 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following functions to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_index_seek_find
    - gst_matroska{demux,parse}_do_index_seek

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Fri, 27 May 2011 17:45:23 +0000 (23:15 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_tracknumber_unique

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Fri, 27 May 2011 14:58:19 +0000 (20:28 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_decode_data

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Fri, 27 May 2011 14:00:48 +0000 (19:30 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_get_length

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

13 years agoavimux: Revert 1a90a6c4 and drop Dirac support again
Sebastian Dröge [Fri, 27 May 2011 07:17:46 +0000 (09:17 +0200)]
avimux: Revert 1a90a6c4 and drop Dirac support again

It does not work at all (A/V sync issues), is not very useful,
other containers work much better with Dirac and Dirac in AVI
is not supported by other software.

Fixes bug #541215.

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Thu, 26 May 2011 18:05:52 +0000 (23:35 +0530)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following functions to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_encoding_cmp
    - gst_matroska_{demux,parse}_read_track_encodings

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 23 May 2011 15:06:44 +0000 (18:06 +0300)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following functions to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_peek_id_length_pull
    - gst_matroska_{demux,parse}_peek_id_length_push

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 23 May 2011 15:06:44 +0000 (18:06 +0300)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_peek_adapter

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

13 years agoxvimagesink: Fallback to non-XShm mode if allocating the XShm image failed
Sebastian Dröge [Thu, 26 May 2011 10:48:36 +0000 (12:48 +0200)]
xvimagesink: Fallback to non-XShm mode if allocating the XShm image failed

Fixes bug #630456.

13 years agortpmp4vpay: Deprecated send-config property and replace by config-interval
Marc Leeman [Thu, 26 May 2011 10:22:52 +0000 (12:22 +0200)]
rtpmp4vpay: Deprecated send-config property and replace by config-interval

Fixes bug #622412.

13 years agomatroskademux: UTF-8 subtitles may have markup
Mark Nauwelaerts [Wed, 23 Jun 2010 09:12:00 +0000 (11:12 +0200)]
matroskademux: UTF-8 subtitles may have markup

Fixes #616936.

13 years agocairotextoverlay: forward new segment events from the sink to the source
Vincent Penquerc'h [Sun, 23 Jan 2011 15:56:49 +0000 (15:56 +0000)]
cairotextoverlay: forward new segment events from the sink to the source

Not doing so will cause buffers to be received by downstream without
a time base set.
We use the same method avimux uses to get access to the event when
collectpads got the sink event function.

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

13 years agotextoverlay: forward source events to sinks
Vincent Penquerc'h [Mon, 24 Jan 2011 11:11:48 +0000 (11:11 +0000)]
textoverlay: forward source events to sinks

Events are passed to the video sink, and to the text sink if it is
linked.
This will allow seeking, for instance.

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

13 years agomultipartdemux: Add property to assume a single stream and emit no-more-pads
David Hoyt [Wed, 25 May 2011 19:12:12 +0000 (21:12 +0200)]
multipartdemux: Add property to assume a single stream and emit no-more-pads

Fixes bug #616686.

13 years agortspsrc: uniform unknown message handling
Miguel Angel Cabrera Moya [Wed, 25 May 2011 12:50:26 +0000 (14:50 +0200)]
rtspsrc: uniform unknown message handling

Do the same processing in all the cases when an unknown message is received.
That is, give a warning.

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 23 May 2011 15:06:44 +0000 (18:06 +0300)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_peek_pull

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 23 May 2011 15:06:44 +0000 (18:06 +0300)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following function to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_peek_bytes

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 23 May 2011 15:06:44 +0000 (18:06 +0300)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following functions to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_{demux,parse}_encoding_order_unique
    - gst_matroska_{demux,parse}_read_track_encoding

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

13 years agopcmudepay: allow variable sample rate
Mark Nauwelaerts [Tue, 24 May 2011 11:12:19 +0000 (13:12 +0200)]
pcmudepay: allow variable sample rate

13 years agopcmadepay: allow variable sample rate
Mark Nauwelaerts [Tue, 24 May 2011 11:11:54 +0000 (13:11 +0200)]
pcmadepay: allow variable sample rate

13 years agov4l2: add norm property
Rob Clark [Sun, 4 Apr 2010 11:43:41 +0000 (06:43 -0500)]
v4l2: add norm property

Based on a patch by Guennadi Liakhovetski.

v2: updates because I forgot to add GstTuner interface to v4l2sink
v3: update to add all possible values to norm enum

13 years agomatroska: fixed copyright headers
Debarshi Ray [Mon, 23 May 2011 17:46:04 +0000 (20:46 +0300)]
matroska: fixed copyright headers

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

13 years agomatroska: refactor code common to matroskademux and matroskaparse
Debarshi Ray [Mon, 23 May 2011 15:06:44 +0000 (18:06 +0300)]
matroska: refactor code common to matroskademux and matroskaparse

Move the following functions to matroska-read-common.[ch] from
matroska-demux.c and matroska-parse.c:
    - gst_matroska_decode_content_encodings
    - gst_matroska_decompress_data

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

13 years agomatroska: move GstMatroska{Demux,Parse}::state to GstMatroskaReadCommon
Debarshi Ray [Mon, 23 May 2011 15:48:57 +0000 (18:48 +0300)]
matroska: move GstMatroska{Demux,Parse}::state to GstMatroskaReadCommon

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