Tim-Philipp Müller [Thu, 15 Feb 2018 13:32:20 +0000 (13:32 +0000)]
po: update translations
Patrick Radizi [Wed, 14 Feb 2018 15:38:07 +0000 (16:38 +0100)]
rtpjitterbuffer: allow timestamps to move backwards
The original solution for #784002 incorrectly assumed that timestamps
may not move backwards and changed timestamps that did so.
https://bugzilla.gnome.org/show_bug.cgi?id=784002
Tim-Philipp Müller [Thu, 15 Feb 2018 00:58:38 +0000 (00:58 +0000)]
docs: remove pointless Since: 0.10.x markers
Alban Bedel [Wed, 27 Sep 2017 14:01:35 +0000 (16:01 +0200)]
rtpvorbisdepay: fix unbounded memory usage
All received configurations are parsed and added to a list, this lead
to an unbounded memory usage. As the configuration is resent every
second this quickly lead to a large memory usage.
Add a check to only add the config if it is not already available in
the list. This fix only handle the typical case of a well behaved
stream, a malicious server could still send many useless
configurations to raise the client memory usage.
Tim-Philipp Müller [Mon, 12 Feb 2018 18:41:41 +0000 (18:41 +0000)]
docs: add qt plugin
https://bugzilla.gnome.org/show_bug.cgi?id=754094
Tim-Philipp Müller [Mon, 12 Feb 2018 18:34:16 +0000 (18:34 +0000)]
qt: hook up to build
https://bugzilla.gnome.org/show_bug.cgi?id=754094
Tim-Philipp Müller [Mon, 12 Feb 2018 18:13:17 +0000 (18:13 +0000)]
Move qt plugin from -bad
https://bugzilla.gnome.org/show_bug.cgi?id=754094
Tim-Philipp Müller [Mon, 12 Feb 2018 15:44:35 +0000 (15:44 +0000)]
configure: fix build with --disable-external
Tim-Philipp Müller [Sat, 10 Feb 2018 20:31:49 +0000 (20:31 +0000)]
docs: add moved gtk plugin to docs
Tim-Philipp Müller [Sat, 10 Feb 2018 20:28:46 +0000 (20:28 +0000)]
docs: update for git master
Tim-Philipp Müller [Mon, 12 Feb 2018 11:02:12 +0000 (11:02 +0000)]
gtk: hook up to meson build
Tim-Philipp Müller [Sat, 10 Feb 2018 13:20:43 +0000 (13:20 +0000)]
gtk: hook up to autotools build
Tim-Philipp Müller [Sat, 10 Feb 2018 12:49:36 +0000 (12:49 +0000)]
Move gtk plugin from -bad
https://bugzilla.gnome.org/show_bug.cgi?id=754094
Edward Hervey [Fri, 9 Feb 2018 10:26:56 +0000 (11:26 +0100)]
qtdemux: Fix comment typo in previous commit
Edward Hervey [Fri, 9 Feb 2018 10:20:38 +0000 (11:20 +0100)]
qtdemux: More 'meta' atom parsing fixes
Turns out everybody is doing it their own way, so peek into the
meta atom itself to figure out which spec it is following
Sebastian Dröge [Fri, 2 Feb 2018 11:51:49 +0000 (13:51 +0200)]
qtmux: Add support for muxing svmi atom for stereoscopic video information
https://bugzilla.gnome.org/show_bug.cgi?id=793120
Edward Hervey [Fri, 9 Feb 2018 07:59:56 +0000 (08:59 +0100)]
qtdemux: Minor cleanup
Just move variables to the blocks where they are used.
That function is massive, could do with some splitting up for
readability :(
Edward Hervey [Fri, 9 Feb 2018 07:54:05 +0000 (08:54 +0100)]
qtdemux: Cope with difference between QTFF and ISO BMFF specs
The 'meta' atom is defined differently in QTFF and BMFF, so try
to guess which spec the current stream applies to by looking
at the major file type.
Edward Hervey [Fri, 9 Feb 2018 07:35:52 +0000 (08:35 +0100)]
isomp4: Make 'hdlr' atom dump more flexible
The smallest possible is 24 (and not 25) bytes.
The last "name" field can according to QTFF specifications not be present
at all. The parser will handle this fine and so will the rest of
the qtdemux code.
Edward Hervey [Fri, 9 Feb 2018 07:35:25 +0000 (08:35 +0100)]
Update ORC files
Tim-Philipp Müller [Thu, 8 Feb 2018 19:09:45 +0000 (19:09 +0000)]
meson: make version numbers ints and fix int/string comparison
WARNING: Trying to compare values of different types (str, int).
The result of this is undefined and will become a hard error
in a future Meson release.
Jérôme Laheurte [Sun, 1 Oct 2017 16:21:26 +0000 (18:21 +0200)]
osxvideosink: fix build on macOS versions < 12.0
Use value instead of version macro when testing for mac OS version,
since the define for the newer version may not be defined when
compiling against older versions.
https://bugzilla.gnome.org/show_bug.cgi?id=788402
Matthew Waters [Wed, 7 Feb 2018 09:15:00 +0000 (20:15 +1100)]
qt: don't #include platform specific gstglcontext_*.h headers
They aren't public headers
Tim-Philipp Müller [Sun, 4 Feb 2018 10:47:05 +0000 (11:47 +0100)]
autotools: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
Justin Kim [Mon, 4 Dec 2017 11:12:40 +0000 (20:12 +0900)]
qtmux: send stream warning when refusing video caps
If codec_data is changed, the stream is no longer valid.
Rather than keeping running when refusing new caps,
this patch send a warning to the bus.
Also fix up splitmuxsink to ignore this warning while changing caps.
https://bugzilla.gnome.org/show_bug.cgi?id=790000
Justin Kim [Wed, 29 Nov 2017 12:30:11 +0000 (21:30 +0900)]
rtph264depay: update output caps regardless format
`codec_data` should be transfered if any information of
SPS/PPS is changed.
https://bugzilla.gnome.org/show_bug.cgi?id=790000
Edward Hervey [Wed, 31 Jan 2018 18:11:16 +0000 (19:11 +0100)]
isomp4: Add gmhd/gmin debugging
* gmhd is a container, mark it as such so we can see/dump
what is contained within
* Add dumping for the Base Media Information atom (gmin)
Matthieu Crapet [Wed, 23 Sep 2015 08:01:32 +0000 (10:01 +0200)]
jpegenc: add snapshot property
Like pngenc, automatically send an EOS message.
Example of bin:
appsrc ! jpegenc snapshot=true ! filesink location=out.jpg
This is especially useful for limited/slow hardware.
Otherwise calling gst_video_convert_sample() is a better option
(internally uses videoconvert and videoscale).
https://bugzilla.gnome.org/show_bug.cgi?id=755453
Philippe Normand [Wed, 31 Jan 2018 15:02:50 +0000 (15:02 +0000)]
interleave: fix memory leak of GAP buffers
https://bugzilla.gnome.org/show_bug.cgi?id=793067
Edward Hervey [Wed, 31 Jan 2018 10:38:35 +0000 (11:38 +0100)]
qtdemux_dump: Demote verbose logging to TRACE level
Edward Hervey [Wed, 31 Jan 2018 10:22:23 +0000 (11:22 +0100)]
qtdemux: Re-enable full debug logging of stsz entries
No idea why it was disabled (was the case since 2007)
Tim-Philipp Müller [Tue, 30 Jan 2018 20:34:32 +0000 (20:34 +0000)]
meson: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
Seungha Yang [Mon, 11 Dec 2017 15:14:02 +0000 (00:14 +0900)]
qtdemux: Remove white space at end of line
https://bugzilla.gnome.org/show_bug.cgi?id=791483
Seungha Yang [Mon, 11 Dec 2017 15:11:24 +0000 (00:11 +0900)]
qtdemux: Apply qtdemux debug category to gstisoff
.. instead of the use of default debug category.
And, make new header to declare the debug category
https://bugzilla.gnome.org/show_bug.cgi?id=791483
Tim-Philipp Müller [Thu, 25 Jan 2018 00:46:57 +0000 (00:46 +0000)]
splitmuxsrc: properly set total duration on outgoing segment
We would accidentally pass through the duration value from the
demuxer from a single fragment, which causes problems when
feeding the stream from splitmuxsrc to rtsp-server. Streaming
would stop after one fragment due to that.
https://bugzilla.gnome.org/show_bug.cgi?id=792861
Tim-Philipp Müller [Thu, 25 Jan 2018 00:42:52 +0000 (00:42 +0000)]
splitmuxsrc: don't respond to duration query with CLOCK_TIME_NONE
total_duration is initialised to CLOCK_TIME_NONE, not 0, so check
for that as well in order not to return an invalid duration to
a duration query. Doesn't fix anything particular observed in
practice, just seemed inconsistent.
Alicia Boya García [Thu, 25 Jan 2018 19:48:42 +0000 (20:48 +0100)]
qtdemux: Add more prose to the comment of gst_qtdemux_find_sample()
https://bugzilla.gnome.org/show_bug.cgi?id=792910
Oleksij Rempel [Wed, 9 Feb 2011 12:48:00 +0000 (12:48 +0000)]
vpx: add VP8_DEBUG_TXT_* flags for postprocessing
https://bugzilla.gnome.org/show_bug.cgi?id=641399
Sebastian Dröge [Thu, 25 Jan 2018 19:22:10 +0000 (21:22 +0200)]
directsoundsink: Add missing \ in multi-line #define
Sebastian Dröge [Mon, 22 Jan 2018 13:07:38 +0000 (15:07 +0200)]
directsoundsink: Add support for a DeviceProvider
https://bugzilla.gnome.org/show_bug.cgi?id=792782
Tim-Philipp Müller [Tue, 23 Jan 2018 18:37:09 +0000 (18:37 +0000)]
multifilesrc: fix up uri handler a little
Fix path escaping when creating URI from location in get_uri().
Return FALSE with an error when URI can't be parsed in set_uri().
https://bugzilla.gnome.org/show_bug.cgi?id=783581
Dimitrios Katsaros [Thu, 15 Jun 2017 11:37:28 +0000 (13:37 +0200)]
multifilesrc: implement uri handler
With this patch we can now provide a set of files
created by multifilesink as a source for uri elements.
e.g. gst-launch-1.0 playbin uri=multifile://img%25d.ppm
Note that for the %d pattern you need to replace % with %25.
This is to be compliant with URL naming standards.
https://bugzilla.gnome.org/show_bug.cgi?id=783581
Vivia Nikolaidou [Fri, 19 Jan 2018 13:05:26 +0000 (15:05 +0200)]
qtmux: Make sure timecode uses the same timescale as video
Don't blindly derive it from the frame rate, but try to get the per-pad
configured timescale first (if it exists)
https://bugzilla.gnome.org/show_bug.cgi?id=792680
Sebastian Dröge [Thu, 18 Jan 2018 16:36:27 +0000 (18:36 +0200)]
qtmux: Allow configuring trak timescale per pad/trak
It generally makes not much sense to configure it for all pads/traks at
once as this value is usually different for each of them. As such, add a
new property on the pads in addition to the existing property on the
whole muxer.
https://bugzilla.gnome.org/show_bug.cgi?id=792649
Tim-Philipp Müller [Tue, 23 Jan 2018 09:46:32 +0000 (09:46 +0000)]
Update for renamed aggregator pad API
https://bugzilla.gnome.org/show_bug.cgi?id=791204
Sebastian Dröge [Mon, 22 Jan 2018 10:24:18 +0000 (12:24 +0200)]
rtspsrc: Fix up sendonly/recvonly attribute handling
We can't handle recvonly streams, sendonly streams are perfectly fine.
The direction is the one from the point of view of the SDP offerer
(i.e. the RTSP server), and a recvonly stream would be one where the
server expects us to send media.
RFC 3264, section 5.1:
If the offerer wishes to only send media on a stream to its peer, it
MUST mark the stream as sendonly with the "a=sendonly" attribute.
This is mixed up in the ONVIF streaming specification examples, but
actual implementations and conformance tools seem to not care at all
about the attributes.
https://bugzilla.gnome.org/show_bug.cgi?id=792376
paul.kim [Sat, 11 Nov 2017 04:49:22 +0000 (13:49 +0900)]
souphttpsrc: Reset retry_count to 0 when GST_FLOW_FLUSHING
If a lot of seek method is called very quickly, sometimes data reading
and do_request occurs while seek flush event is occurring and error
occurs because retry_count
reaches to the max. Thus, reset retry_count if flush occurs after
do_request and read_buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=790199
Jan Alexander Steffens (heftig) [Thu, 18 Jan 2018 14:09:04 +0000 (15:09 +0100)]
tests: aacparser: Test that short raw frames don't get concatenated
https://bugzilla.gnome.org/show_bug.cgi?id=792644
Jan Alexander Steffens (heftig) [Thu, 18 Jan 2018 13:23:07 +0000 (14:23 +0100)]
aacparse: When parsing raw input, accept frames of any size
Raw AAC streams might have very small frames, e.g. 6 byte frames
when encoding silence. These frames are then smaller than aacparse's
default min_frame_size of 10 bytes (ADTS_MAX_SIZE).
When passthrough is disabled or aacparse has to output ADTS, GstBaseParse
will concatenate these short frames to the following frame before
handling them to aacparse, which processes each input buffer as a single
frame, producing bad output.
To avoid this problem, set the min_frame_size to 1 when receiving a raw
stream.
https://bugzilla.gnome.org/show_bug.cgi?id=792644
Adrián Pardini [Wed, 3 May 2017 00:24:06 +0000 (21:24 -0300)]
shout2send: print actual username in debug log out
https://bugzilla.gnome.org/show_bug.cgi?id=782093
Mathieu Duponchelle [Mon, 15 Jan 2018 17:13:37 +0000 (18:13 +0100)]
rtpbin: fix leak of elements requested by signals
When the signal returns a floating reference, as its return type
is transfer full, we need to sink it ourselves before passing
it to gst_bin_add (which is transfer floating).
This allows us to unref it in bin_remove_element later on, and
thus to also release the reference we now own if the signal
returns a non-floating reference as well.
As we now still hold a reference to the element when removing it,
we also need to lock its state and setting it to NULL before
unreffing it
Also update the request_aux_sender test.
https://bugzilla.gnome.org/show_bug.cgi?id=792543
Guillaume Desmottes [Wed, 17 Jan 2018 10:10:37 +0000 (11:10 +0100)]
v4l2: fix division by 0 for complex video formats
So complex video formats have 0 as pstride. Don't try to divide the
stride in such cases.
https://bugzilla.gnome.org/show_bug.cgi?id=792596
Guillaume Desmottes [Wed, 17 Jan 2018 10:08:25 +0000 (11:08 +0100)]
v4l2: display stride and width values if stride is too small
https://bugzilla.gnome.org/show_bug.cgi?id=792596
Tim-Philipp Müller [Tue, 16 Jan 2018 13:19:29 +0000 (13:19 +0000)]
multifilesink: document unit of "max-file-duration" property
Florent Thiéry [Fri, 12 Jan 2018 11:21:37 +0000 (12:21 +0100)]
udpsrc: fix typo in documentation
https://bugzilla.gnome.org/show_bug.cgi?id=792458
Peter Seiderer [Fri, 12 Jan 2018 08:53:37 +0000 (09:53 +0100)]
v4l2videodec: add property set/get PROP_CAPTURE_IO_MODE error handling
https://bugzilla.gnome.org/show_bug.cgi?id=791841
Peter Seiderer [Fri, 12 Jan 2018 08:46:30 +0000 (09:46 +0100)]
v4l2videodec: fold property set/get PROP_OUTPUT_IO_MODE case into default
https://bugzilla.gnome.org/show_bug.cgi?id=791841
Peter Seiderer [Fri, 12 Jan 2018 08:49:14 +0000 (09:49 +0100)]
v4l2videoenc: add property set/get PROP_CAPTURE_IO_MODE error handling
https://bugzilla.gnome.org/show_bug.cgi?id=791841
Peter Seiderer [Fri, 12 Jan 2018 08:44:03 +0000 (09:44 +0100)]
v4l2videoenc: fold property set/get PROP_OUTPUT_IO_MODE case into default
https://bugzilla.gnome.org/show_bug.cgi?id=791841
Peter Seiderer [Thu, 11 Jan 2018 09:44:18 +0000 (10:44 +0100)]
v4l2videoenc: fix capture-io-mode property get
https://bugzilla.gnome.org/show_bug.cgi?id=791841
Nicolas Dufresne [Thu, 11 Jan 2018 22:47:39 +0000 (17:47 -0500)]
v4l2src: Maintain downstream caps order
The g_list_insert_sorted() will behave like prepend when the compare
function returns 0. In our case, we want to maintain the order hence
append. This fixes this issue and improve the sorting algorithm to make
a 10x10 prefered over 10x200 with a preference of 10x8 (and similar
cases which was badly handled). This fixes generally fixes issue were a
sub-optimal format / size is picked.
https://bugzilla.gnome.org/show_bug.cgi?id=792435
Nicolas Dufresne [Fri, 22 Dec 2017 04:02:30 +0000 (23:02 -0500)]
v4l2videoenc: Also re-enabled paused task
When we only run _finish(), the task is never stopped externally,
instead it's only paused from the inside. We still want to restart
it in this case.
Mathieu Duponchelle [Mon, 8 Jan 2018 14:23:24 +0000 (15:23 +0100)]
flacdec: flush flac decoder on lost sync.
This to allow the decoder to start searching for a new
frame again.
https://bugzilla.gnome.org/show_bug.cgi?id=791473
Nicolas Dufresne [Fri, 22 Dec 2017 03:56:51 +0000 (22:56 -0500)]
v4l2videoenc: Call stop on object before renegotiation
Otherwise renegotiation fails as we are still streaming.
https://bugzilla.gnome.org/show_bug.cgi?id=791338
Nicolas Dufresne [Fri, 22 Dec 2017 03:55:49 +0000 (22:55 -0500)]
v4l2videoenc: Remove dead code
gst_v4l2_object_stop() will free and nullify the pool, so the
following if will never be true.
https://bugzilla.gnome.org/show_bug.cgi?id=791338
Nicolas Dufresne [Fri, 22 Dec 2017 03:29:06 +0000 (22:29 -0500)]
v4l2videoenc: Delay capture pool activation
This is support CODA driver which prevents setting the output format if
the capture is streaming.
https://bugzilla.gnome.org/show_bug.cgi?id=791338
Nicolas Dufresne [Wed, 13 Dec 2017 20:23:46 +0000 (20:23 +0000)]
v4l2videodec: Add dynamic resolution change support
This implements a "big hammer" reallocation method. We effectively
drain and stop both side of the decoder and restart. This though is
the most generic method. This change should enable on most drivers
adaptive streaming.
https://bugzilla.gnome.org/show_bug.cgi?id=752962
Tim-Philipp Müller [Sat, 30 Dec 2017 01:52:13 +0000 (01:52 +0000)]
meson: zlib is not actually a hard requirement
Ezequiel Garcia [Thu, 28 Sep 2017 21:00:38 +0000 (18:00 -0300)]
jpeg: Fixup frames without an EOI marker
Some cameras fail to send an end-of-image marker (EOI)
and can't be properly decoded by either JPEG or libjpeg.
This commit parses the frame, making sure it has an EOI.
If there isn't one, the EOI gets added to the buffer.
A similar fixup is done in the rtpjpegdepay element,
and it makes sense to do it in jpegdec as well.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
https://bugzilla.gnome.org/show_bug.cgi?id=791988
Tim-Philipp Müller [Tue, 26 Dec 2017 12:50:24 +0000 (13:50 +0100)]
meson: skip translations if gettext is not available
Tim-Philipp Müller [Sun, 24 Dec 2017 12:14:06 +0000 (13:14 +0100)]
docs: add rtpL8pay/depay to docs
Tim-Philipp Müller [Sun, 24 Dec 2017 12:11:00 +0000 (13:11 +0100)]
docs: update for recent changes
Tim Allen [Fri, 15 May 2015 16:00:26 +0000 (17:00 +0100)]
rtp: add L8 audio support
Mark Nauwelaerts [Sat, 23 Dec 2017 11:45:17 +0000 (12:45 +0100)]
udpsrc: fix typo in multicast join error message
Mark Nauwelaerts [Sat, 23 Dec 2017 11:44:31 +0000 (12:44 +0100)]
rtspsrc: also proxy multicast-iface property to RTCP udpsrc
Sebastian Rasmussen [Sun, 1 Nov 2015 23:41:28 +0000 (00:41 +0100)]
multiudpsink: don't try to set IPV6_TCLASS on IPV4 sockets
Avoids ERROR log message.
https://bugzilla.gnome.org/show_bug.cgi?id=757449
Sebastian Rasmussen [Sun, 1 Nov 2015 23:41:28 +0000 (00:41 +0100)]
tests: udpsink: add check that sets QoS on IPv4/6 sockets
https://bugzilla.gnome.org/show_bug.cgi?id=757449
Nicolas Dufresne [Fri, 22 Dec 2017 15:21:28 +0000 (10:21 -0500)]
v4l2deviceprovider: Don't do slow probes
This is problematic in the current design at it seriously slow down
startup of applications. As of now, no known application uses the
colorimetry and the interlace-modes for anything (the two fields that
won't be probed). So let's disable it, in the long term we'll try and
find a way to interact with the provider so applicaiton could opt-in
these slow probing methods for more advance configuration.
Nicolas Dufresne [Fri, 22 Dec 2017 15:15:48 +0000 (10:15 -0500)]
v4l2object: Don't redefine mmap64
On Linux, there exist a case where mmap64 is already a define to mmap,
so avoid the redefine warning here.
Ting-Wei Lan [Tue, 19 Dec 2017 09:37:58 +0000 (17:37 +0800)]
v4l2object: Don't use mmap64 if off_t is 64-bit
The difference between mmap and mmap64 is the type of 'offset' argument.
mmap64 always uses a 64-bit interger as offset, while mmap uses off_t,
whose size can vary on different operating systems or architectures.
However, not all operating systems support mmap64. Fortunately, although
FreeBSD only has mmap, its off_t is always 64-bit regardless of
architectures, so we can simply use mmap when sizeof(off_t) == 8.
https://bugzilla.gnome.org/show_bug.cgi?id=791779
Nicolas Dufresne [Fri, 22 Dec 2017 14:17:04 +0000 (09:17 -0500)]
Revert "v4l2object: Use mmap64 to match libv4l2 signature"
This reverts commit
b61bba48488c0a627d90f04cc9917d8c4f3f0d9b.
Ting-Wei Lan [Tue, 19 Dec 2017 09:37:58 +0000 (17:37 +0800)]
v4l2object: Check for mmap64 before using it
mmap64 is not available on FreeBSD.
https://bugzilla.gnome.org/show_bug.cgi?id=791779
Vincent Penquerc'h [Wed, 20 Dec 2017 20:23:26 +0000 (15:23 -0500)]
flv: flvmux ported to the GstAggregator
This makes it possible to create a flv file from a live source and not stop
when there are packet drops.
https://bugzilla.gnome.org/show_bug.cgi?id=782920
Olivier Crête [Tue, 19 Dec 2017 21:47:52 +0000 (16:47 -0500)]
multiudpsink: Call gst_base_sink_wait_preroll on unlock
This means that packets will not be lost on fast pause/playing cycles.
Also refactor the code a little to simplify it.
https://bugzilla.gnome.org/show_bug.cgi?id=774945
Olivier Crête [Tue, 19 Dec 2017 21:22:52 +0000 (16:22 -0500)]
gtk example: Fix cflags in Makefile.am
Olivier Crête [Tue, 19 Dec 2017 20:46:52 +0000 (15:46 -0500)]
multiudpsink: Remove unused variable
Tim-Philipp Müller [Tue, 19 Dec 2017 13:03:28 +0000 (13:03 +0000)]
gtk: don't include uninstalled header
Tim-Philipp Müller [Sun, 17 Dec 2017 20:54:06 +0000 (20:54 +0000)]
gl: update plugins to use GstGL from -base
Tim-Philipp Müller [Sun, 17 Dec 2017 20:54:06 +0000 (20:54 +0000)]
gl: update plugins to use GstGL from -base
Edward Hervey [Tue, 19 Dec 2017 10:57:52 +0000 (11:57 +0100)]
rtspsrc: Fix two leaks
* gst_event_new_stream_start() does not take ownership of the stream_id
* the pipeline_request_id string that is created was not being freed
Nicolas Dufresne [Fri, 8 Dec 2017 03:08:42 +0000 (22:08 -0500)]
videocrop: Add GstVideoCropMeta support
If downstream supports this meta, it will add or update it from
the GstBuffer in-place rather then copying.
https://bugzilla.gnome.org/show_bug.cgi?id=791453
Sean DuBois [Wed, 13 Dec 2017 09:22:17 +0000 (09:22 +0000)]
Add AV1 to matroska plugin
https://bugzilla.gnome.org/show_bug.cgi?id=784160
fengalin [Fri, 15 Dec 2017 13:48:09 +0000 (14:48 +0100)]
matroska: fix memory leaks due to toc related updates
https://bugzilla.gnome.org/show_bug.cgi?id=790686
Sebastian Dröge [Fri, 15 Dec 2017 09:40:13 +0000 (11:40 +0200)]
matroskamux: Fix various memory leaks in the unit test
https://bugzilla.gnome.org/show_bug.cgi?id=790686
fengalin [Thu, 14 Dec 2017 18:05:36 +0000 (19:05 +0100)]
matroska-mux: migrate test to gst_harness
... following the guide lines from Håvard Graff (see https://gstconf.ubicast.tv/videos/moar-better-tests/).
https://bugzilla.gnome.org/show_bug.cgi?id=790686
fengalin [Fri, 1 Dec 2017 17:17:06 +0000 (18:17 +0100)]
matroska: re-activate and update TOC support
TOC support in mastroskamux has been deactivated for a couple of years. This commit updates it to recent GstToc evolutions and introduces toc unit tests for both matroska-mux and matroska-demux.
There are two UIDs for Chapters in Matroska's specifications:
- The ChapterUID is a mandatory unsigned integer which internally refers to a given chapter. Except for title & language which use dedicated fields, this UID can also be used to add tags to the Chapter. The tags come in a separate section of the container.
- The ChapterStringUID is an optional UTF-8 string which also uniquely refers to a chapter but from an external perspective. It can act as a "WebVTT cue identifier" which "can be used to reference a specific cue, for example from script or CSS".
During muxing, the ChapterUID is generated and checked for unicity, while the ChapterStringUID receives the user defined UID. In order to be able to refer to chapters from the tags section, we maintain an internal Toc tree with the generated ChapterUID.
When demuxing, the ChapterStringUIDs (if available) are assigned to the GstTocEntries UIDs and an internal toc mimicking the toc is used to keep track of the ChapterUIDs and match the tags with the appropriate GstTocEntries.
https://bugzilla.gnome.org/show_bug.cgi?id=790686
Sebastian Dröge [Thu, 14 Dec 2017 16:28:00 +0000 (18:28 +0200)]
v4l2src: Fix compiler error in example caused by re-declaring `index`
../tests/examples/v4l2/v4l2src-renegotiate.c:57:13: error: ‘index’ redeclared as different kind of symbol
static gint index = 0;
^
Matthew Waters [Thu, 14 Dec 2017 03:49:01 +0000 (14:49 +1100)]
Automatic update of common submodule
From e8c7a71 to 3fa2c9e
Nicolas Dufresne [Wed, 13 Dec 2017 19:39:47 +0000 (14:39 -0500)]
v4l2object: Use a debug object for tracing
This way we can pass the pad name instead of the element for tracing
which helps identifying which v4l2object is used withing M2M element
like decoder, encoder and transform. For the reference, pads are name
<parent-name>:<pad-name>.
Edward Hervey [Wed, 13 Dec 2017 11:06:21 +0000 (12:06 +0100)]
qtdemux: Push a GAP event if there's a second *or more*
And not "more than a second"