platform/upstream/gst-plugins-good.git
14 years agoUpdate for recent changes to common submodule
Benjamin Otte [Wed, 10 Mar 2010 20:01:20 +0000 (21:01 +0100)]
Update for recent changes to common submodule

This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.

Actually using that separation will happen later.

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 20:52:09 +0000 (21:52 +0100)]
Automatic update of common submodule

From 9720a7d to df8a7c8

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 19:43:57 +0000 (20:43 +0100)]
Automatic update of common submodule

From 0b6e072 to 9720a7d

14 years agomultiudpsink: Reset windows error code after getting corresponding error message.
Andoni Morales Alastruey [Wed, 10 Mar 2010 18:51:28 +0000 (10:51 -0800)]
multiudpsink: Reset windows error code after getting corresponding error message.

14 years agoavimux: put the codec_data blob into the actual data for MPEG4 video,
Michael Smith [Wed, 10 Mar 2010 01:32:27 +0000 (17:32 -0800)]
avimux: put the codec_data blob into the actual data for MPEG4 video,
to match other implementations in the wild.

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 15:09:56 +0000 (16:09 +0100)]
Automatic update of common submodule

From 7cc5eb4 to 0b6e072

14 years agoximagesrc: send new_segment with GST_FORMAT_TIME format
Thadeu Lima de Souza Cascardo [Wed, 24 Feb 2010 00:06:55 +0000 (21:06 -0300)]
ximagesrc: send new_segment with GST_FORMAT_TIME format

Instead of using BaseSrc default format GST_FORMAT_BYTES, send it in
GST_FORMAT_TIME.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Fixes #611659

14 years agoavidemux: push mode; also report seekable without an element index
Mark Nauwelaerts [Wed, 10 Mar 2010 10:46:06 +0000 (11:46 +0100)]
avidemux: push mode; also report seekable without an element index

... since recent code also seeks around to obtain required data
from avi index.

14 years agoavidemux: add some check and standardized seek event handling in push mode
Mark Nauwelaerts [Tue, 9 Mar 2010 17:06:52 +0000 (18:06 +0100)]
avidemux: add some check and standardized seek event handling in push mode

14 years agoavidemux: fix offset handling in push mode seeking
Mark Nauwelaerts [Tue, 9 Mar 2010 17:05:29 +0000 (18:05 +0100)]
avidemux: fix offset handling in push mode seeking

Push mode seeking uses same index data as pull mode, and stores
offset to data in chunk, whereas push mode operates in chunks,
and as such needs offset consistently corresponding to chunk headers.
Also fix determining best matching stream for incoming newsegment event,
as well as setting some stream state accordingly.

14 years agoflvdemux: conduct index scan in task thread
Mark Nauwelaerts [Fri, 26 Feb 2010 20:29:49 +0000 (21:29 +0100)]
flvdemux: conduct index scan in task thread

... rather than in seeking thread, which might then occupy mainloop
for some time with possible unresponsive side-effects.

14 years agoflvdemux: avoid indefinite index growth
Mark Nauwelaerts [Fri, 26 Feb 2010 20:27:33 +0000 (21:27 +0100)]
flvdemux: avoid indefinite index growth

That is, check for and do not add an index entry that has already
been added.

14 years agoflvdemux: also collect index info on-the-fly in pull mode
Mark Nauwelaerts [Thu, 18 Feb 2010 13:57:39 +0000 (14:57 +0100)]
flvdemux: also collect index info on-the-fly in pull mode

14 years agoflvdemux: incrementally build index in pull mode
Mark Nauwelaerts [Thu, 18 Feb 2010 11:42:31 +0000 (12:42 +0100)]
flvdemux: incrementally build index in pull mode

Scan for needed part upon a seek as opposed to doing a complete scan
at startup, which may take some time depending on file and/or platform.
Also accept index metadata in pull mode and peek for some metadata
at the end of the file when deemed appropriate.

14 years agoflvdemux: some more variable cleanup
Mark Nauwelaerts [Thu, 18 Feb 2010 11:26:46 +0000 (12:26 +0100)]
flvdemux: some more variable cleanup

14 years agoflvdemux: refactor adding index entry
Mark Nauwelaerts [Tue, 9 Mar 2010 17:25:23 +0000 (18:25 +0100)]
flvdemux: refactor adding index entry

14 years agoflvdemux: fix setting DELTA_UNIT flag on outgoing buffers
Mark Nauwelaerts [Wed, 17 Feb 2010 10:36:13 +0000 (11:36 +0100)]
flvdemux: fix setting DELTA_UNIT flag on outgoing buffers

... which should not depend on having index available or not.
Also refactor resulting collapsed code.

14 years agoqtdemux: avoid erroneous codec-data overriding of stsd information
Mark Nauwelaerts [Thu, 11 Feb 2010 18:43:47 +0000 (19:43 +0100)]
qtdemux: avoid erroneous codec-data overriding of stsd information

14 years agospeexdec: adapt to new oggdemux
Mark Nauwelaerts [Mon, 1 Feb 2010 21:37:30 +0000 (22:37 +0100)]
speexdec: adapt to new oggdemux

Remove all granulepos hacks and simply use upstream timestamps.

14 years agospeexdec: refactor granulepos hacks
Mark Nauwelaerts [Mon, 1 Feb 2010 21:36:02 +0000 (22:36 +0100)]
speexdec: refactor granulepos hacks

14 years agortspsrc: parse connection information
Wim Taymans [Wed, 10 Mar 2010 10:19:46 +0000 (11:19 +0100)]
rtspsrc: parse connection information

Parse the connection information from the SDP and use it to figure out if we are
dealing with ipv4 or ipv6 connections.

14 years agortspsrc: require a destination for multicast
Wim Taymans [Tue, 9 Mar 2010 16:53:32 +0000 (17:53 +0100)]
rtspsrc: require a destination for multicast

When setting up the multicast sockets, we need a destination address to listen
on or else we error.

14 years agortspsrc: handle ipv6 listening ports when needed
Wim Taymans [Tue, 9 Mar 2010 16:52:35 +0000 (17:52 +0100)]
rtspsrc: handle ipv6 listening ports when needed

Add some code to make udpsrc listen on an ipv6 address when needed. The
detection of IPV6 is not yet implemented.

14 years agoudp: use uri parsing code
Wim Taymans [Tue, 9 Mar 2010 16:15:16 +0000 (17:15 +0100)]
udp: use uri parsing code

Use the uri parsing helper functions to manage the host and port pairs. This
adds support for IPV6.

14 years agoudpnetutils: add helper functions for udp uri handling
Wim Taymans [Tue, 9 Mar 2010 16:13:31 +0000 (17:13 +0100)]
udpnetutils: add helper functions for udp uri handling

Add some helpers to parse udp uris. Make sure IPV6 is supported too.

14 years agortpsession: Make it possible to favor new sources in case of SSRC conflict
Olivier Crête [Fri, 5 Mar 2010 15:08:45 +0000 (16:08 +0100)]
rtpsession: Make it possible to favor new sources in case of SSRC conflict

Add a "favor-new" property that tells the session to favor new sources when
there is a SSRC conflict. This is useful for SIP calls and other such cases
where a remote loop is extremely unlikely.

Fixes #607615

14 years agortpsession: Move SSRC conflicts lists into RTPSource
Olivier Crête [Fri, 5 Mar 2010 14:46:48 +0000 (15:46 +0100)]
rtpsession: Move SSRC conflicts lists into RTPSource

We will also need to track SSRC conflicts in remote sources.

See #607615

14 years agortspsrc: send keep alive when paused
Wim Taymans [Fri, 26 Feb 2010 16:13:49 +0000 (17:13 +0100)]
rtspsrc: send keep alive when paused

When we are paused, send keep alive messages to the server so that our session
doesn't time out when we go back to playing later.

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 10 Mar 2010 01:10:07 +0000 (01:10 +0000)]
Automatic update of common submodule

From 7aa65b5 to 7cc5eb4

14 years agomultifilesink: Add key-frame option to next-file
David Schleef [Wed, 24 Feb 2010 03:48:10 +0000 (19:48 -0800)]
multifilesink: Add key-frame option to next-file

This allows segmenting of MPEG-TS files at key frames, which is
exactly what is needed for Apple's HTTP streaming.

14 years agoAutomatic update of common submodule
Sebastian Dröge [Tue, 9 Mar 2010 21:32:47 +0000 (21:32 +0000)]
Automatic update of common submodule

From 44ecce7 to 7aa65b5

14 years agovideobox: Fix autocropping for odd width/height differences
Sebastian Dröge [Mon, 8 Mar 2010 20:17:58 +0000 (20:17 +0000)]
videobox: Fix autocropping for odd width/height differences

14 years agovideobox: Use libgstvideo for format specific stuff
Sebastian Dröge [Mon, 8 Mar 2010 20:02:19 +0000 (20:02 +0000)]
videobox: Use libgstvideo for format specific stuff

14 years agoaudiofx: Sync properties to the stream time
Sebastian Dröge [Mon, 8 Mar 2010 19:28:47 +0000 (19:28 +0000)]
audiofx: Sync properties to the stream time

14 years agovideobox: Make properties controllable
Sebastian Dröge [Mon, 8 Mar 2010 19:20:59 +0000 (19:20 +0000)]
videobox: Make properties controllable

14 years agovideobox: Some cleanup
Sebastian Dröge [Mon, 8 Mar 2010 19:09:01 +0000 (19:09 +0000)]
videobox: Some cleanup

14 years agoeffectv: Use controller where possible, optimize a bit and make properties threadsafe
Sebastian Dröge [Sun, 28 Feb 2010 14:47:50 +0000 (15:47 +0100)]
effectv: Use controller where possible, optimize a bit and make properties threadsafe

14 years agobuild: Make some more rules silent if requested
Sebastian Dröge [Fri, 26 Feb 2010 15:35:17 +0000 (16:35 +0100)]
build: Make some more rules silent if requested

14 years agoconfigure: Use automake 1.11 silent rules instead of shave if available
Sebastian Dröge [Fri, 26 Feb 2010 14:41:52 +0000 (15:41 +0100)]
configure: Use automake 1.11 silent rules instead of shave if available

This makes sure that we use something that is still maintained and
also brings back libtool 1.5 support.

14 years agopng: fractions don't allow doubles
Benjamin Otte [Mon, 8 Mar 2010 21:57:34 +0000 (22:57 +0100)]
png: fractions don't allow doubles

14 years agoflx: fix description
Benjamin Otte [Mon, 1 Mar 2010 11:03:56 +0000 (12:03 +0100)]
flx: fix description

It's video, not audio

14 years agoBack to development
Tim-Philipp Müller [Tue, 9 Mar 2010 17:45:27 +0000 (17:45 +0000)]
Back to development

14 years agoRelease 0.10.21 RELEASE-0.10.21
Tim-Philipp Müller [Tue, 9 Mar 2010 00:28:16 +0000 (00:28 +0000)]
Release 0.10.21

14 years agoUpdate .po files
Tim-Philipp Müller [Tue, 9 Mar 2010 00:24:45 +0000 (00:24 +0000)]
Update .po files

14 years agoRevert "Add 4:2:2, 4:1:1, and 4:4:4 output support"
Tim-Philipp Müller [Tue, 9 Mar 2010 00:09:34 +0000 (00:09 +0000)]
Revert "Add 4:2:2, 4:1:1, and 4:4:4 output support"

This reverts commit 637c26f61a2bd8d7b01f8b6d081d94da65f74557.

14 years agoRelease 0.10.20 RELEASE-0.10.20
Tim-Philipp Müller [Mon, 8 Mar 2010 23:42:51 +0000 (23:42 +0000)]
Release 0.10.20

14 years agoUpdate .po files
Tim-Philipp Müller [Mon, 8 Mar 2010 23:42:06 +0000 (23:42 +0000)]
Update .po files

14 years agoflacdec: don't send second newsegment event in framed mode, fixes long playback delay
Tim-Philipp Müller [Mon, 8 Mar 2010 16:47:04 +0000 (16:47 +0000)]
flacdec: don't send second newsegment event in framed mode, fixes long playback delay

Don't send another newsegment event if the upstream muxer/parser has already
sent one (otherwise the sink will wait for $duration before starting playback).
Fixes long delay until playback starts with flac-in-ogg files.

Fixes #610959.

14 years agortspsrc: configure multicast correctly
Wim Taymans [Fri, 5 Mar 2010 12:49:31 +0000 (13:49 +0100)]
rtspsrc: configure multicast correctly

Take the transport destination for multicast.
Disable loop and autojoin for multicast on the udpsinks.

14 years agomulticast: always configure loop and ttl
Wim Taymans [Fri, 5 Mar 2010 12:47:33 +0000 (13:47 +0100)]
multicast: always configure loop and ttl

Also configure TTL and loop parameters when we add a client after initializing
the sender.

14 years agoRevert "rtph263depay: baseclass handles timestamps for us"
Wim Taymans [Mon, 8 Mar 2010 11:13:32 +0000 (12:13 +0100)]
Revert "rtph263depay: baseclass handles timestamps for us"

This reverts commit 564581e1b88ecd5ec5da82c3cafb0e7a2d58b302.

If we don't call push_ts, there will be no timestamp at all on the outgoing
buffer.

Fixes #612154

14 years agoAdd 4:2:2, 4:1:1, and 4:4:4 output support
Benjamin M. Schwartz [Wed, 24 Feb 2010 03:16:39 +0000 (22:16 -0500)]
Add 4:2:2, 4:1:1, and 4:4:4 output support

14 years agortpsource: use payload size to estimate bitrate
Wim Taymans [Tue, 2 Mar 2010 12:21:24 +0000 (13:21 +0100)]
rtpsource: use payload size to estimate bitrate

Use the length of the payload for estimating the receiver bitrate so that it
matches the calculations done on the sender side. Together with the number of
packets one can scale the bitrate with the header overhead of the lower
transport.

14 years agortpsource: refactor bitrate estimation
Wim Taymans [Tue, 2 Mar 2010 11:39:20 +0000 (12:39 +0100)]
rtpsource: refactor bitrate estimation

Don't reuse the same variable we need for stats for the bitrate estimation
because we're updating it.
Refactor the bitrate estimation code so that both sender and receivers use the
same code path.

14 years agoadded bitrate estimation to receiver-side stats, fixes #611213
Tristan Matthews [Mon, 1 Mar 2010 21:40:27 +0000 (16:40 -0500)]
added bitrate estimation to receiver-side stats, fixes #611213

14 years agoh263pay: fix typo in debug
Wim Taymans [Mon, 1 Mar 2010 15:01:24 +0000 (16:01 +0100)]
h263pay: fix typo in debug

14 years agoRelease 0.10.19 RELEASE-0.10.19
Tim-Philipp Müller [Sat, 6 Mar 2010 00:43:03 +0000 (00:43 +0000)]
Release 0.10.19

14 years agoUpdate .po files
Tim-Philipp Müller [Sat, 6 Mar 2010 00:42:09 +0000 (00:42 +0000)]
Update .po files

14 years ago0.18.4 pre-release
Tim-Philipp Müller [Wed, 3 Mar 2010 20:29:30 +0000 (20:29 +0000)]
0.18.4 pre-release

14 years agomatroskademux: Make sure we don't send invalid newsegments
Edward Hervey [Tue, 2 Mar 2010 17:29:41 +0000 (18:29 +0100)]
matroskademux: Make sure we don't send invalid newsegments

Fixes #611501

14 years agomatroskademux: Mark streams as being EOS at the right time.
Edward Hervey [Tue, 2 Mar 2010 13:09:14 +0000 (14:09 +0100)]
matroskademux: Mark streams as being EOS at the right time.

This allows us to stop streaming only when all streams have gone past the
segment.stop and not before.

Fixes #611501

14 years agomatroskademux: Advance sparse streams only as much as required to keep the gap smalle...
Sebastian Dröge [Fri, 26 Feb 2010 17:10:32 +0000 (18:10 +0100)]
matroskademux: Advance sparse streams only as much as required to keep the gap smaller than 500ms

Changing it to the newest timestamp that was ever pushed will
increase the segment start in 500ms jumps, which could be just
after the next sparse stream buffer. E.g.

Video at 1.0s, sparse stream at 0.5s would jump the
sparse stream to 1.0s. Now a new sparse stream buffer could
appear that has a timestamp of 0.9s and this would be
dropped for no good reason because of bad luck.

14 years ago0.10.18.3 pre-release
Tim-Philipp Müller [Wed, 24 Feb 2010 01:36:07 +0000 (01:36 +0000)]
0.10.18.3 pre-release

14 years agoMake sure FLUSH_STOP is sent so not to leave downstream flushing.
Alessandro Decina [Wed, 24 Feb 2010 01:05:49 +0000 (02:05 +0100)]
Make sure FLUSH_STOP is sent so not to leave downstream flushing.

14 years agoconfigure: Use $PKG_CONFIG instead of pkg-config to fix cross compilation
Volker Grabsch [Tue, 23 Feb 2010 16:25:54 +0000 (17:25 +0100)]
configure: Use $PKG_CONFIG instead of pkg-config to fix cross compilation

Fixes bug #610839.

14 years agortpjitterbuffer: Reset skew detection after instantiating the jitterbuffer
Sebastian Dröge [Tue, 23 Feb 2010 16:24:03 +0000 (17:24 +0100)]
rtpjitterbuffer: Reset skew detection after instantiating the jitterbuffer

...not only when going to READY. This sets high_level and friends to
a more useful value.

14 years agortpjitterbuffer: Return 100 if high-level is 0 instead of dividing by zero
Sebastian Dröge [Tue, 23 Feb 2010 16:19:14 +0000 (17:19 +0100)]
rtpjitterbuffer: Return 100 if high-level is 0 instead of dividing by zero

14 years agortpmp4gdepay: avoid division by 0
Wim Taymans [Mon, 22 Feb 2010 11:24:14 +0000 (12:24 +0100)]
rtpmp4gdepay: avoid division by 0

Avoid a division by 0 when no constantDuration was specified and when out two
timestamps are equal.

Fixes #610265

14 years agodvdepay: don't output frames until we have a header
Wim Taymans [Mon, 22 Feb 2010 17:20:46 +0000 (18:20 +0100)]
dvdepay: don't output frames until we have a header

Wait for the complete first 6 header DIF packets before outputting a frame.
Decoders need this info to correctly decode the data.

Fixes #610556

14 years agojpegdec: Fix invalid memory access by first checking and then reading
David Hoyt [Mon, 22 Feb 2010 19:55:29 +0000 (20:55 +0100)]
jpegdec: Fix invalid memory access by first checking and then reading

Fixes bug #610483.

14 years agopulsesink: gst_pulsesink_get_mute: set result earlier.
Philippe Normand [Thu, 18 Feb 2010 08:05:50 +0000 (09:05 +0100)]
pulsesink: gst_pulsesink_get_mute: set result earlier.

In the cases where no buffer was process yet or the index is not
available, get_pulsesink_get_mute() would unconditionally return
FALSE.

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

14 years agopkgconfig: fix gstreamer-plugins-good uninstalled .pc file
Tim-Philipp Müller [Fri, 19 Feb 2010 12:35:29 +0000 (12:35 +0000)]
pkgconfig: fix gstreamer-plugins-good uninstalled .pc file

Fix gst-plugins-base reference/requirement. This caused spurious
problems with uninstalled -ugly/-bad not finding -good plugins in
their unit tests (when distchecking).

14 years ago0.10.18.2 pre-release
Tim-Philipp Müller [Fri, 19 Feb 2010 01:03:31 +0000 (01:03 +0000)]
0.10.18.2 pre-release

14 years agoMake git ignore shapewipe examples and tests
Tim-Philipp Müller [Fri, 19 Feb 2010 00:54:13 +0000 (00:54 +0000)]
Make git ignore shapewipe examples and tests

14 years agoflvdemux: minor micro-optimisation
Tim-Philipp Müller [Fri, 19 Feb 2010 00:46:40 +0000 (00:46 +0000)]
flvdemux: minor micro-optimisation

We know these values don't change during the loop, but the compiler
doesn't and has to re-check them for every iteration.

14 years agoflvdemux: remove static keyword from variables that shouldn't be static
Tim-Philipp Müller [Fri, 19 Feb 2010 00:39:50 +0000 (00:39 +0000)]
flvdemux: remove static keyword from variables that shouldn't be static

Multiple flvparse/flvdemux instances should be able to operate without
trampling over each other by accidentally re-using the same (static)
variables. (Spotted by Mark Nauwelaerts)

14 years agodocs: add Since: markers for new jitterbuffer properties
Tim-Philipp Müller [Tue, 16 Feb 2010 02:07:07 +0000 (02:07 +0000)]
docs: add Since: markers for new jitterbuffer properties

14 years agoqtdemux: Fix off-by-one logic error in frame rate cap regression commit
Robert Swain [Thu, 18 Feb 2010 17:20:24 +0000 (18:20 +0100)]
qtdemux: Fix off-by-one logic error in frame rate cap regression commit

14 years agoqtdemux: Use the correct duration when comparing segments
Thiago Santos [Wed, 17 Feb 2010 19:27:33 +0000 (16:27 -0300)]
qtdemux: Use the correct duration when comparing segments

Do not confuse QtDemuxSegments with GstSegments when
comparing the total file duration with the segment duration

Fixes #610296

14 years agoqtdemux: add durations modulo 1<<32
Robert Swain [Wed, 17 Feb 2010 17:06:29 +0000 (18:06 +0100)]
qtdemux: add durations modulo 1<<32

For calculating the durations of each sample, we are supposed to add each
duration modulo 1<<32 so make the elapsed time counter a uint32.

Fixes #610280

14 years agomultipartdemux: improve header mime-type parsing
Anders Skargren [Tue, 16 Feb 2010 20:05:24 +0000 (21:05 +0100)]
multipartdemux: improve header mime-type parsing

Make the handing of the mime type within the "boundary" a bit less naive.
The standard for MIME allows parameters to follow the "type" / "subtype"
clause separated from the mime type by ';'.

Modifies the multipartdemuxer's header parsing so it doesnt assume
the whole line after "content-type:" is the mime type and thus makes it a bit
more resilient to finding absurd mime types in the case where parameters are
added.

Fixes #604711

14 years agortspsrc: avoid stopping NULL tasks
Wim Taymans [Tue, 16 Feb 2010 18:53:09 +0000 (19:53 +0100)]
rtspsrc: avoid stopping NULL tasks

Check the task for NULL, it could be paused and set to NULL before.

14 years agoqtdemux: fix ALAC codec-data handling
Mark Nauwelaerts [Tue, 16 Feb 2010 15:22:28 +0000 (16:22 +0100)]
qtdemux: fix ALAC codec-data handling

ALAC codec-data apparently comes in (at least) two flavours (mov, mp4),
so use atom based parsing to retrieve required data, rather than
aiming for a specific offset.

See also #580731.

14 years agoqtdemux: fix debug message
Mark Nauwelaerts [Tue, 16 Feb 2010 14:50:23 +0000 (15:50 +0100)]
qtdemux: fix debug message

14 years agoqtdemux: handle signed values in 3GPP location tag
Mark Nauwelaerts [Thu, 11 Feb 2010 18:39:04 +0000 (19:39 +0100)]
qtdemux: handle signed values in 3GPP location tag

14 years agortspsrc: fix typo in debug message
Mark Nauwelaerts [Mon, 8 Feb 2010 20:35:53 +0000 (21:35 +0100)]
rtspsrc: fix typo in debug message

14 years agoavidemux: reset some more stream state after seek
Mark Nauwelaerts [Tue, 16 Feb 2010 14:00:13 +0000 (15:00 +0100)]
avidemux: reset some more stream state after seek

In particular, fixes non-flushing seek.

14 years agoqtdemux: Fix frame rate cap regression
Robert Swain [Tue, 16 Feb 2010 13:44:11 +0000 (14:44 +0100)]
qtdemux: Fix frame rate cap regression

Look for a non-zero min_duration during initialisation to avoid
incorrect frame rate caps.

14 years agov4l2: log more details in buffer pool finalize
Stefan Kost [Tue, 16 Feb 2010 08:13:17 +0000 (10:13 +0200)]
v4l2: log more details in buffer pool finalize

Helps to align with the loggin from libv4l.

14 years agov4l2: init datastructures after pre-conditions checks
Stefan Kost [Tue, 16 Feb 2010 08:11:40 +0000 (10:11 +0200)]
v4l2: init datastructures after pre-conditions checks

14 years agojpegenc: add a fixme for handling other YUV variants
Stefan Kost [Tue, 16 Feb 2010 08:10:45 +0000 (10:10 +0200)]
jpegenc: add a fixme for handling other YUV variants

14 years agomatroska: fix GST_ELEMENT_ERROR usage
Brian Cameron [Tue, 16 Feb 2010 01:40:19 +0000 (01:40 +0000)]
matroska: fix GST_ELEMENT_ERROR usage

Fixes #610053.

14 years agoconfigure: fix up GST_CXXFLAGS properly
Tim-Philipp Müller [Tue, 16 Feb 2010 00:50:15 +0000 (00:50 +0000)]
configure: fix up GST_CXXFLAGS properly

We don't want C specific flags in GST_CXXFLAGS, so base it on the
GST_CFLAGS that only contains the pkg-config CFLAGS but none of
the GST_OPTION_CFLAGS. Also, we only need the local includes once.
Fix typo as well (GST_FLAGS -> GST_CFLAGS).

14 years agoconfigure: base GST_CXXFLAGS on --cflags from pkg-config
Stefan Kost [Mon, 15 Feb 2010 21:13:46 +0000 (23:13 +0200)]
configure: base GST_CXXFLAGS on --cflags from pkg-config

pkg-config sets GST_CFLAGS and GST_LIBS. We need to use CFLAGS as a starting
point for for both C and CXX settings.

14 years agortpbin: remove use of ntp_ns_base
Wim Taymans [Wed, 20 Jan 2010 17:52:51 +0000 (18:52 +0100)]
rtpbin: remove use of ntp_ns_base

14 years agortpbin: remove more ntpnstime and cleanups
Wim Taymans [Wed, 20 Jan 2010 17:22:20 +0000 (18:22 +0100)]
rtpbin: remove more ntpnstime and cleanups

Remove some code where we pass ntpnstime around, we can do most things with the
running_time just fine.
Rename a variable in the ArrivalStats struct so that it's clear that this is the
current system time.

14 years agortpsource: use running_time for jitter
Wim Taymans [Wed, 20 Jan 2010 17:19:34 +0000 (18:19 +0100)]
rtpsource: use running_time for jitter

Use the running_time to calculate the jitter instead of the ntp time. Part of
the plan to get rid of ntpnsbase.

14 years agortpbin: change how NTP time is calculated in RTCP
Wim Taymans [Wed, 20 Jan 2010 16:04:03 +0000 (17:04 +0100)]
rtpbin: change how NTP time is calculated in RTCP

Don't calculate the NTP time based on the running_time of the pipeline but from
the systemclock. This allows us to generate more accurate NTP timestamps in case
the systemclock is synchronized with NTP or similar.

14 years agov4l2: printf format string fix
Tim-Philipp Müller [Mon, 15 Feb 2010 12:12:36 +0000 (12:12 +0000)]
v4l2: printf format string fix

The compiler wants a cast here even though the type is already
typedefed as 64-bit integer (presumably because glib has typedefed
guint64 to unsigned long here).

14 years agomatroska: fix printf format string
Tim-Philipp Müller [Mon, 15 Feb 2010 10:33:02 +0000 (10:33 +0000)]
matroska: fix printf format string