platform/upstream/gstreamer.git
13 years agovideofilter: Use new GstBaseTransform::transform_caps API
Edward Hervey [Tue, 7 Jun 2011 09:25:18 +0000 (11:25 +0200)]
videofilter: Use new GstBaseTransform::transform_caps API

13 years agoauparse: Don't use GST_BOILERPLATE
Edward Hervey [Tue, 7 Jun 2011 09:23:55 +0000 (11:23 +0200)]
auparse: Don't use GST_BOILERPLATE

13 years agoaudiofxbasefirfilter: Buffers no longer have caps
Edward Hervey [Tue, 7 Jun 2011 09:22:35 +0000 (11:22 +0200)]
audiofxbasefirfilter: Buffers no longer have caps

13 years agoalpha: Use new transform_caps vmethod (with filter)
Edward Hervey [Tue, 7 Jun 2011 09:20:00 +0000 (11:20 +0200)]
alpha: Use new transform_caps vmethod (with filter)

13 years agoaudioparsers: fix some more parsers
Edward Hervey [Mon, 6 Jun 2011 18:43:31 +0000 (20:43 +0200)]
audioparsers: fix some more parsers

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 2 Jun 2011 16:51:29 +0000 (18:51 +0200)]
Merge branch 'master' into 0.11

Conflicts:
sys/ximage/ximageutil.c

13 years agoavi: port AVI elements to new API
Wim Taymans [Thu, 2 Jun 2011 16:47:36 +0000 (18:47 +0200)]
avi: port AVI elements to new API

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 agoautodetect: port to new API
Wim Taymans [Tue, 24 May 2011 16:27:10 +0000 (18:27 +0200)]
autodetect: port to new API

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 24 May 2011 15:34:19 +0000 (17:34 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst/avi/gstavidemux.c
gst/rtp/gstrtpac3depay.c
gst/rtp/gstrtpg726depay.c
gst/rtp/gstrtpmpvdepay.c
gst/videofilter/gstgamma.c

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

13 years agoqtdemux: Fix buffer leak with corrupted files
Jonas Larsson [Tue, 24 May 2011 07:48:56 +0000 (09:48 +0200)]
qtdemux: Fix buffer leak with corrupted files

Fixes bug #650912.

13 years agodeinterlace: fix parameter type in trace
Miguel Angel Cabrera Moya [Mon, 23 May 2011 09:46:38 +0000 (02:46 -0700)]
deinterlace: fix parameter type in trace

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

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

Replace the following functions with their gst_matroska_read_common_*
counterparts:
    - gst_matroska_{demux,parse}_parse_index
    - gst_matroska_{demux,parse}_parse_skip
    - gst_matroska_{demux,parse}_stream_from_num

Introduce GstMatroskaReadCommon to contain those members of
GstMatroskaDemux and GstMatroskaParse that were used by the above
functions.

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

13 years agoflacparse: tell baseparse the duration in samples for better accuracy
Tim-Philipp Müller [Mon, 23 May 2011 12:50:46 +0000 (13:50 +0100)]
flacparse: tell baseparse the duration in samples for better accuracy

Tell GstBaseParse the duration in samples instead of time, so that
a duration query in DEFAULT format will return the correct number
of samples without rounding errors. Baseparse will convert this
into time itself when needed.

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

13 years agoflacdec: also try upstream first for duration query in DEFAULT format
Tim-Philipp Müller [Mon, 23 May 2011 12:25:44 +0000 (13:25 +0100)]
flacdec: also try upstream first for duration query in DEFAULT format

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

13 years agoflacparse: make conversion from TIME to DEFAULT format (samples) work
Tim-Philipp Müller [Mon, 23 May 2011 12:23:21 +0000 (13:23 +0100)]
flacparse: make conversion from TIME to DEFAULT format (samples) work

Fix copy'n'paste error in the previous commit.

13 years agoflacparse: Implement conversions between TIME and DEFAULT format
Sebastian Dröge [Mon, 23 May 2011 09:36:36 +0000 (11:36 +0200)]
flacparse: Implement conversions between TIME and DEFAULT format

Fixes bug #650785.

13 years agoflacparse: don't error out on invalid minimum_blocksize value in streaminfo header
Tim-Philipp Müller [Sun, 22 May 2011 17:50:51 +0000 (18:50 +0100)]
flacparse: don't error out on invalid minimum_blocksize value in streaminfo header

We don't use it, so may just as well accept an invalid value
of 0 here, which is likely inconsequential anyway.

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

13 years agortp: fix static array overruns in a nicer way
Stefan Kost [Fri, 20 May 2011 07:34:47 +0000 (10:34 +0300)]
rtp: fix static array overruns in a nicer way

Use G_N_ELEMENTS instead of hard-coding the array size.

13 years agortp: fix static array overruns
Stefan Kost [Thu, 19 May 2011 21:53:44 +0000 (00:53 +0300)]
rtp: fix static array overruns

Yes array[10] has elements from 0...9.

13 years agodocs: update plugin introspection data
Stefan Kost [Thu, 19 May 2011 20:31:19 +0000 (23:31 +0300)]
docs: update plugin introspection data

Now more files are merged and produced in a canonical fashion, which hopefully
creates less or no delta in the future.

13 years agoAutomatic update of common submodule
Stefan Kost [Thu, 19 May 2011 19:57:15 +0000 (22:57 +0300)]
Automatic update of common submodule

From 9e5bbd5 to 69b981f

13 years agoqtdemux: add missing break
Stefan Kost [Thu, 19 May 2011 15:21:33 +0000 (18:21 +0300)]
qtdemux: add missing break

13 years agodeinterlace: Add support for deinterlacing using buffer caps/flags
Robert Swain [Mon, 8 Nov 2010 13:06:15 +0000 (14:06 +0100)]
deinterlace: Add support for deinterlacing using buffer caps/flags

When not using the fieldanalysis element immediately upstream of deinterlace,
behaviour should remain unchanged. fieldanalysis will set the caps and flags on
the buffers such that they can be interpreted and acted upon to produce
progressive output.

There are two main modes of operation:

- Passive pattern locking
  Passive pattern locking is a non-blocking, low-latency mode of operation that
  is suitable for close-to-live usage. Initially a telecine stream will be
  output as variable framerate with naïve timestamp adjustment. With each
  incoming buffer, an attempt is made to lock onto a pattern. When a lock is
  obtained, the src pad and output buffer caps will reflect the pattern and
  timestamps will be accurately interpolated between pattern repeats. This
  means that initially and at pattern transitions there will be short periods
  of inaccurate timestamping.

- Active pattern locking
  Active pattern locking is a blocking, high-latency mode of operation that is
  targeted at use-cases where timestamp accuracy is paramount. Buffers will be
  queued until enough are present to make a lock. When locked, timestamps will
  be accurately interpolated between pattern repeats. Orphan fields can be
  dropped or deinterlaced. If no lock can be obtained, a single field might be
  pushed through to be deinterlaced.

Locking can also be disabled or 'auto' chooses between passive and active
locking modes depending on whether upstream is live.

13 years agoconfigure: Remove config script check for caca
David Schleef [Tue, 10 May 2011 23:25:40 +0000 (16:25 -0700)]
configure: Remove config script check for caca

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 agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 13:10:07 +0000 (16:10 +0300)]
Automatic update of common submodule

From fd35073 to 9e5bbd5

13 years agoavidemux: ensure 0-padding when correcting dubious list size
Mark Nauwelaerts [Wed, 18 May 2011 10:52:31 +0000 (12:52 +0200)]
avidemux: ensure 0-padding when correcting dubious list size

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 09:24:25 +0000 (12:24 +0300)]
Automatic update of common submodule

From 46dfcea to fd35073

13 years agortspsrc: use EINVAL for missing url parameter
Stefan Kost [Wed, 18 May 2011 07:22:27 +0000 (10:22 +0300)]
rtspsrc: use EINVAL for missing url parameter

Fixes gcc warning about using uninitialized variable 'res'.

13 years agovarious: fix author tag in element details
Stefan Kost [Thu, 28 Apr 2011 12:37:40 +0000 (15:37 +0300)]
various: fix author tag in element details

13 years agoauparse: implement seeking
Chris E Jones [Wed, 20 Apr 2011 19:25:58 +0000 (15:25 -0400)]
auparse: implement seeking

Implement seeking and seeking query. Fixes #644512

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 17 May 2011 14:13:59 +0000 (16:13 +0200)]
Merge branch 'master' into 0.11

13 years agortspsrc: also allow PAUSE to be interrupted
Mark Nauwelaerts [Wed, 6 Apr 2011 14:05:55 +0000 (16:05 +0200)]
rtspsrc: also allow PAUSE to be interrupted

... as it is on the way out to NULL.

See #632504.

13 years agortspsrc: ensure proper closing and cleanup
Mark Nauwelaerts [Wed, 6 Apr 2011 13:51:49 +0000 (15:51 +0200)]
rtspsrc: ensure proper closing and cleanup

... since the TEARDOWN sequence might not have had a chance to even start,
but at least connections should be closed (synchronously) and state cleaned up.

See #632504.

13 years agortspsrc: fix and improve async handling
Mark Nauwelaerts [Wed, 6 Apr 2011 13:49:01 +0000 (15:49 +0200)]
rtspsrc: fix and improve async handling

Simplify the command handling; passing a command to thread means we really
want it to get the message, which means to always flush provided the command
can handle being interrupted.  Command thread indicates whether command
allows interruption and ensure non-flushing connection as it subsequently
needs it.

In particular, this also makes the TEARDOWN sequence interruptable
and also prevents races where _loop_ could miss a command and would
continue receiving (or at least trying to).

See #632504.

13 years agortspsrc: tweak post-seek loop handling
Mark Nauwelaerts [Wed, 6 Apr 2011 12:53:27 +0000 (14:53 +0200)]
rtspsrc: tweak post-seek loop handling

13 years agortspsrc: open on play and pause when not done yet
Wim Taymans [Mon, 10 Jan 2011 11:46:37 +0000 (12:46 +0100)]
rtspsrc: open on play and pause when not done yet

With the async state changes, it is possible that we need to open the stream
before play and pause.
Also make sure we remember a previous open failure so that we don't keep trying
again.

13 years agortspsrc: improve async handling
Wim Taymans [Mon, 10 Jan 2011 10:45:03 +0000 (11:45 +0100)]
rtspsrc: improve async handling

Simplify the command handling, only continue looping when we have not received
another command or when the previous loop was successfull.
Avoid looping on a disconnected socket.

13 years agortspsrc: rework reconnect code
Wim Taymans [Fri, 7 Jan 2011 17:02:49 +0000 (18:02 +0100)]
rtspsrc: rework reconnect code

Use the same async code path to implement reconnects.
Make sure we only post progress messages when doing async things.

13 years agortspsrc: small cleanups
Wim Taymans [Fri, 7 Jan 2011 16:19:59 +0000 (17:19 +0100)]
rtspsrc: small cleanups

Make sure we cancel the previous task when queuing a new one.
Move the messages to a central place so we can more easily post them.

13 years agortspsrc: don't post errors when interrupting
Wim Taymans [Fri, 7 Jan 2011 14:15:49 +0000 (15:15 +0100)]
rtspsrc: don't post errors when interrupting

13 years agortspsrc: implement more async handling
Wim Taymans [Fri, 7 Jan 2011 12:43:06 +0000 (13:43 +0100)]
rtspsrc: implement more async handling

Remove some old locks.
Make sure we never go into the loop function when flushing.

13 years agortspsrc: first attempt at async implementation
Wim Taymans [Fri, 7 Jan 2011 10:40:32 +0000 (11:40 +0100)]
rtspsrc: first attempt at async implementation

13 years agortspsrc: small header cleanups
Wim Taymans [Fri, 7 Jan 2011 10:40:11 +0000 (11:40 +0100)]
rtspsrc: small header cleanups

13 years agossrcdemux: Fix uninitialized variable compiler warning for (pre-) releases too
Sebastian Dröge [Tue, 17 May 2011 08:47:32 +0000 (10:47 +0200)]
ssrcdemux: Fix uninitialized variable compiler warning for (pre-) releases too

13 years agov4l2objects: Only allow mpeg-ts on source objects
Edward Hervey [Thu, 28 Apr 2011 13:57:04 +0000 (15:57 +0200)]
v4l2objects: Only allow mpeg-ts on source objects

Ugly fix for #648312

13 years agortpssrcdemux: Fix uninitialized variable compiler warning
Sebastian Dröge [Tue, 17 May 2011 07:24:08 +0000 (09:24 +0200)]
rtpssrcdemux: Fix uninitialized variable compiler warning

13 years agossrcdemux: Implement iterate internal links for sink pads
Olivier Crête [Fri, 6 May 2011 23:09:17 +0000 (19:09 -0400)]
ssrcdemux: Implement iterate internal links for sink pads

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

13 years agortpssrcdemux: iterate pad function is only valid for src pads
Olivier Crête [Fri, 6 May 2011 22:41:01 +0000 (18:41 -0400)]
rtpssrcdemux: iterate pad function is only valid for src pads

The iterate function is only used for src pads, so mark it as such and remove
dead code.

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

13 years agortpssrcdemux: Release lock before emitting signal
Olivier Crête [Fri, 6 May 2011 22:12:53 +0000 (18:12 -0400)]
rtpssrcdemux: Release lock before emitting signal

If the lock is not released before emitting a signal, it may cause a deadlock
if any other function in the element is called.

Also removed an unused timestamp parameter

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

13 years agomatroskaparse: calculate segment duration after parsing all the IDs
Debarshi Ray [Sun, 15 May 2011 20:25:15 +0000 (23:25 +0300)]
matroskaparse: calculate segment duration after parsing all the IDs

Since the segment duration is given in terms of the
GST_MATROSKA_ID_TIMECODESCALE we should only convert it into
nanoseconds when we are sure that any scale specified in the file has
been read.

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

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 16 May 2011 15:52:11 +0000 (17:52 +0200)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac

13 years ago-good: fix for new API
Wim Taymans [Mon, 16 May 2011 15:50:15 +0000 (17:50 +0200)]
-good: fix for new API

13 years agomatroskademux: additional lock safety
Mark Nauwelaerts [Wed, 4 May 2011 09:55:21 +0000 (11:55 +0200)]
matroskademux: additional lock safety

Fixes #619590.

13 years agoqtdemux: also check for bitrate info in caps
Mark Nauwelaerts [Tue, 26 Apr 2011 14:06:56 +0000 (16:06 +0200)]
qtdemux: also check for bitrate info in caps

13 years agoqtdemux: guess bitrate if only one stream's bitrate is unknown
Arun Raghavan [Mon, 24 May 2010 19:34:43 +0000 (01:04 +0530)]
qtdemux: guess bitrate if only one stream's bitrate is unknown

If the bitrates for all but one audio/video streams are known, and the
total stream size and duration can be determined, this calculates the
unkown bitrate as (stream size / duration) - (sum of known bitrates).
While this is not guaranteed to be very accurate, it should be good
enough for most purposes.

For example, this is useful for H.263 + AAC streams where no 'btrt' atom
is available for the video portion.

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

13 years agoqtdemux: Export max bitrate for AMR-NB/-WB streams
Arun Raghavan [Mon, 31 May 2010 18:29:59 +0000 (23:59 +0530)]
qtdemux: Export max bitrate for AMR-NB/-WB streams

This parses the 'damr' atom if present, and exports the maximum bitrate
of the stream using the mode set field to determine the highest bitrate
frame type that might be present.

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

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 agomatroskademux: calculate segment duration after parsing all the IDs
Debarshi Ray [Sun, 15 May 2011 20:25:15 +0000 (23:25 +0300)]
matroskademux: calculate segment duration after parsing all the IDs

Since the segment duration is given in terms of the
GST_MATROSKA_ID_TIMECODESCALE we should only convert it into
nanoseconds when we are sure that any scale specified in the file has
been read.

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

13 years agoflvmux: Add support for mpegversion 2, which is also AAC
Andoni Morales Alastruey [Mon, 9 May 2011 17:00:45 +0000 (19:00 +0200)]
flvmux: Add support for mpegversion 2, which is also AAC

13 years agoflacdec: Send EOS when seeking after the end of file instead of failing
Sebastian Dröge [Wed, 11 May 2011 08:25:15 +0000 (10:25 +0200)]
flacdec: Send EOS when seeking after the end of file instead of failing

Fixes bug #649780.

13 years agowavenc: Set fixedcaps getcaps function on the sinkpad
Sebastian Dröge [Fri, 29 Apr 2011 06:59:20 +0000 (08:59 +0200)]
wavenc: Set fixedcaps getcaps function on the sinkpad

wavenc does not allow to change the caps during playback
and always returning the template caps is just wrong.

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 agoBack to development
Tim-Philipp Müller [Sat, 14 May 2011 09:02:22 +0000 (10:02 +0100)]
Back to development

13 years agoRelease 0.10.29
Tim-Philipp Müller [Tue, 10 May 2011 09:04:28 +0000 (10:04 +0100)]
Release 0.10.29

Highlights:

  - amrparse, aacparse, ac3parse, flacparse, mpegaudioparse, dcaparse audio parsers (moved from -bad)
  - muxers now mux based on running time
  - ISO MP4 muxers: mp4mux/3gppmux/qtmux/mj2mux (moved from -bad)
  - new matroskaparse element
  - new v4l2radio element
  - rtpsession: support RTCP Early Feedback (the AVPF profile)
  - orc 0.4.14 or newer recommended
  - many other fixes and improvements

13 years agoqtmux: Fix signed floating point values writing
Edward Hervey [Thu, 5 May 2011 11:24:23 +0000 (13:24 +0200)]
qtmux: Fix signed floating point values writing

You would end up on some architectures with 0 being written out
instead of the proper value.

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

13 years agomatroskamux: avoid building index when streamable
Mark Nauwelaerts [Wed, 4 May 2011 10:04:15 +0000 (12:04 +0200)]
matroskamux: avoid building index when streamable

... as it will not be written anyway.

Fixes #648937 (?).