gstreamer-omap:gst-plugins-good.git
6 years agotests: flacparse: check and compare intended data
Mark Nauwelaerts [Mon, 13 Feb 2012 11:06:37 +0000 (12:06 +0100)]
tests: flacparse: check and compare intended data

6 years agotests: mpegaudioparse: remove stray declaration
Mark Nauwelaerts [Thu, 9 Feb 2012 21:12:14 +0000 (22:12 +0100)]
tests: mpegaudioparse: remove stray declaration

6 years agomultiudpsink: typo fix (bytes send -> bytes sent)
Marc Leeman [Thu, 9 Feb 2012 09:11:48 +0000 (10:11 +0100)]
multiudpsink: typo fix (bytes send -> bytes sent)

6 years agoshout2send: send video/webm through libshout.
Ralph Giles [Tue, 7 Feb 2012 22:10:44 +0000 (14:10 -0800)]
shout2send: send video/webm through libshout.

This requires SHOUT_FORMAT_WEBM, added in libshout 2.3.0,
so video/webm support is contingent on that symbol being
defined.

Also an indentation change required by the pre-commit hook.

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

6 years agomatroskademux: avoid posting invalid duration for each frame
Nicola Murino [Sat, 28 Jan 2012 10:13:16 +0000 (11:13 +0100)]
matroskademux: avoid posting invalid duration for each frame

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

6 years ago0.10.30.3 pre-release
Tim-Philipp Müller [Sun, 5 Feb 2012 13:40:13 +0000 (13:40 +0000)]
0.10.30.3 pre-release

6 years agopulseaudiosink: Lower rank to prevent autoplugging
Arun Raghavan [Fri, 3 Feb 2012 16:35:59 +0000 (22:05 +0530)]
pulseaudiosink: Lower rank to prevent autoplugging

pulseaudiosink breaks visualisations in its current form, so let's
prevent it from being autoplugged for the time being.

The best we can hope to do in the 0.10 series is query the list of
available sinks and their formats, and expose these as the bin's sinkpad
caps. While this is not a comprehensive solution, it will make sure that
we're only trying to support compressed formats if we're certain that
one exists.

The long-term fix for this will be in the form of proper upstream
renegotiation support in the 0.11/1.0 series.

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

6 years agoflacenc: fix event leak when there is no peer on the src pad
Vincent Penquerc'h [Fri, 3 Feb 2012 14:53:31 +0000 (14:53 +0000)]
flacenc: fix event leak when there is no peer on the src pad

6 years agoflvmux: specify we only accept raw AAC in template caps
Vincent Penquerc'h [Thu, 2 Feb 2012 12:27:09 +0000 (12:27 +0000)]
flvmux: specify we only accept raw AAC in template caps

No header seems to be added, and the codec ID is the same as used
for raw by flvdemux, so raw seems the only supported case.

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

6 years agoflvdemux: specify we only output raw AAC in template caps
Vincent Penquerc'h [Thu, 2 Feb 2012 12:25:21 +0000 (12:25 +0000)]
flvdemux: specify we only output raw AAC in template caps

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

6 years agortpmp2tpay: do not try to flush a packet when no data is available
Vincent Penquerc'h [Mon, 30 Jan 2012 14:52:37 +0000 (14:52 +0000)]
rtpmp2tpay: do not try to flush a packet when no data is available

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

6 years agortph264depay: Exclude NALu size from payload length on truncated packets.
Pascal Buhler [Fri, 11 Jun 2010 06:36:33 +0000 (08:36 +0200)]
rtph264depay: Exclude NALu size from payload length on truncated packets.

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

6 years agovideobox: avoid wrapping opaque to transparent
Vincent Penquerc'h [Sat, 28 Jan 2012 13:05:09 +0000 (13:05 +0000)]
videobox: avoid wrapping opaque to transparent

6 years agocairo: fix build, make sure libgstvideo can be found
Jayakrishnan M [Wed, 25 Jan 2012 15:21:44 +0000 (15:21 +0000)]
cairo: fix build, make sure libgstvideo can be found

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

6 years agortpmanager: don't pretend our random hostnames are fully-qualified domain names
Tim-Philipp Müller [Wed, 25 Jan 2012 13:19:12 +0000 (13:19 +0000)]
rtpmanager: don't pretend our random hostnames are fully-qualified domain names

6 years agortpmanager: don't reveal the user's username, hostname or real name by default
Tim-Philipp Müller [Mon, 23 Jan 2012 13:15:46 +0000 (13:15 +0000)]
rtpmanager: don't reveal the user's username, hostname or real name by default

Send a randomly made-up user@hostname as CNAME and don't
send a NAME at all by default.

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

6 years agortspsrc: simplify internal src event debug logging
Mark Nauwelaerts [Fri, 20 Jan 2012 16:06:42 +0000 (17:06 +0100)]
rtspsrc: simplify internal src event debug logging

... which avoids almost superfluous obtaining of rtsp element.

6 years agortspsrc: avoid NULL string comparison
Mark Nauwelaerts [Fri, 20 Jan 2012 16:03:50 +0000 (17:03 +0100)]
rtspsrc: avoid NULL string comparison

6 years agortpmp4adepay: prevent out-of-bound array access
Mark Nauwelaerts [Fri, 20 Jan 2012 16:02:15 +0000 (17:02 +0100)]
rtpmp4adepay: prevent out-of-bound array access

6 years agoisomp4: recovery: add sanity check
Mark Nauwelaerts [Fri, 20 Jan 2012 16:01:37 +0000 (17:01 +0100)]
isomp4: recovery: add sanity check

... on possibly bogus/corrupt input data.

6 years agomatroska-demux: remove redundant variable
Mark Nauwelaerts [Fri, 20 Jan 2012 15:58:28 +0000 (16:58 +0100)]
matroska-demux: remove redundant variable

6 years agodeinterlace: fix arithmetic for unsigned comparison
Mark Nauwelaerts [Fri, 20 Jan 2012 15:57:52 +0000 (16:57 +0100)]
deinterlace: fix arithmetic for unsigned comparison

6 years agoimagefreeze: add various missing break
Mark Nauwelaerts [Fri, 20 Jan 2012 15:55:06 +0000 (16:55 +0100)]
imagefreeze: add various missing break

6 years agoalphacolor: remove redundant statement
Mark Nauwelaerts [Fri, 20 Jan 2012 15:49:14 +0000 (16:49 +0100)]
alphacolor: remove redundant statement

6 years agoflacdec: improve upstream peer duration querying
Mark Nauwelaerts [Fri, 20 Jan 2012 15:48:49 +0000 (16:48 +0100)]
flacdec: improve upstream peer duration querying

... to avoid accepting unhandled duration query result.

6 years agopulsesrc: additional error condition checking
Mark Nauwelaerts [Fri, 20 Jan 2012 15:47:36 +0000 (16:47 +0100)]
pulsesrc: additional error condition checking

6 years agopulsesink: additional error condition checking
Mark Nauwelaerts [Fri, 20 Jan 2012 15:46:21 +0000 (16:46 +0100)]
pulsesink: additional error condition checking

6 years agojpegenc: check _alloc_buffer result and perform fallback alloc if needed
Mark Nauwelaerts [Fri, 20 Jan 2012 15:44:21 +0000 (16:44 +0100)]
jpegenc: check _alloc_buffer result and perform fallback alloc if needed

... rather than carrying on with NULL buffer.

6 years agopulsesrc: fix wrong error check
Vincent Penquerc'h [Fri, 13 Jan 2012 18:11:36 +0000 (18:11 +0000)]
pulsesrc: fix wrong error check

pa_stream_* functions return negative on error, despite the defines
for error codes being positive.

I only got to repro the error twice, so I'm not sure 100% sure this
fixes the issue (the negative var being uninitialized after returning
from pa_stream_get_latency).

6 years agocutter: fix leak of unused GValue
Vincent Penquerc'h [Mon, 16 Jan 2012 17:51:18 +0000 (17:51 +0000)]
cutter: fix leak of unused GValue

6 years agotests: fix autodetect test not testing correctly for state change success
Vincent Penquerc'h [Mon, 16 Jan 2012 16:10:08 +0000 (16:10 +0000)]
tests: fix autodetect test not testing correctly for state change success

State change to PAUSED can be done async, so if this happens, we need
to wait for the change to be done (or failed).

6 years agortph263ppay: fix caps leak
Vincent Penquerc'h [Mon, 16 Jan 2012 15:42:46 +0000 (15:42 +0000)]
rtph263ppay: fix caps leak

6 years agodeinterlace: make interlacedness test deterministic
Vincent Penquerc'h [Mon, 16 Jan 2012 12:13:50 +0000 (12:13 +0000)]
deinterlace: make interlacedness test deterministic

If the interlaced flag is not present in the caps, we assume the
data is not interlaced, instead of leaving the boolean uninitialized.

6 years agooss4: fix caps leaks
Vincent Penquerc'h [Fri, 13 Jan 2012 17:43:49 +0000 (17:43 +0000)]
oss4: fix caps leaks

6 years agov4l2src: fix caps leak
Vincent Penquerc'h [Fri, 13 Jan 2012 17:25:59 +0000 (17:25 +0000)]
v4l2src: fix caps leak

6 years agotests: fix caps leak in videocrop test
Vincent Penquerc'h [Fri, 13 Jan 2012 15:57:20 +0000 (15:57 +0000)]
tests: fix caps leak in videocrop test

6 years agortpptdemux: plug pad leak in error code path
Tim-Philipp Müller [Fri, 13 Jan 2012 10:32:59 +0000 (10:32 +0000)]
rtpptdemux: plug pad leak in error code path

Based on patch by: Stig Sandnes <stig.sandnes@cisco.com>

Don't leak srcpad if there are no caps.

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

6 years agoosxvideo: Fix leak of NSOpenGLPixelFormat object
Stig Sandnes [Tue, 4 Oct 2011 08:00:02 +0000 (10:00 +0200)]
osxvideo: Fix leak of NSOpenGLPixelFormat object

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

6 years agov4l2src: Don't assert when the interface is not implemented.
Havard Graff [Mon, 5 Sep 2011 08:43:19 +0000 (10:43 +0200)]
v4l2src: Don't assert when the interface is not implemented.

Simply return FALSE instead.

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

6 years agowaveformsink: Fix mingw warnings
Raimo Järvi [Wed, 11 Jan 2012 22:18:39 +0000 (00:18 +0200)]
waveformsink: Fix mingw warnings

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

6 years agogstrtpssrcdemux: fix element leak
Vincent Penquerc'h [Thu, 12 Jan 2012 18:23:42 +0000 (18:23 +0000)]
gstrtpssrcdemux: fix element leak

6 years agomatroska: do not leak attachment buffers
Vincent Penquerc'h [Thu, 12 Jan 2012 14:19:22 +0000 (14:19 +0000)]
matroska: do not leak attachment buffers

6 years agoflacenc: do not drop the first data buffer on the floor (and leak it either)
Vincent Penquerc'h [Thu, 12 Jan 2012 10:30:11 +0000 (10:30 +0000)]
flacenc: do not drop the first data buffer on the floor (and leak it either)

6 years agoTemporarily disabling multifile for the Android build
Reynaldo H. Verdejo Pinochet [Wed, 11 Jan 2012 21:45:33 +0000 (18:45 -0300)]
Temporarily disabling multifile for the Android build

There is a hard dependency on inotify comming from gio. We
are not currently bundling inotify with the Android dist so
I'm disabling multifile for now until someone gets around
to sort this out.

This change fixes building on Android

6 years agotests: fix wavenc test on big endian
Tim-Philipp Müller [Wed, 11 Jan 2012 01:45:34 +0000 (01:45 +0000)]
tests: fix wavenc test on big endian

wavenc only accepts little-endian PCM, but most of our
elements such as audiotestsrc only produce or process
audio in native endianness, so we need to plug a
converter before wavenc on big endian systems.

6 years agoisomp4: fix caps leak
Vincent Penquerc'h [Thu, 5 Jan 2012 19:25:33 +0000 (19:25 +0000)]
isomp4: fix caps leak

6 years agoisomp4: remove dead assignment
Vincent Penquerc'h [Thu, 5 Jan 2012 19:08:03 +0000 (19:08 +0000)]
isomp4: remove dead assignment

6 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 4 Jan 2012 19:40:14 +0000 (19:40 +0000)]
Automatic update of common submodule

From 11f0cd5 to cb5da59

6 years agotests: fix some leaks and remove files when done in qtmux test
Tim-Philipp Müller [Wed, 4 Jan 2012 17:59:55 +0000 (17:59 +0000)]
tests: fix some leaks and remove files when done in qtmux test

6 years agomultifilesink: post better error message when we run out of disk space
Peter Seiderer [Wed, 14 Dec 2011 09:14:20 +0000 (10:14 +0100)]
multifilesink: post better error message when we run out of disk space

Map write errno ENOSPC to GST_RESOURCE_ERROR_NO_SPACE_LEFT.

6 years agoudpsrc: fix valgrind warning
Tim-Philipp Müller [Tue, 27 Dec 2011 11:50:03 +0000 (11:50 +0000)]
udpsrc: fix valgrind warning

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

6 years agoudpsrc: drop dataless UDP packets
John Ogness [Wed, 21 Dec 2011 12:22:03 +0000 (13:22 +0100)]
udpsrc: drop dataless UDP packets

It is allowed to send/receive UDP packets with no data. When such
a packet is available, select() will return with success but
ioctl(FIONREAD) will return 0. But a read() must still occur in
order to clear off the UDP packet from the queue.

This patch will read the dataless packet from the socket. If
select() was woken for other reasons (and FIONREAD returns 0),
this may result in a UDP packet getting accidentally dropped.
But since UDP is not reliable, this is acceptable.

NOTE: This patch fixes a nasty bug where sending a dataless
      UDP packet to a udpsrc instance will cause an infinite
      loop.

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

Signed-off-by: John Ogness <john.ogness@linutronix.de>
6 years agojpegdec: fix peer_caps leak
Nicola Murino [Wed, 21 Dec 2011 19:50:21 +0000 (20:50 +0100)]
jpegdec: fix peer_caps leak

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

6 years agoflvmux: don't try to push already-freed buffers
Tim-Philipp Müller [Sun, 25 Dec 2011 14:23:29 +0000 (14:23 +0000)]
flvmux: don't try to push already-freed buffers

Fixes unit test.

6 years agoac3parse: let bsid 9 and 10 through
Vincent Penquerc'h [Fri, 9 Sep 2011 10:42:09 +0000 (11:42 +0100)]
ac3parse: let bsid 9 and 10 through

Files with 9 and 10 happen, and seem to comply with the <= 8
format, so let them through.
The spec says nothing about 9 and 10.

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

6 years agoflvmux: properly determine final duration
Mark Nauwelaerts [Fri, 16 Dec 2011 18:15:38 +0000 (19:15 +0100)]
flvmux: properly determine final duration

... which can be authoratively obtained from our own written timestamps.

6 years agoflvmux: only write full metadata at start
Mark Nauwelaerts [Mon, 19 Dec 2011 12:56:30 +0000 (13:56 +0100)]
flvmux: only write full metadata at start

... rather than having (potentially) unnecessary duplicates written all over,
or even contradictory varying filesize info, or duration info that will not
be rewritten upon header rewrite.

6 years agomatroskademux: do not consider duration of non-finalized file
Branko Subasic [Wed, 21 Dec 2011 16:43:10 +0000 (17:43 +0100)]
matroskademux: do not consider duration of non-finalized file

... to avoid it clamping requested seek position.

Non-finalized file case, determined by whether
_parse_blockgroup_or_simpleblock ever updates the segment duration.

Fixes #652195.

6 years agomatroskademux: improve decision to fall back to scanning when seeking
Mark Nauwelaerts [Wed, 21 Dec 2011 14:06:57 +0000 (15:06 +0100)]
matroskademux: improve decision to fall back to scanning when seeking

... which is basically iff not streaming and no entry found in index

6 years agomatroskademux: filter bogus index entries with missing block number
Mark Nauwelaerts [Tue, 13 Dec 2011 17:18:45 +0000 (18:18 +0100)]
matroskademux: filter bogus index entries with missing block number

... to avoid contradictory information resulting in seeks sending more
downstream than needed for the corresponding segment.

6 years agomatroskademux: cater for safer arithmetic with global start time
Mark Nauwelaerts [Tue, 13 Dec 2011 17:15:18 +0000 (18:15 +0100)]
matroskademux: cater for safer arithmetic with global start time

6 years agomatroskademux: tweak final closing segment sending
Mark Nauwelaerts [Tue, 13 Dec 2011 16:02:01 +0000 (17:02 +0100)]
matroskademux: tweak final closing segment sending

... to avoid it interfering with (sparse) stream syncing.

6 years agoglib-compat: Add license boilerplate for LGPL
Sebastian Dröge [Mon, 12 Dec 2011 10:54:56 +0000 (11:54 +0100)]
glib-compat: Add license boilerplate for LGPL

6 years agomatroskademux: mind (un)signed in some timestamp arithmetic
Mark Nauwelaerts [Mon, 12 Dec 2011 14:15:46 +0000 (15:15 +0100)]
matroskademux: mind (un)signed in some timestamp arithmetic

... to avoid ending up with invalid (negative) duration.

6 years agoqtdemux: increase parse tolerance for fuzzy file cases
Mark Nauwelaerts [Wed, 9 Feb 2011 14:31:22 +0000 (15:31 +0100)]
qtdemux: increase parse tolerance for fuzzy file cases

6 years agobuild: dist glib-compat-private.h properly
Tim-Philipp Müller [Mon, 12 Dec 2011 10:38:20 +0000 (10:38 +0000)]
build: dist glib-compat-private.h properly

Add missing slash.

6 years agotests: use atexit, g_atexit has been deprecated in glib master
Tim-Philipp Müller [Mon, 12 Dec 2011 10:18:14 +0000 (10:18 +0000)]
tests: use atexit, g_atexit has been deprecated in glib master

6 years agoSuppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
Tim-Philipp Müller [Mon, 12 Dec 2011 02:52:13 +0000 (02:52 +0000)]
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly

GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.

6 years agotests: g_thread_init() is deprecated in glib master
Tim-Philipp Müller [Mon, 12 Dec 2011 02:41:37 +0000 (02:41 +0000)]
tests: g_thread_init() is deprecated in glib master

It's not needed any longer.

6 years agoUse g_thread_try_new() instead of g_thread_crate() with newer glib versions
Tim-Philipp Müller [Mon, 12 Dec 2011 02:38:37 +0000 (02:38 +0000)]
Use g_thread_try_new() instead of g_thread_crate() with newer glib versions

6 years agoalpha: use new glib API for static mutex if available
Tim-Philipp Müller [Mon, 12 Dec 2011 02:31:36 +0000 (02:31 +0000)]
alpha: use new glib API for static mutex if available

6 years agoWork around deprecated thread API in glib master
Tim-Philipp Müller [Mon, 12 Dec 2011 02:30:45 +0000 (02:30 +0000)]
Work around deprecated thread API in glib master

Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.

6 years agoconfigure: Require GLib >= 2.24
Sebastian Dröge [Mon, 12 Dec 2011 09:24:45 +0000 (10:24 +0100)]
configure: Require GLib >= 2.24

All other modules require this already and nobody is testing with
older versions anyway.

6 years agogdkpixbufsink: fix inverted pixel-aspect-ratio
Tim-Philipp Müller [Sun, 11 Dec 2011 18:40:31 +0000 (18:40 +0000)]
gdkpixbufsink: fix inverted pixel-aspect-ratio

Spotted by Mike Morrison.

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

6 years agopulseaudiosink: don't leak pad template
Tim-Philipp Müller [Sun, 11 Dec 2011 17:55:14 +0000 (17:55 +0000)]
pulseaudiosink: don't leak pad template

6 years ago0.10.30.2 pre-release
Tim-Philipp Müller [Sat, 10 Dec 2011 15:13:07 +0000 (15:13 +0000)]
0.10.30.2 pre-release

6 years agosoup: fix start/stop race in souphttpclientsink
Tim-Philipp Müller [Sat, 10 Dec 2011 14:48:57 +0000 (14:48 +0000)]
soup: fix start/stop race in souphttpclientsink

Fix crash or hang in generic/states unit test when doing stop()
right after start(). Create main loop in the start function already
and not just in the thread function, so that stop() always has a
valid main loop to quit on. Also, calling g_main_loop_quit() before
g_main_loop_run() won't work and result in the stop function waiting
for the thread to join forever. Therefore, wait for the thread to
be ready and get the main loop running in the start() function, to
be sure stop() always works.

6 years agotests: dist test file used in matroskaparse unit test
Tim-Philipp Müller [Sat, 10 Dec 2011 13:35:08 +0000 (13:35 +0000)]
tests: dist test file used in matroskaparse unit test

6 years agotests: fix up rgvolume test for basetransform event caching
Tim-Philipp Müller [Sat, 10 Dec 2011 12:32:32 +0000 (12:32 +0000)]
tests: fix up rgvolume test for basetransform event caching

Some tests assumed that tag events would always pushed through
immediately, which isn't the case any longer, so push a newsegment
event and an empty buffer first.

6 years agopo: update translations
Tim-Philipp Müller [Sat, 10 Dec 2011 02:21:02 +0000 (02:21 +0000)]
po: update translations

6 years agojack: don't leak client name when freeing the element
Tim-Philipp Müller [Fri, 9 Dec 2011 15:50:28 +0000 (15:50 +0000)]
jack: don't leak client name when freeing the element

And add gtk-doc chunks for the new property.

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

6 years agojack: add "client-name" property to jackaudiosink and jackaudiosrc
Nicolas Baron [Fri, 9 Dec 2011 15:45:03 +0000 (15:45 +0000)]
jack: add "client-name" property to jackaudiosink and jackaudiosrc

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

6 years agomatroskamux: stream-format=raw goes with aac caps, not mp3 caps
Tim-Philipp Müller [Thu, 8 Dec 2011 11:00:45 +0000 (11:00 +0000)]
matroskamux: stream-format=raw goes with aac caps, not mp3 caps

6 years agov4l2src: do not ignore the highest frame interval
Vincent Penquerc'h [Fri, 2 Dec 2011 12:07:24 +0000 (12:07 +0000)]
v4l2src: do not ignore the highest frame interval

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

6 years agov4l2src: do not ignore the largest resolution
Vincent Penquerc'h [Fri, 2 Dec 2011 11:59:03 +0000 (11:59 +0000)]
v4l2src: do not ignore the largest resolution

The 'max' value isn't an STL style "one after the end" bound,
but the largest allowed value.

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

6 years agodocs: add add the two enum values that were just added too
Stefan Sauer [Tue, 6 Dec 2011 15:47:25 +0000 (16:47 +0100)]
docs: add add the two enum values that were just added too

6 years agomultifilesink: expose the enum property docs for splitting mode.
Stefan Sauer [Tue, 6 Dec 2011 15:14:54 +0000 (16:14 +0100)]
multifilesink: expose the enum property docs for splitting mode.

Fixes #665666.

6 years agov4l2: replace deprecated GST_CLASS_LOCK
Tim-Philipp Müller [Mon, 5 Dec 2011 12:15:21 +0000 (12:15 +0000)]
v4l2: replace deprecated GST_CLASS_LOCK

6 years agortpjpegpay: Ceil jpeg dimensions, instead of floor
Sebastian Rasmussen [Thu, 24 Nov 2011 12:58:01 +0000 (13:58 +0100)]
rtpjpegpay: Ceil jpeg dimensions, instead of floor

A JPEG image inside an RTP stream has a preceeding RFC2435 header that
conveys width/height. The dimensions in this header are limited to be
multiples of 8. Since JPEG uses an MCU of 8x8 pixels any image must
already indirectly have image data dimensions that are rounded up in
order to contain enough data to render the image. Therefore this fix
safely rounds the image dimensions in the RFC2435 header up to the
closest multiple of 8.

6 years agoflacparse: ensure we only check for sample/block mixup at start
Vincent Penquerc'h [Sun, 4 Dec 2011 12:50:57 +0000 (12:50 +0000)]
flacparse: ensure we only check for sample/block mixup at start

Otherwise we might trigger at some point within the file, but the
check is only making sense for the second block.

6 years agomatroskaparse: warn if accumulating headers after they were pushed
Vincent Penquerc'h [Sat, 3 Dec 2011 18:14:59 +0000 (18:14 +0000)]
matroskaparse: warn if accumulating headers after they were pushed

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

6 years agomatroskaparse: fix parsing
David Schleef [Tue, 25 Oct 2011 19:54:43 +0000 (12:54 -0700)]
matroskaparse: fix parsing

Mark more parts as belonging to streamheaders.

6 years agoflvdemux: fix discontinuity threshold check when timestamps go backwards
Vincent Penquerc'h [Sat, 3 Dec 2011 17:30:10 +0000 (17:30 +0000)]
flvdemux: fix discontinuity threshold check when timestamps go backwards

Since unsigned types are used, a negative value would show as very, very
positive.
Fixes A/V sync on some... less than well made files where timestamps go
backwards.

6 years agov4l2src: add a comment about a "hidden" assumption on rank values
Vincent Penquerc'h [Fri, 2 Dec 2011 12:01:22 +0000 (12:01 +0000)]
v4l2src: add a comment about a "hidden" assumption on rank values

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

6 years agotests: fix up LIBS order som more`
Tim-Philipp Müller [Thu, 1 Dec 2011 14:13:05 +0000 (14:13 +0000)]
tests: fix up LIBS order som more`

6 years agomatroska-mux: fix name of new property and the unit test
Tim-Philipp Müller [Thu, 1 Dec 2011 13:22:42 +0000 (13:22 +0000)]
matroska-mux: fix name of new property and the unit test

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

6 years agomultifilesink: add basic buffer list handling
Tim-Philipp Müller [Sun, 25 Sep 2011 13:57:56 +0000 (14:57 +0100)]
multifilesink: add basic buffer list handling

We assume for now that all buffers in a buffer list
should end up in the same file (so we can group GOPs
in buffer lists, for example). Could optimise this
a bit to avoid the memcpy.

6 years agomultifilesink: write stream-headers when switching to the next file in max-size mode
Tim-Philipp Müller [Fri, 23 Sep 2011 17:43:35 +0000 (18:43 +0100)]
multifilesink: write stream-headers when switching to the next file in max-size mode

6 years agomultifilesink: add new 'max-size' mode for switching to the next file
Tim-Philipp Müller [Fri, 23 Sep 2011 17:31:01 +0000 (18:31 +0100)]
multifilesink: add new 'max-size' mode for switching to the next file

6 years agomultifilesink: add "max-file-size" property for new next-file mode
Tim-Philipp Müller [Fri, 23 Sep 2011 16:49:05 +0000 (17:49 +0100)]
multifilesink: add "max-file-size" property for new next-file mode