platform/upstream/gstreamer.git
9 years agovideo-format: fix pack of 4:2:0 formats
Wim Taymans [Thu, 6 Nov 2014 08:34:59 +0000 (09:34 +0100)]
video-format: fix pack of 4:2:0 formats

When packing 4:2:0 formats, we need to take the chroma from the even
lines, for the odd lines we only take luminance.

9 years agovideo-format: fix range extension of UYVP
Wim Taymans [Thu, 6 Nov 2014 08:32:21 +0000 (09:32 +0100)]
video-format: fix range extension of UYVP

We need to shift the top 6 bits to the lower 6 bits

9 years agovideo-chroma: do h subsampling after v subsampling
Wim Taymans [Thu, 6 Nov 2014 08:28:06 +0000 (09:28 +0100)]
video-chroma: do h subsampling after v subsampling

We only need to do the horizontal subsampling on 1 line if we do it
after vertical subsampling and we also avoid doing vertical subsampling
on unused pixels.

9 years agotests: dist header file needed for ABI checks on powerpc32
Tim-Philipp Müller [Thu, 6 Nov 2014 09:39:08 +0000 (09:39 +0000)]
tests: dist header file needed for ABI checks on powerpc32

Fixes 'make check' on debian powerpc32 buildbot:
libs/libsabi.c:95:26: fatal error: struct_ppc32.h: No such file or directory

9 years agotest : fix leaks in adder unit test
Danny Song [Tue, 4 Nov 2014 19:34:44 +0000 (04:34 +0900)]
test : fix leaks in adder unit test

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

9 years agovideo-converter: keep separate lines with border
Wim Taymans [Wed, 5 Nov 2014 10:54:31 +0000 (11:54 +0100)]
video-converter: keep separate lines with border

Make separate with a border around them so that we can avoid a memcpy.

9 years agovideo-scaler: avoid memcpy when not needed
Wim Taymans [Wed, 5 Nov 2014 10:52:21 +0000 (11:52 +0100)]
video-scaler: avoid memcpy when not needed

9 years agovideo-converter: pass output line correctly
Wim Taymans [Wed, 5 Nov 2014 10:51:44 +0000 (11:51 +0100)]
video-converter: pass output line correctly

9 years agovideo-converter: rework the converter to allow more optimizations
Wim Taymans [Tue, 4 Nov 2014 08:30:45 +0000 (09:30 +0100)]
video-converter: rework the converter to allow more optimizations

Rework the converter, keep track of the conversion steps by chaining the
cache objects together. We can then walk the chain and decide the
optimal allocation pattern.
Remove the free function, we're not going to need this anytime soon.
Keep track of what output line we're constructing so that we can let the
allocator return a line directly into the target image when possible.
Directly read from the source pixels when possible.

9 years agovideo-scaler: fix temp line allocation
Wim Taymans [Tue, 4 Nov 2014 10:03:50 +0000 (11:03 +0100)]
video-scaler: fix temp line allocation

We need to allocate the templine with the amount of pixels we are going
to handle, which we only know for the vertical resampler when we are
asked to resample.

9 years agovideo-scaler: fix taps in interlaced mode
Wim Taymans [Tue, 4 Nov 2014 10:02:49 +0000 (11:02 +0100)]
video-scaler: fix taps in interlaced mode

9 years agovideo-scaler: fix phases in interlaced mode
Wim Taymans [Tue, 4 Nov 2014 10:01:52 +0000 (11:01 +0100)]
video-scaler: fix phases in interlaced mode

9 years agovideo-orc: fix v_2tap_u16
Wim Taymans [Tue, 4 Nov 2014 08:29:58 +0000 (09:29 +0100)]
video-orc: fix v_2tap_u16

9 years agovideo-converter: add extra pixels for the border
Wim Taymans [Mon, 3 Nov 2014 15:18:41 +0000 (16:18 +0100)]
video-converter: add extra pixels for the border

We need extra pixels for the border.

9 years agovideo-scaler: add support for 16bits formats
Wim Taymans [Mon, 3 Nov 2014 14:36:26 +0000 (15:36 +0100)]
video-scaler: add support for 16bits formats

Add scaler functions for 16 bits formats.
Rename the scaler functions so that 16bits versions don't look too
weird.
Remove old unused h_2tap functions
Fix v_ntap functions, it was using 1 tap too little.

9 years agovideo-converter: Add support for 16 bits formats
Wim Taymans [Mon, 3 Nov 2014 14:33:24 +0000 (15:33 +0100)]
video-converter: Add support for 16 bits formats

Rework the way we track the current state of the video through the
different conversion phases and use this to make sure we use the right
format and pstride where needed.

9 years agodocs: gst_dmabuf_allocator_alloc: Improve documentation
William Manley [Wed, 22 Oct 2014 12:37:40 +0000 (13:37 +0100)]
docs: gst_dmabuf_allocator_alloc: Improve documentation

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

9 years agovideo-orc: comment out unused function
Wim Taymans [Mon, 3 Nov 2014 09:07:56 +0000 (10:07 +0100)]
video-orc: comment out unused function

A faster version of 4tap horizontal scaling causes segfaults in ORC
presumably because it uses too many registers so disable it to avoid
crashing in the ORC tests.

9 years agosubtitleoverlay: return available factory CAPS instead of ANY on CAPS query
Andreas Frisch [Sun, 2 Nov 2014 20:45:30 +0000 (21:45 +0100)]
subtitleoverlay: return available factory CAPS instead of ANY on CAPS query

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

9 years agovideo-scaler: Fix compiler warning
Sebastian Dröge [Mon, 3 Nov 2014 07:12:44 +0000 (08:12 +0100)]
video-scaler: Fix compiler warning

video-scaler.c:151:58: error: implicit conversion from enumeration type
      'GstVideoScalerFlags' to different enumeration type
      'GstVideoResamplerFlags' [-Werror,-Wenum-conversion]
    gst_video_resampler_init (&scale->resampler, method, flags, out_size,
    ~~~~~~~~~~~~~~~~~~~~~~~~                             ^~~~~

9 years agortp: Do not use deprecated gtk-doc 'Rename to' tag
Luis de Bethencourt [Sat, 1 Nov 2014 20:08:01 +0000 (20:08 +0000)]
rtp: Do not use deprecated gtk-doc 'Rename to' tag

GObject introspection GTK-Doc tag "Rename to" has been deprecated, changing to
rename-to annotation.

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

9 years agovideo: fix some g-i / gtk-doc warnings
Tim-Philipp Müller [Sat, 1 Nov 2014 14:58:13 +0000 (14:58 +0000)]
video: fix some g-i / gtk-doc warnings

9 years agovideo: update disted orc backup functions
Tim-Philipp Müller [Sat, 1 Nov 2014 14:47:26 +0000 (14:47 +0000)]
video: update disted orc backup functions

Fixes build without orc.

9 years agovideo: add video blend helper functions to docs
Tim-Philipp Müller [Sat, 1 Nov 2014 14:28:55 +0000 (14:28 +0000)]
video: add video blend helper functions to docs

I don't think those were ever meant to be made public,
but they are, so we might as well document them.

9 years agovideo-scaler: ORCify vertical ntap function
Wim Taymans [Sat, 1 Nov 2014 12:14:32 +0000 (13:14 +0100)]
video-scaler: ORCify vertical ntap function

9 years agovideo-scaler: handle 4tap interlaced
Wim Taymans [Sat, 1 Nov 2014 11:58:01 +0000 (12:58 +0100)]
video-scaler: handle 4tap interlaced

9 years agovideo-orc: update dist files
Wim Taymans [Fri, 31 Oct 2014 15:53:06 +0000 (16:53 +0100)]
video-orc: update dist files

9 years agovideo-scaler: add ORC optimized ntap horizontal scalers
Wim Taymans [Fri, 31 Oct 2014 15:49:43 +0000 (16:49 +0100)]
video-scaler: add ORC optimized ntap horizontal scalers

9 years agotests/playback: quit from main loop
Ravi Kiran K N [Wed, 29 Oct 2014 10:58:28 +0000 (16:28 +0530)]
tests/playback: quit from main loop

Listen for eos and error signal to quit main loop.

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

9 years agotests/playback: correct state change checking
Ravi Kiran K N [Wed, 29 Oct 2014 10:56:07 +0000 (16:26 +0530)]
tests/playback: correct state change checking

Correct the test apps check if result of state change is not failure as the
state change can happen async

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

9 years agovideo: Update disted orc files for new functions.
Jan Schmidt [Fri, 31 Oct 2014 11:52:43 +0000 (22:52 +1100)]
video: Update disted orc files for new functions.

Fixes the build when building without ORC

9 years agovideo-converter: align offsets to subsampling
Wim Taymans [Fri, 31 Oct 2014 10:07:06 +0000 (11:07 +0100)]
video-converter: align offsets to subsampling

Only apply an offset that is a multiple of the subsampling. To handle
arbitrary offsets in the future, we need to be able to chroma-resample
part of the borders.

9 years agovideo-converter: clamp output lines
Wim Taymans [Fri, 31 Oct 2014 09:38:15 +0000 (10:38 +0100)]
video-converter: clamp output lines

9 years agovideo-format: add alignment checks
Wim Taymans [Fri, 31 Oct 2014 09:34:46 +0000 (10:34 +0100)]
video-format: add alignment checks

Some of the ORC functions need specific alignment

9 years agovideo-scaler: fix offset check
Wim Taymans [Fri, 31 Oct 2014 09:33:42 +0000 (10:33 +0100)]
video-scaler: fix offset check

9 years agovideo-converter: also chroma up/downsample when scaling
Wim Taymans [Thu, 30 Oct 2014 17:41:01 +0000 (18:41 +0100)]
video-converter: also chroma up/downsample when scaling

9 years agovideo-converter: clamp input lines correctly
Wim Taymans [Thu, 30 Oct 2014 17:40:43 +0000 (18:40 +0100)]
video-converter: clamp input lines correctly

9 years agovideo-scaler: fix build without orc
Tim-Philipp Müller [Thu, 30 Oct 2014 23:53:39 +0000 (23:53 +0000)]
video-scaler: fix build without orc

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

9 years agovideo-converter: add border color
Wim Taymans [Thu, 30 Oct 2014 16:30:33 +0000 (17:30 +0100)]
video-converter: add border color

9 years agovideo-converter: add support for src/dest regions
Wim Taymans [Thu, 30 Oct 2014 15:57:20 +0000 (16:57 +0100)]
video-converter: add support for src/dest regions

Add support for cropping the source and placing the converted image
into a rectangle in the destination frame.
Add an option to add a border and border color.

9 years agovorbisenc: push an updated segment stop time when we know it
Vincent Penquerc'h [Thu, 5 Jun 2014 13:50:15 +0000 (14:50 +0100)]
vorbisenc: push an updated segment stop time when we know it

When encoding, libvorbis will tell us how many samples are encoded
in the buffer it returns. This number may be less than the maximum
of samples in the block, if this is the last packet. In we have no
segment end time, we set it to the end time of that last sample to
tell downstream that the buffer contains less samples.

9 years agooggmux: set correct granpos on last page when samples are clipped
Vincent Penquerc'h [Thu, 5 Jun 2014 13:54:31 +0000 (14:54 +0100)]
oggmux: set correct granpos on last page when samples are clipped

Samples may be clipped at the end, and this is conveyed by a
granulepos that's smaller than it would otherwise be. Use the
segment stop time to detect this, and calculate the right
granulepos.

9 years agooggdemux: fix last buffer timestamp when samples are clipped
Vincent Penquerc'h [Thu, 5 Jun 2014 10:26:08 +0000 (11:26 +0100)]
oggdemux: fix last buffer timestamp when samples are clipped

The end of a stream can be clipped by setting the granulepos of
the last page to a lower value that it otherwise would be.

9 years agotests: fix test
Wim Taymans [Thu, 30 Oct 2014 13:48:45 +0000 (14:48 +0100)]
tests: fix test

9 years agogst-discoverer: error out on failure to copy
Vincent Penquerc'h [Fri, 3 Oct 2014 11:42:46 +0000 (12:42 +0100)]
gst-discoverer: error out on failure to copy

This should not really fail, but let's check return value
anyway as it guards against future changes.

Coverity 1135731

9 years agortpbuffer: add a const where appropriate
Vincent Penquerc'h [Fri, 3 Oct 2014 11:28:30 +0000 (12:28 +0100)]
rtpbuffer: add a const where appropriate

9 years agotypefind: remove unneeded test
Vincent Penquerc'h [Fri, 3 Oct 2014 11:08:05 +0000 (12:08 +0100)]
typefind: remove unneeded test

We've already bailed out if we have less than 5 bytes.

Coverity 1226441

9 years agoUpdate libgstvideo.def for resampler -> video_resample renaming
Tim-Philipp Müller [Thu, 30 Oct 2014 11:33:17 +0000 (11:33 +0000)]
Update libgstvideo.def for resampler -> video_resample renaming

9 years agovideo-scaler: add more ORC functions
Wim Taymans [Thu, 30 Oct 2014 10:46:14 +0000 (11:46 +0100)]
video-scaler: add more ORC functions

Add the old ORC functions for nearest and linear. Label them as Low
quality because they are not as accurate but ORC lacks opcodes to
express this for now.

9 years agovideo-scaler: rename resampler to video-resampler
Wim Taymans [Thu, 30 Oct 2014 10:43:52 +0000 (11:43 +0100)]
video-scaler: rename resampler to video-resampler

Prefix the resampler with video-. It we would like to reuse the
resampler for audio later, we can copy/move it and deprecate this
one.

9 years agovideo-scaler: remove color range argument
Wim Taymans [Wed, 29 Oct 2014 16:38:33 +0000 (17:38 +0100)]
video-scaler: remove color range argument

We just need to clip to the format limits, if there is extra headroom in
the range we can use that without problems.

9 years agodefs: update defs
Wim Taymans [Wed, 29 Oct 2014 16:14:51 +0000 (17:14 +0100)]
defs: update defs

9 years agovideo-scaler: add ORC optimized versions
Wim Taymans [Wed, 29 Oct 2014 15:20:56 +0000 (16:20 +0100)]
video-scaler: add ORC optimized versions

Add ORC optimized versions of 2 and 4tap vertical scaling. Provide
a high quality 12 bits and a low quality 6 bits version.

9 years agovideo-scaler: add precision to make_s16_taps
Wim Taymans [Wed, 29 Oct 2014 15:13:02 +0000 (16:13 +0100)]
video-scaler: add precision to make_s16_taps

9 years agovideo-converter: copy config fields
Wim Taymans [Wed, 29 Oct 2014 12:19:00 +0000 (13:19 +0100)]
video-converter: copy config fields

When setting a new config, copy all the fields into our own config and
not only the ones we know about.

9 years agoresampler: make offset/phase/n_taps uint32
Wim Taymans [Wed, 29 Oct 2014 12:17:39 +0000 (13:17 +0100)]
resampler: make offset/phase/n_taps uint32

Make various resizer fields uint32 so that we can use them in ORC
functions later.

9 years agovideo-converter: don't convert too much
Wim Taymans [Mon, 27 Oct 2014 10:59:14 +0000 (11:59 +0100)]
video-converter: don't convert too much

Always convert the smallest width.

9 years agoresampler: make shift easier to use
Wim Taymans [Mon, 27 Oct 2014 09:13:47 +0000 (10:13 +0100)]
resampler: make shift easier to use

9 years agoresampler: add parameters to cubic filter
Wim Taymans [Sun, 26 Oct 2014 04:58:56 +0000 (05:58 +0100)]
resampler: add parameters to cubic filter

Improve cubic filter and add parameters. Switch to mitchell filter
by default.

9 years agovideo-scaler: add extra options
Wim Taymans [Fri, 24 Oct 2014 14:51:37 +0000 (16:51 +0200)]
video-scaler: add extra options

9 years agovideo-converter: define some options
Wim Taymans [Fri, 24 Oct 2014 14:42:11 +0000 (16:42 +0200)]
video-converter: define some options

9 years agoresampler: add some options
Wim Taymans [Fri, 24 Oct 2014 14:23:53 +0000 (16:23 +0200)]
resampler: add some options

9 years agoresampler: limit max number of taps
Wim Taymans [Fri, 24 Oct 2014 13:42:31 +0000 (15:42 +0200)]
resampler: limit max number of taps

Don't use more taps than the input size.

9 years agovideo-converter: add scaling support
Wim Taymans [Fri, 24 Oct 2014 13:28:22 +0000 (15:28 +0200)]
video-converter: add scaling support

Add scaling support for the video-converter object

9 years agovideo-scaler: add video scaler helper object
Wim Taymans [Fri, 24 Oct 2014 13:25:33 +0000 (15:25 +0200)]
video-scaler: add video scaler helper object

Add a video scaler object build on top of the resampler. It has
implementation to deal with interlaced video as well as horizontal and
vertical scaling functions.

9 years agovideo: add generic resampler
Wim Taymans [Fri, 24 Oct 2014 11:01:12 +0000 (13:01 +0200)]
video: add generic resampler

Add an object that can generate a set of resample filter coefficients.

9 years agovideo-converter: rework the generic converter function
Wim Taymans [Fri, 24 Oct 2014 10:11:43 +0000 (12:11 +0200)]
video-converter: rework the generic converter function

Use a LineCache object to track and process lines between unpack,
upsample, convert, downsample and pack stages. This simplifies the
main core processing function a lot and allows for future additions
easily.

Add support for interlaced formats in chroma up and downsampling.

9 years agovideo-convert: swap src and dest
Wim Taymans [Fri, 24 Oct 2014 09:45:13 +0000 (11:45 +0200)]
video-convert: swap src and dest

It is more natural and consistent with other uses.

9 years agovideo-chroma: fix typo
Wim Taymans [Fri, 24 Oct 2014 09:35:31 +0000 (11:35 +0200)]
video-chroma: fix typo

9 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 27 Oct 2014 16:56:51 +0000 (17:56 +0100)]
Automatic update of common submodule

From 84d06cd to 7bb2bce

9 years agovideo-blend: segfault when xpos >= video size
Vineeth T M [Thu, 23 Oct 2014 09:11:13 +0000 (14:41 +0530)]
video-blend: segfault when xpos >= video size

When the xpos is given as greater than or equal to the video size,
we get a segfault, due to improper condition.
Hence adding proper conditions.

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

9 years agobasetextoverlay: segfault when xpos >= video size
Vineeth T M [Thu, 23 Oct 2014 09:08:07 +0000 (14:38 +0530)]
basetextoverlay: segfault when xpos >= video size

When the xpos is given as greater than or equal to the video size,
we get a segfault, due to improper condition.
Hence adding proper conditions.

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

9 years agoexamples: add new appsink example to .gitignore
Tim-Philipp Müller [Sun, 26 Oct 2014 21:31:36 +0000 (21:31 +0000)]
examples: add new appsink example to .gitignore

9 years agoRevert "decodebin: fix the autoplugging of parser elements"
Sebastian Dröge [Sun, 26 Oct 2014 10:04:47 +0000 (11:04 +0100)]
Revert "decodebin: fix the autoplugging of parser elements"

This reverts commit 2b0d3927410ae24e6b0fce100bd4ebbbe805a66f.

This breaks cases where an actual second parser is required after the parser,
e.g. to do timestamp corrections.

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

9 years agoRevert "decodebin: Fix locking"
Sebastian Dröge [Sun, 26 Oct 2014 10:04:38 +0000 (11:04 +0100)]
Revert "decodebin: Fix locking"

This reverts commit aa94d5dc9aa6ef381da6b60a67f218117c662958.

9 years agotests: fix playbin-complex test on big endian
Tim-Philipp Müller [Fri, 24 Oct 2014 12:09:42 +0000 (13:09 +0100)]
tests: fix playbin-complex test on big endian

9 years agotests: fix expected GstRTSPTimeRange structure size for ABI test for ppc32
Tim-Philipp Müller [Fri, 24 Oct 2014 12:04:07 +0000 (13:04 +0100)]
tests: fix expected GstRTSPTimeRange structure size for ABI test for ppc32

Also see https://bugzilla.gnome.org/show_bug.cgi?id=695276

9 years agotests: fix adder check on big-endian
Tim-Philipp Müller [Fri, 24 Oct 2014 11:26:40 +0000 (12:26 +0100)]
tests: fix adder check on big-endian

9 years agortsp: use generic marshaller
Tim-Philipp Müller [Fri, 24 Oct 2014 09:17:47 +0000 (10:17 +0100)]
rtsp: use generic marshaller

9 years agobasetextoverlay: Make GstBaseTextOverlay::font-desc readable
Thibault Saunier [Thu, 23 Oct 2014 09:22:35 +0000 (11:22 +0200)]
basetextoverlay: Make GstBaseTextOverlay::font-desc readable

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 21 Oct 2014 12:01:16 +0000 (13:01 +0100)]
Automatic update of common submodule

From a8c8939 to 84d06cd

9 years agodecodebin: Fix locking
Sebastian Dröge [Tue, 21 Oct 2014 11:30:27 +0000 (13:30 +0200)]
decodebin: Fix locking

The chain mutex needs to be locked when looking at chain->elements. Move code
around a bit to require only one lock() and unlock().

9 years agodecodebin: fix the autoplugging of parser elements
Sreerenj Balachandran [Tue, 21 Oct 2014 09:58:41 +0000 (12:58 +0300)]
decodebin: fix the autoplugging of parser elements

If there are two parser elements available for the same media format,
then decodebin is autoplugging an extra capsfilter and parser irrespective
of caps and rank. So restrict the decodebin from autoplugging multiple parser
elements back to back in adjacent positions with in a single DecodeChain
for the same media format.

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

9 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 21 Oct 2014 10:57:59 +0000 (12:57 +0200)]
Automatic update of common submodule

From 6e75498 to a8c8939

9 years agovideotestsrc: assertion error
Vineeth T M [Tue, 21 Oct 2014 09:13:30 +0000 (14:43 +0530)]
videotestsrc: assertion error

timestamp_offset is being declared as an int64 variable,
for which the min
value of G_MININT64 is -9223372036854775808
Changing the minimum and maximum limit for the offset variable.

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

9 years agodecodebin: optimize the code a bit by avoiding unnecessary string comparisons
Sreerenj Balachandran [Sun, 12 Oct 2014 21:03:55 +0000 (00:03 +0300)]
decodebin: optimize the code a bit by avoiding unnecessary string comparisons

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

9 years agodecodebin: Fix typo in comment
Sreerenj Balachandran [Sun, 12 Oct 2014 21:03:20 +0000 (00:03 +0300)]
decodebin: Fix typo in comment

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

9 years agortspconnection: call watch notify before freeing any watch resources
Aleix Conchillo Flaqué [Wed, 1 Oct 2014 22:04:09 +0000 (15:04 -0700)]
rtspconnection: call watch notify before freeing any watch resources

This gives control to the notify function allowing it to finish other
watch related functionality.

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

9 years agoappsink: Fix gst_app_sink_pull() docs to transfer full for the return value
Sebastian Dröge [Mon, 20 Oct 2014 13:31:29 +0000 (15:31 +0200)]
appsink: Fix gst_app_sink_pull() docs to transfer full for the return value

Also we get a GstSample, not a GstBuffer here.

9 years agotypefind: use gslice for typefine data
Stefan Sauer [Fri, 17 Oct 2014 10:10:44 +0000 (12:10 +0200)]
typefind: use gslice for typefine data

Also use our free function in the failure case.

9 years agoencodebin: fix some leaks in error code path
Tim-Philipp Müller [Mon, 13 Oct 2014 14:58:56 +0000 (15:58 +0100)]
encodebin: fix some leaks in error code path

Fixes test_encodebin_sink_pads_nopreset_static
running under valgrind.

9 years agotests: parallelise 'make valgrind'
Tim-Philipp Müller [Mon, 13 Oct 2014 04:08:41 +0000 (05:08 +0100)]
tests: parallelise 'make valgrind'

Use $(MAKE) instead of 'make' inside the Makefile,
otherwise the make will run as if -j1 had been
specified and complain about the job server not
being available, and with $(MAKE) in inherits the
parent make's settings it seems.

Upgrade common submodule for parallel check-valgrind.

9 years agoriff-media: allow more channel_masks
Peter G. Baum [Fri, 3 Oct 2014 10:57:52 +0000 (12:57 +0200)]
riff-media: allow more channel_masks

Allow partial valid channel masks.
Set channel mask to 0 for non-valid channel masks.

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

9 years agoaudio-channels: allow partially valid channel_mask
Peter G. Baum [Fri, 3 Oct 2014 10:54:17 +0000 (12:54 +0200)]
audio-channels: allow partially valid channel_mask

Since WAVEFORMATEXTENSIBLE allows to have more channels than
bits in the channel mask we should allow this, too, to avoid
loss of information.

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

9 years agoaudiodecoder: should post DECODE errors and not ENCODE
Thiago Santos [Tue, 14 Oct 2014 01:24:31 +0000 (22:24 -0300)]
audiodecoder: should post DECODE errors and not ENCODE

Fix error code for audio decoder

9 years agovideoblend: Avoid assigning a negative value to a guint
Luis de Bethencourt [Fri, 10 Oct 2014 17:49:29 +0000 (18:49 +0100)]
videoblend: Avoid assigning a negative value to a guint

There are some few but certain conditions where it is possible for the
dest_width to be smaller than x. So we check this before assigning a negative
value to src_width, which is a unsigned and would be promoted to a number that
can segfault videoblend.

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

9 years agobasetextoverlay: Fix segfault when overlay outside the frame
Luis de Bethencourt [Fri, 10 Oct 2014 04:35:19 +0000 (10:05 +0530)]
basetextoverlay: Fix segfault when overlay outside the frame

When the textoverlay is set outside the video frame by deltax or deltay the
calculation segfaults, but it is also  unnecessary since it doesn't need to be
displayed. So we should clip the text.

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

9 years agopbutils: Rename clock-base/seqnum-base to timestamp-offset/seqnum-offset
Olivier Crête [Fri, 10 Oct 2014 21:32:41 +0000 (17:32 -0400)]
pbutils: Rename clock-base/seqnum-base to timestamp-offset/seqnum-offset

To match how they were renamed elsewhere.

9 years agoplaysink: Use correct property enum value for video-filter property installation
Heinrich Fink [Fri, 10 Oct 2014 09:14:17 +0000 (12:14 +0300)]
playsink: Use correct property enum value for video-filter property installation

9 years agovideoscale: remove FIXME about NV21 support
Luis de Bethencourt [Wed, 8 Oct 2014 15:50:52 +0000 (16:50 +0100)]
videoscale: remove FIXME about NV21 support

NV21 is already supported so removing FIXME about adding support for it.