platform/upstream/gstreamer.git
8 years agortpj2kdepay: Push one JPEG2000 frame per buffer, not a buffer list with multiple...
Vincent Dehors [Thu, 17 Dec 2015 15:03:04 +0000 (16:03 +0100)]
rtpj2kdepay: Push one JPEG2000 frame per buffer, not a buffer list with multiple buffers

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

8 years agodv1394: log error if failed to set socket status flag
Luis de Bethencourt [Wed, 16 Dec 2015 11:43:58 +0000 (11:43 +0000)]
dv1394: log error if failed to set socket status flag

Log an error message if failed to set write or read socket as
non-blocking.

CID 1139608
CID 1139609

8 years agoaudioparsers: Check for NULL return value of gst_pad_get_current_caps()
Dave Craig [Tue, 15 Dec 2015 17:10:00 +0000 (17:10 +0000)]
audioparsers: Check for NULL return value of gst_pad_get_current_caps()

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

8 years agodocs: update to git
Sebastian Dröge [Wed, 16 Dec 2015 08:35:53 +0000 (09:35 +0100)]
docs: update to git

8 years agovpx: Add missing headers in Makefile.am
Nicolas Dufresne [Tue, 15 Dec 2015 19:27:22 +0000 (14:27 -0500)]
vpx: Add missing headers in Makefile.am

This fixes distcheck.

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

8 years agovpx: created common baseclass GstVPXEnc
Prashant Gotarne [Thu, 24 Sep 2015 07:27:00 +0000 (12:57 +0530)]
vpx: created common baseclass GstVPXEnc

GstVP8Enc and GstVP9Enc has almost 80% code in common.
created common baseclass GstVPXEnc for GstVP8Enc and GstVP9Enc

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

8 years agovpxdec: Remove unneeded add video_meta
Nicolas Dufresne [Tue, 15 Dec 2015 17:57:53 +0000 (12:57 -0500)]
vpxdec: Remove unneeded add video_meta

This also remove copies for VP8, which was not correctly in place
in previous related patch.

8 years agovpx: created common base class GstVPXdec for vpx decoders
Prashant Gotarne [Tue, 15 Dec 2015 04:19:24 +0000 (09:49 +0530)]
vpx: created common base class GstVPXdec for vpx decoders

Base class for the vp8dec and vp9dec.

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

8 years agosouphttpsrc: Add GTlsInteraction property
Xavier Claessens [Wed, 10 Jun 2015 13:17:08 +0000 (09:17 -0400)]
souphttpsrc: Add GTlsInteraction property

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

8 years agortspsrc: Retry connection if tunneling needs authentication
Evan Callaway [Mon, 14 Dec 2015 14:05:06 +0000 (09:05 -0500)]
rtspsrc: Retry connection if tunneling needs authentication

Leverage response from gst_rtsp_connection_connect_with_response to
determine if the connection should be retried using authentication.  If
so, add the appropriate authentication headers based upon the response
and retry the connection.

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

8 years agortspsrc: check port-range format
Luis de Bethencourt [Mon, 14 Dec 2015 14:19:05 +0000 (14:19 +0000)]
rtspsrc: check port-range format

The string could exist but with a wrong format, in that case we still want
to reset the values of client_port_range.min and max like we do if there is
no string.

CID 1139593

8 years agodirectsoundsink: Check device property and fail if device can't be found
Thomas Roos [Mon, 14 Dec 2015 13:55:12 +0000 (14:55 +0100)]
directsoundsink: Check device property and fail if device can't be found

Don't use default if a specific device is set but it can't be found.

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

8 years agodirectsoundsink: Fix handling of the mute property
Thomas Roos [Mon, 14 Dec 2015 13:15:00 +0000 (14:15 +0100)]
directsoundsink: Fix handling of the mute property

- set mute value at startup
- correct set and get mute functions

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

8 years agodirectsoundsink: Check the return value of GetStatus() too to decide if there was...
Thomas Roos [Fri, 11 Dec 2015 10:23:13 +0000 (11:23 +0100)]
directsoundsink: Check the return value of GetStatus() too to decide if there was an error

If GetStatus() fails, the status itself won't be very meaningful but we also
have to look at its return value. This fixes blocking pipelines when removing
sound devices or during other errors, where we wouldn't notice the error and
then wait forever.

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

8 years agoisomp4: remove unused parameters in build_*_extension
Luis de Bethencourt [Thu, 10 Dec 2015 17:41:46 +0000 (17:41 +0000)]
isomp4: remove unused parameters in build_*_extension

AtomTRAK parameter is not used by build_mov_alac_extension(),
build_jp2h_extension(), or build_mov_alac_extension()  and can be
removed.

8 years agoisomp4: replace variable only used once
Luis de Bethencourt [Thu, 10 Dec 2015 15:11:07 +0000 (15:11 +0000)]
isomp4: replace variable only used once

Replace has_shift variable with value since it is only use once.

8 years agortpjitterbuffer: Fix packet dropping after a big discont
Sebastian Dröge [Wed, 9 Dec 2015 10:24:09 +0000 (12:24 +0200)]
rtpjitterbuffer: Fix packet dropping after a big discont

We would queue 5 consective packets before considering a reset and a proper
discont here. Instead of expecting the next output packet to have the current
seqnum (i.e. the fifth), expect it to have the first seqnum. Otherwise we're
going to drop all queued up packets.

8 years agointerleave: Remove unsed field
Ravi Kiran K N [Wed, 9 Dec 2015 06:19:02 +0000 (11:49 +0530)]
interleave: Remove unsed field

Remove unused field collect_event in interleave.

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

8 years agoqtdemux: Stop pushing data as soon as possible in push-mode
Edward Hervey [Mon, 7 Dec 2015 15:33:14 +0000 (16:33 +0100)]
qtdemux: Stop pushing data as soon as possible in push-mode

When working in push-mode, we attempt to push out everything currently
buffered in the adapter.

This has two pitfalls:
* We could stop earlier (the moment we get a non-ok or non-not-linked)
* We return the last combined flow return, which might be completely
  different from the previous combined flow return

8 years agoAutomatic update of common submodule
Nicolas Dufresne [Mon, 7 Dec 2015 14:08:09 +0000 (09:08 -0500)]
Automatic update of common submodule

From b319909 to 86e4663

8 years agortpsession: Add a warning if an empty RTCP packet is tried to be sent
Sebastian Dröge [Mon, 7 Dec 2015 12:41:51 +0000 (14:41 +0200)]
rtpsession: Add a warning if an empty RTCP packet is tried to be sent

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

8 years agovpxdec: Use GstMemory to avoid copies
Nicolas Dufresne [Tue, 1 Dec 2015 00:20:13 +0000 (19:20 -0500)]
vpxdec: Use GstMemory to avoid copies

With the VPX decoders it's not simple to use downstream buffer pool,
because we don't know the image size and alignment when buffers get
allocated. We can though use GstAllocator (for downstream, or the system
allocator) to avoid a copy before pushing if downstream supports
GstVideoMeta. This would still cause a copy for sink that requires
specialized memory and does not have a GstAllocator for that, though
it will greatly improve performance for sink like glimagesink and
cluttersink. To avoid allocating for every buffer, we also use a
internal buffer pool.

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

8 years agoaacparse: Avoid over-skipping when checking LOAS config
Edward Hervey [Mon, 30 Nov 2015 07:42:35 +0000 (08:42 +0100)]
aacparse: Avoid over-skipping when checking LOAS config

There might be multiple LOAS config in a row in a full frame. The first
one might be a multi-layer config (which we can't properly parse yet)...
but then followed by a valid (single-layer) one.

The code was previously skipping whole frames (instead of just the LOAS
config we failed to read) resulting in multiple frames (seen up to 6s in
some situation) being dropped before finally getting the configuration.

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

8 years agoavidemux: Properly set SPARSE stream flags for subpicture/subtitle
Edward Hervey [Wed, 25 Nov 2015 16:08:56 +0000 (17:08 +0100)]
avidemux: Properly set SPARSE stream flags for subpicture/subtitle

And while we're at it, also detect 'DXSA' as being a variant fourcc
of 'DXSB' for XSUB

8 years agotests: souphttpsrc: grammar fix
Reynaldo H. Verdejo Pinochet [Tue, 1 Dec 2015 05:23:52 +0000 (21:23 -0800)]
tests: souphttpsrc: grammar fix

8 years agotests: souphttpsrc: switch shoutcast stream provider
Reynaldo H. Verdejo Pinochet [Tue, 1 Dec 2015 05:01:17 +0000 (21:01 -0800)]
tests: souphttpsrc: switch shoutcast stream provider

Fixes failing ICY test. Previous provider has
streaming disabled outside UK.

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

8 years agoavimux: don't crash if we never got audio caps before stopping
Michael Olbrich [Wed, 18 Nov 2015 15:10:11 +0000 (16:10 +0100)]
avimux: don't crash if we never got audio caps before stopping

auds.blockalign is set once the first caps arrive. If
gst_avi_mux_stop_file() is called before this happens then auds.blockalign
is zero and gst_avi_mux_audsink_set_fields() cause a crash:
[...]
avipad->parent.hdr.rate = avipad->auds.av_bps / avipad->auds.blockalign;
[...]

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

8 years agov4l2bufferpool: don't block when resurecting a buffer
Wim Taymans [Tue, 1 Dec 2015 17:20:23 +0000 (18:20 +0100)]
v4l2bufferpool: don't block when resurecting a buffer

When we are resurecting a buffer, don't block. instead let us copy a
buffer.

8 years agowavparse: remove extra variable to improve readability
Thiago Santos [Tue, 1 Dec 2015 03:30:08 +0000 (00:30 -0300)]
wavparse: remove extra variable to improve readability

Makes it easier to see that the event is being replaced/unrefed

8 years agowavparse: respect seqnum in seek events
Thiago Santos [Tue, 1 Dec 2015 03:22:36 +0000 (00:22 -0300)]
wavparse: respect seqnum in seek events

Propagate the original seek seqnum to events originated from
seeking to make sure they have the same value

8 years agowavparse: flush upstream when seeking in pull mode
Thiago Santos [Tue, 1 Dec 2015 03:03:21 +0000 (00:03 -0300)]
wavparse: flush upstream when seeking in pull mode

Makes sure upstream will unblock and return the thread so that
seeking can continue

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

8 years agortph264pay: add "send SPS/PPS with every key frame" mode
Anton Bondarenko [Fri, 27 Nov 2015 08:27:29 +0000 (09:27 +0100)]
rtph264pay: add "send SPS/PPS with every key frame" mode

It's not enough to have timeout or event based SPS/PPS information sent
in RTP packets. There are some scenarios when key frames may appear
more frequently than once a second, in which case the minimum timeout
for "config-interval" of 1 second for sending SPS/PPS is not sufficient.
It might also be desirable in general to make sure the SPS/PPS is
available with every keyframe (packet loss aside), so receivers can
actually pick up decoding immediately from the first keyframe if
SPS/PPS is not signaled out of band.

This patch adds the possibility to send SPS/PPS with every key frame. This
mode can be enabled by setting "config-interval" property to -1. In this
case the payloader will add SPS and PPS before every key (IDR) frame.

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

8 years agortph264pay: change config-interval property type from uint to int
Tim-Philipp Müller [Fri, 27 Nov 2015 08:03:51 +0000 (09:03 +0100)]
rtph264pay: change config-interval property type from uint to int

This way we can use -1 as special value, which is nicer than MAXUINT.
This is backwards compatible even with the GValue API, as shown by
a unit test.

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

8 years agoqtdemux: add support for Opus
Luis de Bethencourt [Thu, 26 Nov 2015 21:46:11 +0000 (21:46 +0000)]
qtdemux: add support for Opus

Add support for demuxing Opus encapsulated in MP4 files, based on the
following spec: https://www.opus-codec.org/docs/opus_in_isobmff.html

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

8 years agoqtdemux: use macro for codec_name
Luis de Bethencourt [Wed, 25 Nov 2015 22:48:32 +0000 (22:48 +0000)]
qtdemux: use macro for codec_name

Use _codec() macro instead of duplicating code.

8 years agov4l2: videodec: choose format from caps
Philipp Zabel [Wed, 25 Mar 2015 15:32:55 +0000 (16:32 +0100)]
v4l2: videodec: choose format from caps

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

8 years agov4l2: add gst_v4l2_object_probe_caps
Philipp Zabel [Fri, 27 Mar 2015 14:02:33 +0000 (15:02 +0100)]
v4l2: add gst_v4l2_object_probe_caps

Add a variant of gst_v4l2_object_get_caps that bypasses the probed_caps cache.

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

8 years agov4l2-probe: Skip devices without supported formats
Nicolas Dufresne [Thu, 19 Nov 2015 22:20:55 +0000 (17:20 -0500)]
v4l2-probe: Skip devices without supported formats

8 years agov4l2: Track /dev/video* to triggered required probe
Nicolas Dufresne [Fri, 13 Nov 2015 17:35:59 +0000 (12:35 -0500)]
v4l2: Track /dev/video* to triggered required probe

If something in /dev/video* get added, removed or replaced, we need to
probe the devices again in order to ensure the dynamic devices are up to
date.

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

8 years agortpmanager: rtpsession: don't send empty RTCP packets
Alessandro Decina [Wed, 25 Nov 2015 03:51:40 +0000 (14:51 +1100)]
rtpmanager: rtpsession: don't send empty RTCP packets

generate_rtcp can produce empty packets when reduced size RTCP is turned on.
Skip them since it doesn't make sense to push them and they cause errors with
elements that expect RTCP packets to contain data (like srtpenc).

8 years agoqtdemux: restore the segment on case of soft reset
Thiago Santos [Tue, 24 Nov 2015 13:57:28 +0000 (10:57 -0300)]
qtdemux: restore the segment on case of soft reset

When seeking back to restore the mdat position a flush is pushed
through and it resets downstream segment information. Make sure
that after the flush (that does a soft reset) a segment will
be pushed again

Fixes regressions spotted at
https://ci.gstreamer.net/job/GStreamer-master-validate/2100/

8 years agomultifilesink: fix spelling of variable
Graham Leggett [Fri, 20 Nov 2015 12:44:22 +0000 (12:44 +0000)]
multifilesink: fix spelling of variable

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

8 years agoqtdemux: unite duplicate FourCC
Luis de Bethencourt [Fri, 20 Nov 2015 11:05:51 +0000 (11:05 +0000)]
qtdemux: unite duplicate FourCC

Unite in fourcc.h the FourCCs that are used twice or more in qtdemux

8 years agov4l2: Fix capture/output-io-mode properties
Nicolas Dufresne [Thu, 19 Nov 2015 20:33:45 +0000 (15:33 -0500)]
v4l2: Fix capture/output-io-mode properties

There was some miss-match in the implementation. This makes it
concistent, though functionally it worked, except the video decoder
output-io-mode getter.

8 years agoatoms: remove unused argument of build_mov_wave_extension()
Luis de Bethencourt [Thu, 19 Nov 2015 19:48:06 +0000 (19:48 +0000)]
atoms: remove unused argument of build_mov_wave_extension()

AtomTrak * trak argument of build_move_wave_extension() isn't used.
Removing it.

8 years agoqtdemux: remove duplicate FourCC
Luis de Bethencourt [Thu, 19 Nov 2015 19:28:20 +0000 (19:28 +0000)]
qtdemux: remove duplicate FourCC

Use the available FourCCs in fourcc.h instead of duplicating them.

8 years agoisomp4: centralize all FourCC
Luis de Bethencourt [Thu, 19 Nov 2015 18:36:39 +0000 (18:36 +0000)]
isomp4: centralize all FourCC

10 FourCCs generated with GST_MAKE_FOURCC() in gstqtmux.c and atoms.c
already exist in fourcc.h. Don't duplicate these and use them directly.
Plus moving 6 to fourcc.h, to centralize them all.

8 years agomatroska/webmmux: fix outdated example launch lines
Luis de Bethencourt [Thu, 19 Nov 2015 17:32:12 +0000 (17:32 +0000)]
matroska/webmmux: fix outdated example launch lines

Update gst-launch-0.10 lines to gst-launch-1.0

8 years agoisomp4: add support for Opus in mp4mpux
Luis de Bethencourt [Mon, 16 Nov 2015 13:26:50 +0000 (13:26 +0000)]
isomp4: add support for Opus in mp4mpux

Add support for muxing MP4 files containing Opus. Based on the spec
detailed here:
https://www.opus-codec.org/docs/opus_in_isobmff.html

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

8 years agoqtdemux: Replace tabs with spaces
Sebastian Dröge [Wed, 18 Nov 2015 17:10:56 +0000 (19:10 +0200)]
qtdemux: Replace tabs with spaces

8 years agoqtdemux: Cast to signed integers to prevent unsigned compare between negative and...
Sebastian Dröge [Wed, 18 Nov 2015 17:07:53 +0000 (19:07 +0200)]
qtdemux: Cast to signed integers to prevent unsigned compare between negative and positive numbers

This fixes seeking if the first entries in the samples table are negative. The
binary search would always fail on this as the array would not be sorted if
interpreting the negative numbers as huge positive numbers. This caused us to
always output buffers from the beginning after a seek instead of close to the
seek position.

Also add a case to the comparison function for equality.

8 years agomatroskamux: remove duplicate check
Luis de Bethencourt [Wed, 18 Nov 2015 16:01:48 +0000 (16:01 +0000)]
matroskamux: remove duplicate check

We want 1 or 2 streamheaders, the check  if (bufarr->len != 1 &&
bufarr->len != 2) is enough. Not need to check if bufarr->len is <= 0 or
> 255.

8 years agosouphttpclientsink: Fix error leak and handle error
Vineeth TM [Wed, 18 Nov 2015 05:48:36 +0000 (14:48 +0900)]
souphttpclientsink: Fix error leak and handle error

g_thread_try_new allows for possiblity of failures. In case it fails,
error is not handled and leaked.

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

8 years agortpgstdepay: Properly handle backward compat for event deserialization
Josep Torra [Mon, 16 Nov 2015 01:16:29 +0000 (17:16 -0800)]
rtpgstdepay: Properly handle backward compat for event deserialization

Actual code is checking for a NULL terminator and a ';' terminator,
for backward compat, in a chained way that cause all events being rejected.
The proper condition is to reject the events when terminator isn't
in ['\0', ';'] set.

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

8 years agotests: rtp-payloading: Test for handling of custom events in rtpgst
Josep Torra [Mon, 16 Nov 2015 01:11:02 +0000 (17:11 -0800)]
tests: rtp-payloading: Test for handling of custom events in rtpgst

Add a simple test that checks proper serialization/deserialization
of custom events with rtpgstpay and rtpgstdepay.

8 years agovpxdec: Use threads on multi-core systems
Nicolas Dufresne [Mon, 16 Nov 2015 21:23:43 +0000 (16:23 -0500)]
vpxdec: Use threads on multi-core systems

This adds an automatic mode to the threads property of vpxdec in order to
use as many threads as there is CPU on the platform. This brings back
GStreamer VPX decoding performance closer to what is achieved by other
players, including Chromium.

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

8 years agoqtdemux: only send initial gaps for non-fragmented streams
Thiago Santos [Mon, 16 Nov 2015 13:58:32 +0000 (10:58 -0300)]
qtdemux: only send initial gaps for non-fragmented streams

It would be unusual to have the header segment with an 'edts' atom
indicating gaps at the beginning when handling fragmented streams.

The header usually doesn't contain any timestamping information, this
should come from the playlist/manifest and the segments with media
in those scenarios.

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

8 years agoRevert "Revert "qtdemux: respect qt segments in push-mode for empty starts""
Thiago Santos [Tue, 17 Nov 2015 12:41:34 +0000 (09:41 -0300)]
Revert "Revert "qtdemux: respect qt segments in push-mode for empty starts""

This reverts commit d842ff288a9d01214a046becbfd9cbff3a4acea0.

This was reverted by accident

8 years agoudpsrc: Add "loop" property for enabling/disabling multicast loopback
Sebastian Dröge [Tue, 17 Nov 2015 10:39:05 +0000 (12:39 +0200)]
udpsrc: Add "loop" property for enabling/disabling multicast loopback

On POSIX, IP_MULTICAST_LOOP is a setting for the sender socket. On Windows it
is a setting for the receiver socket. As such we will need it on udpsrc too to
allow filtering out our own multicast packets.

8 years agoRevert "qtdemux: respect qt segments in push-mode for empty starts"
Sebastian Dröge [Mon, 16 Nov 2015 11:52:05 +0000 (13:52 +0200)]
Revert "qtdemux: respect qt segments in push-mode for empty starts"

This reverts commit 142d8e2d23e5602e7382977af1043d621625f8c8.

8 years agoqtdemux: Fix string memory leak
Vineeth TM [Mon, 16 Nov 2015 07:56:04 +0000 (16:56 +0900)]
qtdemux: Fix string memory leak

The string got using g_strdup_printf will be allocated memory
and should be freed after use.

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

8 years agov4l2/object: remove unnecessary NULL check before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 05:51:11 +0000 (21:51 -0800)]
v4l2/object: remove unnecessary NULL check before g_free()

8 years agoosssrc: remove unnecessary NULL check before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 05:45:29 +0000 (21:45 -0800)]
osssrc: remove unnecessary NULL check before g_free()

8 years agosunaudiosrc: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 05:43:24 +0000 (21:43 -0800)]
sunaudiosrc: remove unnecessary NULL checks before g_free()

8 years agowavparse: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 05:36:30 +0000 (21:36 -0800)]
wavparse: remove unnecessary NULL checks before g_free()

8 years agomatroskamux: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 05:31:08 +0000 (21:31 -0800)]
matroskamux: remove unnecessary NULL checks before g_free()

8 years agomatroska/read-common: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 05:26:21 +0000 (21:26 -0800)]
matroska/read-common: remove unnecessary NULL checks before g_free()

8 years agoisomp4/atoms: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:43:10 +0000 (20:43 -0800)]
isomp4/atoms: remove unnecessary NULL checks before g_free()

8 years agortp/theorapay: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:35:54 +0000 (20:35 -0800)]
rtp/theorapay: remove unnecessary NULL checks before g_free()

8 years agortp/vorbispay: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:33:54 +0000 (20:33 -0800)]
rtp/vorbispay: remove unnecessary NULL checks before g_free()

8 years agortp/jpegpay: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:31:34 +0000 (20:31 -0800)]
rtp/jpegpay: remove unnecessary NULL checks before g_free()

8 years agortpgstpay: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:27:04 +0000 (20:27 -0800)]
rtpgstpay: remove unnecessary NULL checks before g_free()

8 years agortspsrc: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:22:09 +0000 (20:22 -0800)]
rtspsrc: remove unnecessary NULL checks before g_free()

8 years agoflxdec: remove unnecessary NULL check before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:14:25 +0000 (20:14 -0800)]
flxdec: remove unnecessary NULL check before g_free()

8 years agoeffectv/optv: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:09:54 +0000 (20:09 -0800)]
effectv/optv: remove unnecessary NULL checks before g_free()

8 years agoeffectv/shagadelictv: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:05:03 +0000 (20:05 -0800)]
effectv/shagadelictv: remove unnecessary NULL checks before g_free()

8 years agoeffectv/ripple: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 04:01:43 +0000 (20:01 -0800)]
effectv/ripple: remove unnecessary NULL checks before g_free()

8 years agoeffectv/radioac: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 03:56:57 +0000 (19:56 -0800)]
effectv/radioac: remove unnecessary NULL checks before g_free()

8 years agoeffectv/streak: remove unnecessary NULL check before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 03:52:12 +0000 (19:52 -0800)]
effectv/streak: remove unnecessary NULL check before g_free()

8 years agoshout2: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 01:04:55 +0000 (17:04 -0800)]
shout2: remove unnecessary NULL checks before g_free()

8 years agovp9enc: remove unnecessary NULL check before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 00:57:13 +0000 (16:57 -0800)]
vp9enc: remove unnecessary NULL check before g_free()

8 years agovp8enc: remove unnecessary NULL check before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 00:54:42 +0000 (16:54 -0800)]
vp8enc: remove unnecessary NULL check before g_free()

8 years agosouphttpsrc: remove unnecessary NULL checks before g_free()
Reynaldo H. Verdejo Pinochet [Sun, 15 Nov 2015 00:20:33 +0000 (16:20 -0800)]
souphttpsrc: remove unnecessary NULL checks before g_free()

8 years agov4l2object: add support of NV16, NV61 and NV24 formats
Aurélien Zanelli [Fri, 13 Nov 2015 12:34:02 +0000 (13:34 +0100)]
v4l2object: add support of NV16, NV61 and NV24 formats

Mapped respectively to V4L2_PIX_FMT_NV16/V4L2_PIX_FMT_NV16M,
V4L2_PIX_FMT_NV61,V4L2_PIX_FMT_NV61M and V4L2_PIX_FMT_NV24 v4l2 formats.

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

9 years agosplitmuxpartreader: Fix GCond leak
Vineeth TM [Wed, 11 Nov 2015 05:10:53 +0000 (14:10 +0900)]
splitmuxpartreader: Fix GCond leak

inactive_cond is not being cleared resulting in memory leak.

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

9 years agojpegdec: fix output state memory leak
Vineeth TM [Thu, 6 Aug 2015 03:44:20 +0000 (12:44 +0900)]
jpegdec: fix output state memory leak

When jpeg_finish_decompress is called, output state reference is being created.
But if there is any failures in finishing decompress, it jumps to setjmp,
and at that point state was not referenced. Resulting in leak of output state.
Hence adding another setjmp after output state is referenced.
Similarly adding another setjmp to unmap the frame in case error happens before
finish_decompress

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

9 years agoqtdemux: respect qt segments in push-mode for empty starts
Thiago Santos [Mon, 10 Aug 2015 14:23:45 +0000 (11:23 -0300)]
qtdemux: respect qt segments in push-mode for empty starts

In push-mode it is hard to support qt segments overall but it is
possible to support when the file isn't heavily edited but just contain
a segment to indicate a gap at the beginning. This also allows properly
timestamping data that has negative DTS in push-mode.

It is relevant to support those for 2 scenarios:

1) fragmented streaming
2) HTTP playback of 'regular' mp4

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

9 years agopulse: Don't leak caps and structures in the device provider
Nirbheek Chauhan [Thu, 5 Nov 2015 13:09:33 +0000 (18:39 +0530)]
pulse: Don't leak caps and structures in the device provider

9 years agortpmanager: Document properties that are expressed in bits per second
Arun Raghavan [Wed, 4 Nov 2015 13:31:20 +0000 (19:01 +0530)]
rtpmanager: Document properties that are expressed in bits per second

This changed in 928cd110bcea5d143cab3ea747991851d52ecbad and
73c0c2920f9aca96982a4de0c20b3417aa148b81 but was not documented.

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

9 years agortpmanager: Trivial gst-indent fixes
Arun Raghavan [Wed, 4 Nov 2015 13:21:32 +0000 (18:51 +0530)]
rtpmanager: Trivial gst-indent fixes

9 years agoqtdemux: support for cenc auxiliary info parsing outside of moof box
Philippe Normand [Wed, 12 Aug 2015 11:35:40 +0000 (13:35 +0200)]
qtdemux: support for cenc auxiliary info parsing outside of moof box

When the cenc aux info index is out of moof boundaries, keep track of
it and parse the beginning of the mdat box, before the first sample.

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

9 years agomatroskademux: Use codecutils helpers for creating Opus caps
Sebastian Dröge [Tue, 3 Nov 2015 18:33:10 +0000 (20:33 +0200)]
matroskademux: Use codecutils helpers for creating Opus caps

Also fix up codec data with values from the container.

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

9 years agomatroskademux: There is no multistream field for Opus anymore
Sebastian Dröge [Tue, 3 Nov 2015 12:51:48 +0000 (14:51 +0200)]
matroskademux: There is no multistream field for Opus anymore

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

9 years agomatroska/webmmux: Support Opus in webmmux and VP9 in matroskamux
Sebastian Dröge [Tue, 3 Nov 2015 10:42:52 +0000 (12:42 +0200)]
matroska/webmmux: Support Opus in webmmux and VP9 in matroskamux

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

9 years agomatroskademux: Parse and handle CodecDelay, SeekPreroll and DiscardPadding
Sebastian Dröge [Tue, 3 Nov 2015 10:40:15 +0000 (12:40 +0200)]
matroskademux: Parse and handle CodecDelay, SeekPreroll and DiscardPadding

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

9 years agomatroskamux: Write CodecDelay, DiscardPadding and SeekPreroll for Opus
Sebastian Dröge [Tue, 3 Nov 2015 10:18:19 +0000 (12:18 +0200)]
matroskamux: Write CodecDelay, DiscardPadding and SeekPreroll for Opus

And also adjust timestamps and durations according to the codec delay, both
should include it for whatever reason.

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

9 years agomatroskamux: Opus headers are not in-band
Sebastian Dröge [Tue, 3 Nov 2015 09:49:54 +0000 (11:49 +0200)]
matroskamux: Opus headers are not in-band

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

9 years agov4l2: Set O_CLOEXEC on the device fd
Arun Raghavan [Tue, 3 Nov 2015 16:31:07 +0000 (22:01 +0530)]
v4l2: Set O_CLOEXEC on the device fd

This is needed to make sure that child processes don't inherit the video
device fd which can cause problems with some drivers.

9 years agortpmanager: switch G_GINT64_FORMAT for GST_STIME_ARGS
Luis de Bethencourt [Tue, 3 Nov 2015 14:46:30 +0000 (14:46 +0000)]
rtpmanager: switch G_GINT64_FORMAT for GST_STIME_ARGS

No need to use G_GINT64_FORMAT for potentially negative values of
GstClockTimeDiff. Since 1.6 these can be handled with GST_STIME_ARGS.
Plus it creates more readable values in the logs.

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

9 years agortpmanager: use GST_STIME_ARGS for GstClockTimeDiff
Luis de Bethencourt [Tue, 3 Nov 2015 14:26:29 +0000 (14:26 +0000)]
rtpmanager: use GST_STIME_ARGS for GstClockTimeDiff

No need to manually handle negative values of diff, GST_STIME_ARGS does
exactly this.